/*
 *Modified: April 4th, 2008, 16:26
 *Description:  This script creates pop-ups onMouseOver and hides popups on OnMouseOut events of a specfied object
 *You must have this line or something similar at the top of the document:
 *<div id="popup"  style="display:none; position:absolute; z-index:200; border:thin #999999 solid; background:#FFFFCC fixed; width:200px;"></div>
*/

function display_popup(parameter_text, width){
	
	var popup_object = document.getElementById("popup");

	popup_object.style.width=width+"px";
	popup_object.innerHTML="<table width='100%' cellpadding='1' border='0'><tr><td align='center' nowrap='nowrap'><span class='Text_Black_12'>" + parameter_text+"</span></td></tr></table>";
	popup_object.style.display = "block";
}
document.onmousemove = move_object

function move_object(e){
 var popup_object = document.getElementById("popup");

	if(!e){
		e = window.event;
		try{
			
			 popup_object.style.top = document.body.scrollTop + e.clientY + 20;
			 popup_object.style.left= document.body.scrollLeft + e.clientX - 85;
			
		}
		catch (err){
	
		}
	}
	else 
		if(e){
	
		try{
			popup_object.style.top =e.pageY + 20 +"px" ;
			popup_object.style.left =e.pageX - 85 + "px";
		}
		catch (ex){
		}
	}
}

function hide_popup(){
	var popup_object = document.getElementById("popup");
	popup_object.style.display="none";
}
