// loads stylesheets and reloads netscape on resize

var detect = navigator.userAgent.toLowerCase();
var browser,total,thestring;

if (checkIt('msie')) {
	document.write('<link rel="stylesheet" type="text/css" href="css/menuIE.css">');
}
else{
	document.write('<link rel="stylesheet" type="text/css" href="css/menu.css">');
}
MM_reloadPage(true);
	
function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}


