
onImage=false;
toolTipMsg = '';

function changeToolMsg(Mid){
	toolTipMsg = Mid;		
}


function showToolTip(){
	if(onImage){
		document.all.tooltipDiv.style.top = window.event.y+20;
		document.all.tooltipDiv.style.left = window.event.x-10;	
		setTimeout("document.all.toolText.innerHTML = toolTipMsg;",0.01);
		document.all.tooltipDiv.style.visibility='visible';
	}
}

function hideToolTip(){
	onImage=false;
	changeToolMsg(-1);
	document.all.tooltipDiv.style.visibility='hidden';

}
function checkToolTip(){
	if(onImage){
		showToolTip();
	}
	else{
		onImage=false;
	}
}
