function Is(){
	var appName = navigator.appName
	var version = navigator.appVersion
	
	this.ns = ( appName == "Netscape" );
	this.ns4 = this.ns && version.indexOf("4.")!=-1;
	this.ns5 = this.ns && version.indexOf("5.")!=-1;
	this.ns6 = this.ns && version.indexOf("6.")!=-1;
	
	this.ie = ( appName == "Microsoft Internet Explorer" );
	this.ie4 = this.ie && version.indexOf("MSIE 4.")!=-1;
	this.ie5 = this.ie && version.indexOf("MSIE 5.")!=-1;
	this.ie6 = this.ie && version.indexOf("MSIE 6.")!=-1;
	
	var userAgent = navigator.userAgent
	this.mac = ( userAgent.indexOf( "Mac" ) != -1 )
	this.win = ( userAgent.indexOf( "Win" ) != -1 )
	this.linux = ( userAgent.indexOf( "Linux" ) != -1 )
}
var is = new Is();

function init(fcn){
	if( ! window.initFunctions )
		window.initFunctions = new Array();
	if( typeof(fcn) == "string")
		window.initFunctions[ window.initFunctions.length ] = fcn;
	else
		for( var i=0; i<window.initFunctions.length; i++ ){
			eval(window.initFunctions[i]);
		}
}

onload=init 

function resizeFix(){ 
if(document.resizeFix.initWidth!=window.innerWidth 
||document.resizeFix.initHeight!=window.innerHeight) 
document.location=document.location; 
} 

function checkBrowser(){ 
if(document.layers){ 
if(typeof document.resizeFix=="undefined"){ 
document.resizeFix=new Object(); 
document.resizeFix.initWidth=window.innerWidth; 
document.resizeFix.initHeight=window.innerHeight; 
} 
window.onresize=resizeFix; 
} 
}

checkBrowser(); 