// JavaScript Document
//Display widt
var boxWidth = 250;

//Add tooltip message box and its cover
document.write("<span id='msgBox2' style='display:none;z-index:1602;PADDING-TOP:2px;PADDING-BOTTOM:2px;PADDING-RIGHT:2px;PADDING-LEFT:2px;BORDER:1px solid #333333;background-color:#ffffff;position:absolute;'><div id='msgBoxInner2' class='notbold' onclick='hideHoverInfo2();'>&nbsp;</div><div style='font-size:11px;font-face:tahoma;' align=right><a href='JavaScript:hideHoverInfo2()'>Close [X]</a></div></span>");
	
//catch objects
var	activeMsgBox2 = document.getElementById("msgBox2");
var innerMsgBox2 = document.getElementById("msgBoxInner2");

//show more custom message box
function showHoverInfo2(message,width,left,top,hideOnClick)
{
	if (message == null || message.length == 0)
		return;
	
	innerMsgBox2.innerHTML = message;
	if (hideOnClick)
	{
		innerMsgBox2.setAttribute("onclick","");
	}
	
	if (width != null)
	{
		activeMsgBox2.style.width = boxWidth = width;
	}
	//alert("mY: " + mY);
	//alert("scrollTop: " + document.body.scrollTop);
	//prepare message box
	activeMsgBox2.style.position = "absolute";
	activeMsgBox2.style.left		= (left != null ? left : (document.body.clientWidth < (mX + boxWidth + 20) ? mX-boxWidth : mX));
	activeMsgBox2.style.top		= (top != null ? top : mY + 5);
	activeMsgBox2.style.display	= "block";
}

//hide message box & its cover
function hideHoverInfo2()
{
	activeMsgBox2.style.display	= "none";
}