function popWindow(URL) 
{
window.open(URL,"newWindow","height=504,width=640,scrollbars=no");
}

function ShowPopup(hoveritem, txt)
{		
	hp = document.getElementById("hoverpopupParent");		    
	hpchild = document.getElementById("hoverpopup");		    		    

	var top = hoveritem.offsetTop + 18 + "px";
	var left = hoveritem.offsetLeft + 20 + "px";
	
	var x = 0;
	var y = 0;		   
	
	while(hoveritem)
	{				        
		x += hoveritem.offsetLeft;
		y += hoveritem.offsetTop;
		hoveritem = hoveritem.offsetParent;
	}
	
	hp.style.top = y + -300 + "px";
	hp.style.left = x +  0 + "px";
	hp.innerHTML = txt;

	hp.style.visibility = "visible";
}

function HidePopup()
{
	hp = document.getElementById("hoverpopupParent");
	hp.style.visibility = "hidden";	 	    
}
