function showFlash() {
	document.writeln("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"700\" height=\"450\" hspace=\"0\" vspace=\"0\" align=\"top\">");
	document.writeln("<param name=\"movie\" value=\"parking_nightmare.swf\">");
	document.writeln("<param name=\"quality\" value=\"high\">");
	document.writeln("<param name=\"menu\" value=\"false\">");
	document.writeln("<param name=\"swliveconnect\" value=\"true\">");
	document.writeln("<embed src=\"parking_nightmare.swf\" width=\"700\" height=\"450\" hspace=\"0\" vspace=\"0\" align=\"top\" menu=\"false\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" swliveconnect=\"true\"></embed>");
	document.writeln("</object>");
}

function showPop() {
	var myWidth=0, myHeight=0, x_pos=0, y_pos=0;
	var xwidth=700, xheight=450;
	if (typeof(window.innerWidth) == 'number') {
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	} else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	} else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}
	y_pos = (myHeight - xheight)/2;
	if (y_pos<0) {y_pos=0;}
	x_pos = (myWidth - xwidth)/2;
	if (x_pos<0) {x_pos=0;}
	xFeatures = "width="+xwidth+",height="+xheight+",top="+(y_pos+50)+",left="+x_pos;
	window.open("/game/game/intro.htm","panos",xFeatures);
}

function closeGame() {
	window.close();
}