// JavaScript Document
function fillScreen()
{
	var leftPos;
	var topPos;

	myWidth = Math.round(screen.availWidth * 0.8);
	myHeight = Math.round(screen.availHeight);

	leftPos = (screen.availWidth-myWidth)/2;
	topPos = (screen.availHeight-myHeight)/2;
	
	window.resizeTo(myWidth, myHeight);
	window.moveTo(leftPos, topPos);
}