var remote = null;
function info(wohin,w,h) 
{
	remote = eval("window.open(wohin,\'TheRemote\',\'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width="+w+",height="+h+"\')")
	if (navigator.appVersion.indexOf("(X11") != -1) window.open(wohin,'TheRemote')
	if ((remote != null) && (remote.opener == null)) {remote.opener = self;}
	remote.opener.name = "opener"
}
// Starmap Functions
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;
	document.getElementById("coordinates").firstChild.nodeValue = "x="+x+", y="+y;
	if (wmtt != null) 
	{
		wmtt.style.left=(x + 20) + "px";
		wmtt.style.top=(y + 20) + "px";
	}
}
function showWMTT(id) 
{
	wmtt=document.getElementById(id);
	wmtt.style.display="block"
}
function hideWMTT() 
{
	wmtt.style.display="none";
}