

function open_screen(Spielname,BildURL,BildName,Breite,Hoehe)
{
win = window.open('section/reviews/screenshot.php?path='+ BildURL +'&name='+ BildName +'&title='+ Spielname +'&def_width='+ Breite +'&def_height='+ Hoehe +'','_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,left=0,top=0,height=' + Hoehe + ',width=' + Breite);
}

function open_screen2(BildURL,Breite,Hoehe,id)
{
win = window.open('section/news/screenshot.php?path='+ BildURL +'&def_width='+ Breite +'&def_height='+ Hoehe +'&id='+ id +'','_blank','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,left=0,top=0,height=' + Hoehe + ',width=' + Breite);
}


wmtt = null;
document.onmousemove = updateTIP;

function updateTIP(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 + 20) + "px";
		wmtt.style.top 	= (y + 20) + "px";
	}
}

function showTIP(id)
{
	wmtt = document.getElementById(id);
	wmtt.style.display = "block"
}

function hideTIP()
{
	wmtt.style.display = "none";
}
