function Is() {
 browser=navigator.appName
 var agent = navigator.userAgent.toLowerCase();
 this.major = parseInt(navigator.appVersion);
 this.minor = parseFloat(navigator.appVersion);
 this.ns = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible') == -1)));
 this.ns5 = (this.ns && (this.major > 4));
 this.ns6 = (this.ns && (agent.indexOf('netscape6')!=-1) );
 this.ns7 = (this.ns && (agent.indexOf('netscape/7')!=-1) );
 this.ns7pr = (this.ns && (agent.indexOf('netscape/7.0b1')!=-1) );
 this.ie = (agent.indexOf("msie") != -1);
 this.ie3 = (this.ie && (this.major == 2));
 this.ie4 = (this.ie && (this.major >= 4));
 this.ie5 = (this.ie && (agent.indexOf('msie 5.5')!=-1));
 this.ie6 = (this.ie && (agent.indexOf('msie 6.0')!=-1));
 this.op3 = (agent.indexOf("opera") != -1);
}
Is();
var is = new Is();
winHeight = screen.height;
winWidth = screen.width;
if ((winWidth < 700) || (winWidth > 1100)) {
  alert ("You are using an unsupported screen resolution!\n\nThis site supports 800x600 and 1024x768 resolutions.\n\nThe site may not display properly at this resolution")
} 
if (winWidth < 850) {
  var imgSize = "sm";
  if (is.ns) {
    varInc = 0;
    document.write('<LINK REL="stylesheet" HREF="css/'+inFile+'_lowres_ns.css" type="text/css">');
  }
  else if (is.ie6) {
    varInc = 0;
    document.write('<LINK REL="stylesheet" HREF="css/'+inFile+'_lowres_ie6.css" type="text/css">');
  }
  else {
    varInc = 0;
    document.write('<LINK REL="stylesheet" HREF="css/'+inFile+'_lowres_ie5.css" type="text/css">');
  }
  if (inFile == "p1") {
    document.write('<SCRIPT LANGUAGE="JavaScript" SRC="scripts/p1-low.js"></SCRIPT>');
  }
}
else {
  var imgSize = "lg";
  if (is.ns) {
    varInc = 0;
    document.write('<LINK REL="stylesheet" HREF="css/'+inFile+'_highres_ns.css" type="text/css">');
  }
  else if (is.ie6) {
    varInc = 0;
    document.write('<LINK REL="stylesheet" HREF="css/'+inFile+'_highres_ie6.css" type="text/css">');
  }
  else {
    varInc = 0;
    document.write('<LINK REL="stylesheet" HREF="css/'+inFile+'_highres_ie5.css" type="text/css">');
  }
  if (inFile == "p1") {
    document.write('<SCRIPT LANGUAGE="JavaScript" SRC="scripts/p1-high.js"></SCRIPT>');
  }
}