if(window.document)JS=true;

var Rez=0
var viewRatio=null

	//640x480, 800x600, 1024x768 and 1280x1024
	// determine screen resolution
//if((screen.width > 700) & (screen.width < 1000))
	//ReZ=800

if(screen.width >= 1000)
	{ ReZ=1000 }
	else
	{ ReZ=800 }
	
	// determine ration of browser window size 
	// vs. screen resolution
function wind_size()
{
	if(window.innerWidth)
	{windSize=window.innerWidth;wSize="iW:"}
	 
	else if(document.body.clientWidth)
	{windSize=document.body.clientWidth;wSize="cW:"}
	 
	else if(document.documentElement.clientWidth)
	{windSize=document.documentElement.clientWidth;wSize="dE:"}
	
	else{windSize=false}
	
	if(windSize)
	{
		wSize+=windSize
		viewRatio=parseInt(windSize)/ReZ 
	
		window.status = wSize+" "+viewRatio 
	}
	else{ window.status="no wind size" }
	
	size_processor() // launching file's supporting js
}
 