/*
* openwindow
*/
function launchGame()
{
	var w = screen.availWidth - 10;
	var h = screen.availHeight - 40;
	var options = 'width=' + w;
	options += ',height=' + h;
	options += ',innerWidth=';
	options +=',innerHeight=' + h;
	options += ',resizable=yes';
	options += ',top=0';
	options += ',left=0';
	
	//open the window
	window.open("main.php", "quest", options);	
}
