<!--
pic_width=608;
pic_height=170;
border_size=0;
alignment=1;

var version = "";
var browserName = navigator.appName;
var browserVer = parseInt(navigator.appVersion);

if ((browserName == "Netscape" && browserVer >= 3) || (browserName == "Opera") || ((browserName.indexOf("Explorer") != -1) && browserVer >=4)){ 
       version = "submenuok"; 
  }

if (version == "submenuok"){ //Pre-load graphics
     pic1= new Image(pic_width,pic_height);
     pic1.src="index_files/students01b.jpg";  
     pic2= new Image(pic_width,pic_height); 
     pic2.src="index_files/students02b.jpg"; 
     pic3= new Image(pic_width,pic_height);
     pic3.src="index_files/students03b.jpg";  
     pic4= new Image(pic_width,pic_height);
     pic4.src="index_files/students04b.jpg";  
     pic5= new Image(pic_width,pic_height);
     pic5.src="index_files/students01b.jpg";  
     pic6= new Image(pic_width,pic_height);
     pic6.src="index_files/students04b.jpg"     
}
   if (alignment==1)
   {
    cent_it="<CENTER>";
    cent_it2="<\/CENTER>";
   }
   else
   {
   cent_it="";
   cent_it2="";
   }
 
//function to display random images on the center of page
function get_random(maxNum)
{
  if (Math.random && Math.round)
  {
    var ranNum= Math.round(Math.random()*(maxNum-1));
    ranNum+=1;
    return ranNum;
  }
  else
  {
  today= new Date();
  hours= today.getHours();
  mins=   today.getMinutes();
  secn=  today.getSeconds();
  if (hours==19)
   hours=18;
  var ranNum= (((hours+1)*(mins+1)*secn)%maxNum)+1;
  return ranNum;
  }
}

//print to screen the source for the images
function get_Image()
{
 if (document.images)
 {
  var choose_one= get_random(6);  
  choose_one--;

  var pics= new Array(6) 
   pics[0]=pic1.src;
   pics[1]=pic2.src;
   pics[2]=pic3.src;
   pics[3]=pic4.src;
   pics[4]=pic5.src;
   pics[5]=pic6.src;

  document.write(cent_it+"<IMG SRC='"+pics[choose_one]+"' width='"+pic_width+"' height='"+pic_height+"' border='"+border_size+"'>"+cent_it2);
 }
}
//-->
