
var absStr = "Position:Absolute;Top:0;Left:0";
var yOff = 140; // use this to position the message in the vertical axis
var xOff = -50; // use this to position the message in the horizontal axis

function isNext(fName){

	window.location = fName;

}

function stayHome(){

iL = document.body.scrollLeft;
iV = document.body.scrollTop;
mX = event.screenX-xOff+iL;
mY = event.screenY-yOff+iV;
if (isFloat != null) {
	isFloat.style.left = mX;
	isFloat.style.top = mY;
	}
}


function insertFloatIMG(){

styleStr = "<Style>.msgFloat {"+absStr+";Border-Style:Solid;Border-Width:1px;Background-Color:#FFFF99;Padding-Right:5px;Padding-Left:5px;Padding-Top:3px;Padding-Bottom:3px;Font-family:Tahoma;Font-Size:9pt;Line-Height:14px;width:225px;}</Style>";

divStr = "<DIV class=msgFloat id=isFloat>Null</DIV>"

document.write(styleStr);
document.write(divStr);
}

function hideMessage(){

isFloat.style.visibility = 'hidden';
}

function showMessage(toolTip){

if (toolTip!="") {
	if (isFloat != null) {
		isFloat.style.visibility = 'visible';
		isFloat.innerHTML = toolTip;
		}
	}
	
}

function initToolTip(){

insertFloatIMG();
hideMessage();

document.onmousemove = stayHome;
window.onscroll = stayHome;

}
