NS4 = (document.layers) ? 1 : 0;
IE4 = (document.all) ? 1 : 0;
ver4 = (NS4 || IE4) ? 1 : 0;

function none(){
}

// -------------------------------------------------------------------------------------- 
function WindowAttributes() {
	if (is.ie) {
		this.width = document.body.clientWidth
		this.height	= document.body.clientHeight
		}			
	if (is.ns) {
		this.width = window.innerWidth
		this.height = window.innerHeight
		}
	}

// -------------------------------------------------------------------------------------- 

function ReloadPageNS() {
	if (innerWidth	!=	origWidth	||	innerHeight	!=	origHeight)
		{  ReloadPageIE()  }
}

// -------------------------------------------------------------------------------------- 	 
function ReloadPageIE()	{	location.reload()	}
	
if (is.ns)
	{ 	
		origWidth	=	innerWidth
		origHeight	=	innerHeight		
		onresize	=	ReloadPageNS
	}
else onresize = ReloadPageIE




