/* Function: Make a popup		*/
function popUp(URL)
{

	day	= new Date();
	id	= day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=300,height=150,left = 362,top = 309');");

}

/* Set the game mouseover		*/
wmtt = null;

document.onmousemove = updateWMTT;

function updateWMTT(e) {
   x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX;
   y = (document.all) ? window.event.y + document.body.scrollTop  : e.pageY;
   if (wmtt != null) {
      wmtt.style.left = (x + 200) + "px";
      wmtt.style.top    = (y + -20) + "px";
   }
}

function showWMTT(id,text) {
   wmtt = document.getElementById(id);
   wmtt.innerHTML = text;
   wmtt.style.display = "block"
}

function hideWMTT() {
   wmtt.style.display = "none";
}