var browsr="UNKN",os="UNKN",UseHover=true;

function sniff(){
	if(navigator.vendor&&navigator.vendor.toLowerCase().indexOf('apple')+1)
		browsr="Saf";
	else if(document.layers)
		browsr="NN4";
	else if(navigator.vendor!=null&&navigator.vendor=="Netscape"&&navigator.product!=null&&navigator.product=='Gecko')
		browsr="NN6+";
	else if(navigator.vendor!=null&&navigator.vendor=="Firefox")
		browsr="FF";
	else if(navigator.vendor==""&&navigator.product=='Gecko')
		browsr="MZ";
	else if(navigator.vendor=='KDE')
		browsr="KDE";
	else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
		browsr="IE5+";
	else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) 
		browsr="IE4";
	else
		UseHover=false;

	if(navigator.userAgent.toLowerCase().indexOf('linux')+ 1)
		os='Linux';
	else if(navigator.userAgent.toLowerCase().indexOf('x11')+1)
	 	os='Unix';
	else if(navigator.userAgent.toLowerCase().indexOf('mac')+1)
		os='MacOS';
	else if(navigator.userAgent.toLowerCase().indexOf('win')+1)
		os='Windows';
}

function getSize() {
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } 
  else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } 
  else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
}