// Browser-Compatible CSS StyleSheet

agent = navigator.userAgent;

if((agent.lastIndexOf("Mac")!=-1) && (agent.lastIndexOf("MSIE 4")!=-1) && (document.all))  {
   document.write('>link rel="Stylesheet" href="/stylesheets/macie4.css" TYPE="text/css">');
   }
else if((agent.lastIndexOf("Mac")!=-1) && (agent.lastIndexOf("MSIE 5")!=-1) && (document.all))  {
   document.write('<link rel="Stylesheet" href="/stylesheets/macie5.css" TYPE="text/css">');
   }
else if((agent.lastIndexOf("Mac")!=-1) && (document.layers))  {
   document.write('<link rel="Stylesheet" href="/stylesheets/macnet4.css" TYPE="text/css">');
   }
else if((agent.lastIndexOf("Mac")!=-1) && (agent.lastIndexOf("Firefox")!=-1))  {
   document.write('<link rel="Stylesheet" href="/stylesheets/macnet6.css" TYPE="text/css">');
   }
else if((agent.lastIndexOf("Mac")!=-1) && (agent.lastIndexOf("Netscape/7")!=-1))  {
   document.write('<link rel="Stylesheet" href="/stylesheets/macnet6.css" TYPE="text/css">');
   }
else if((agent.lastIndexOf("Win")!=-1) && (agent.lastIndexOf("Netscape/7")!=-1))  {
   document.write('<link rel="Stylesheet" href="/stylesheets/style.css" TYPE="text/css">');
   }
else if((agent.lastIndexOf("Win")!=-1) && (agent.lastIndexOf("Firefox")!=-1))  {
   document.write('<link rel="Stylesheet" href="/stylesheets/style.css" TYPE="text/css">');
   }
else if((agent.lastIndexOf("Win")!=-1) && (agent.lastIndexOf("Firefox")!=-1))  {
   document.write('<link rel="Stylesheet" href="/stylesheets/style.css" TYPE="text/css">');
   }
else if((agent.lastIndexOf("Win")!=-1) && (document.all))  {
   document.write('<link rel="Stylesheet" href="/stylesheets/style.css" TYPE="text/css">');
   }
else if((agent.lastIndexOf("Win")!=-1) && (document.layers))  {
   document.write('<link rel="Stylesheet" href="/stylesheets/pcnet4.css" TYPE="text/css">');
   }	
	//rollovers
	
if (document.images) {

  home_off = new Image(153, 42)
  home_off.src = "/images/home_off.gif"
  home_on = new Image(153, 42)
  home_on.src = "/images/home_on.gif"

  students_off = new Image(149, 42)
  students_off.src = "/images/students_off.gif"
  students_on = new Image(149, 42)
  students_on.src = "/images/students_on.gif"
  
  faculty_off = new Image(150, 42)
  faculty_off.src = "/images/faculty_off.gif"
  faculty_on = new Image(150, 42)
  faculty_on.src = "/images/faculty_on.gif"

  visiting_scholars_off = new Image(150, 42)
  visiting_scholars_off.src = "/images/visiting_scholars_off.gif"
  visiting_scholars_on = new Image(150, 42)
  visiting_scholars_on.src = "/images/visiting_scholars_on.gif"
  
  parents_off = new Image(152, 42)
  parents_off.src = "/images/parents_off.gif"
  parents_on = new Image(152, 42)
  parents_on.src = "/images/parents_on.gif"
  
  }

function swapImage(imgDocID, imgObjName) {
  document.images[imgDocID].src = eval(imgObjName + ".src")
}