// JavaScript Document
function cssCheck(){

	var winW = 805, winH = 440;
	
	/*if (parseInt(navigator.appVersion)>3) {
	 if (navigator.appName=="Netscape") {
	  winW = window.innerWidth;
	  winH = window.innerHeight;
	 }
	 if (navigator.appName.indexOf("Microsoft")!=-1) {
	  winW = document.body.offsetWidth;
	  winH = document.body.offsetHeight;
	 }
	}*/
	
	var winW,winH;
	if (self.innerHeight) // all except Explorer
	{
		winW = self.innerWidth;
		winH = self.innerHeight;
	}
	else if (document.documentElement && document.documentElement.clientHeight)
		// Explorer 6 Strict Mode
	{
		winW = document.documentElement.clientWidth;
		winH = document.documentElement.clientHeight;
	}
	else if (document.body) // other Explorers
	{
		winW = document.body.clientWidth;
		winH = document.body.clientHeight;
	}

	
	if(winH < 616){
	
		document.getElementById('topdiv').className="topdiv_sm";
		document.getElementById('mainvert').className="mainvert_sm";
		document.getElementById('botdiv').className="botdiv_sm";
		
	}
	else{
	
		document.getElementById('topdiv').className="topdiv_la";
		document.getElementById('mainvert').className="mainvert_la";
		document.getElementById('botdiv').className="botdiv_la";

	}
}

