if (navigator.appName=="Netscape") {
	winW = window.innerWidth;
	winWidth = winW - 17;
}
if (navigator.appName.indexOf("Microsoft")!=-1) {
	winW = document.body.offsetWidth;
	winWidth = winW - 17;
}

if (winWidth >= maxScreen) {
	tempLeft = (maxScreen-minScreen) + objLeft;
} else {
	tempLeft = objLeft;
}

if (template == 1) {
	document.write('<div id="content" style="position:absolute; left:' + tempLeft + 'px; top:30px; width:560px; height:400px; z-index:10">');
} else {
	document.write('<div id="content" style="position:absolute; left:' + tempLeft + 'px; top:30px; width:467px; height:400px; z-index:10">');	
}

//<div id="content" style="position:absolute; left:291px; top:30px; width:467px; height:400px; z-index:10">
//<div id="content" style="position:absolute; left:216px; top:30px; width:560px; height:400px; z-index:10">

//alert(tempLeft);
