if (navigator.appName == "Netscape" && parseInt(navigator.appVersion) < 5) {

	// Netscape Navigator 4.x stylesheet
	document.write ('<'+'link href="http://www.siuc.edu/styles/tplt-ns.css" rel="stylesheet" type="text/css">');

} else if (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 5) {

	// Netscape Navigator 6 and greater stylesheet. Note that Netscape identifies this in detection as Netscape 5.
	document.write ('<'+'link href="http://www.siuc.edu/styles/tplt-ns7.css" rel="stylesheet" type="text/css">');

} else {

	// All other browsers: writes stylesheet for IE
	document.write ('<'+'link href="http://www.siuc.edu/styles/tplt-ie.css" rel="stylesheet" type="text/css">');

}

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();
}
mm_reloadPage(true);

// JavaScript Document
