function printPage(printPage)
{
	window.open("print.asp?print=" + printPage, "_print");
}

function positionBanner()
{
	var wWidth = document.getElementById("bodyMain").clientWidth;
	var sWidth = document.getElementById("bodyMain").scrollLeft;
	var cWidth = document.getElementById("topleftspace").getAttribute("width");
	var leftSpacer = Math.round((wWidth - 750 - 20) / 2) + sWidth;
	setSpacer(leftSpacer);
}
function setSpacer(spacerSize)
{
	document.getElementById("topleftspace").setAttribute("width", spacerSize);
	document.getElementById("middleleftspace").setAttribute("width", spacerSize);
	document.getElementById("bottomleftspace").setAttribute("width", spacerSize);
	document.getElementById("topcontent").setAttribute("align", "left");
	document.getElementById("middlecontent").setAttribute("align", "left");
	document.getElementById("bottomcontent").setAttribute("align", "left");
}
function maxWindow()
{
	window.moveTo(0,0);
	if (document.all)
	{
		top.window.resizeTo(screen.availWidth,screen.availHeight);
	}
	else if (document.layers||document.getElementById)
	{
		if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth)
		{
			top.window.outerHeight = screen.availHeight;
			top.window.outerWidth = screen.availWidth;
		}
	}
}
function initialise()
{
	window.onresize = positionBanner;
}