function CenterContent(width){if(typeof(window.innerWidth)=='number'){	//Non-IE
	if(width>window.parent.innerWidth){width=window.parent.innerWidth;}	document.write('<div id="content" style="position:absolute;left:'+((window.parent.innerWidth-width)/2)+'px;width:'+width+'px;">');}else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)){	//IE 6+ in 'standards compliant mode'
	if(width>document.documentElement.clientWidth){width=document.documentElement.clientWidth;}	document.write('<div id="content" style="position:absolute;left:'+((document.documentElement.clientWidth-width)/2)+'px;width:'+width+'px;">');}else if(document.body && (document.body.clientWidth || document.body.clientHeight)){	//IE 4 compatible
	if(width>document.body.clientWidth){width=document.body.clientWidth;}	document.write('<div id="content" style="position:absolute;left:'+((document.body.clientWidth-width)/2)+'px;width:'+width+'px;">');}}

function MainHeightFix(){
if(document.getElementById('main').offsetHeight<(document.documentElement.clientHeight-310)){
	document.getElementById('main').style.height = document.documentElement.clientHeight-310+'px';
}
}
