// COPYRIGHT McGraw-Hill Ryerson Ltd 2008
// webmaster@mcgrawhill.ca
function showtip(windowEvent,message){
	var xCoord=0;
	var yCoord=0;
	var msgDiv;
	var windowWidth;
	var windowHeight;

	if(!windowEvent) var windowEvent=window.event;

	if(windowEvent.pageX||windowEvent.pageY){
		// firefox
		xCoord=windowEvent.pageX;
		yCoord=windowEvent.pageY;
		windowWidth = window.innerWidth;
		windowHeight = window.innerHeight;
	} else if(windowEvent.clientX||windowEvent.clientY){
		// IE
		xCoord=windowEvent.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;
		yCoord=windowEvent.clientY+document.body.scrollTop+document.documentElement.scrollTop;
		windowWidth = document.documentElement.clientWidth;
		windowHeight = document.documentElement.clientHeight;
	}
	
	msgDiv=document.getElementById('tooltipmsg');


	msgDiv.style.left=xCoord+35+"px";
	
	msgDiv.style.top=yCoord+10+"px";
	

	msgDiv.innerHTML=message;
	msgDiv.style.display="block";
	msgDiv.style.zIndex=10000;

}

function hidetip(){
	var msgDiv;
	msgDiv=document.getElementById('tooltipmsg');
	msgDiv.style.display="none";
}