// JavaScript Document

// Begin Rollovers

<!-- hide me
if (document.images) {

  image1on = new Image();
  image1on.src = "/olc/images/LDC/topnav_link01a.gif";
  image1off = new Image();
  image1off.src = "/olc/images/LDC/topnav_link01.gif";

  image2on = new Image();
  image2on.src = "/olc/images/LDC/topnav_link02a.gif";
  image2off = new Image();
  image2off.src = "/olc/images/LDC/topnav_link02.gif";

  image3on = new Image();
  image3on.src = "/olc/images/LDC/topnav_link03a.gif";
  image3off = new Image();
  image3off.src = "/olc/images/LDC/topnav_link03.gif";

  image4on = new Image();
  image4on.src = "/olc/images/LDC/topnav_link04a.gif";
  image4off = new Image();
  image4off.src = "/olc/images/LDC/topnav_link04.gif";

  image5on = new Image();
  image5on.src = "/olc/images/LDC/topnav_link05a.gif";
  image5off = new Image();
  image5off.src = "/olc/images/LDC/topnav_link05.gif";

  image6on = new Image();
  image6on.src = "/olc/images/LDC/topnav_link06a.gif";
  image6off = new Image();
  image6off.src = "/olc/images/LDC/topnav_link06.gif";
  
  
  
  
  image13on = new Image();
  image13on.src = "/olc/images/LDC/leftfeature_cc_link01a.gif";
  image13off = new Image();
  image13off.src = "/olc/images/LDC/leftfeature_cc_link01.gif";
  
  image14on = new Image();
  image14on.src = "/olc/images/LDC/leftfeature_cc_link02a.gif";
  image14off = new Image();
  image14off.src = "/olc/images/LDC/leftfeature_cc_link02.gif";
  
  
  image16on = new Image();
  image16on.src = "/olc/images/LDC/01_alumni_on.gif";
  image16off = new Image();
  image16off.src = "/olc/images/LDC/01_alumni_off.gif";
  
  image17on = new Image();
  image17on.src = "/olc/images/LDC/02_mypage_on.gif";
  image17off = new Image();
  image17off.src = "/olc/images/LDC/02_mypage_off.gif";

  image18on = new Image();
  image18on.src = "/olc/images/LDC/03_directory_on.gif";
  image18off = new Image();
  image18off.src = "/olc/images/LDC/03_directory_off.gif";

  image19on = new Image();
  image19on.src = "/olc/images/LDC/04_events_on.gif";
  image19off = new Image();
  image19off.src = "/olc/images/LDC/04_events_off.gif";

  image20on = new Image();
  image20on.src = "/olc/images/LDC/05_parents_on.gif";
  image20off = new Image();
  image20off.src = "/olc/images/LDC/05_parents_off.gif";

  image21on = new Image();
  image21on.src = "/olc/images/LDC/06_services_on.gif";
  image21off = new Image();
  image21off.src = "/olc/images/LDC/06_services_off.gif";

  image22on = new Image();
  image22on.src = "/olc/images/LDC/07_careers_on.gif";
  image22off = new Image();
  image22off.src = "/olc/images/LDC/07_careers_off.gif";

  image23on = new Image();
  image23on.src = "/olc/images/LDC/08_login_on.gif";
  image23off = new Image();
  image23off.src = "/olc/images/LDC/08_login_off.gif";


  image24on = new Image();
  image24on.src = "/olc/images/LDC/keyword_search-on.gif";
  image24off = new Image();
  image24off.src = "/olc/images/LDC/keyword_search.gif";

  
  
  
  
}
function turnOn(imageName) {
  if (document.images) {
    document[imageName].src = eval(imageName + "on.src");
  }
}
function turnOff(imageName) {
  if (document.images) {
    document[imageName].src = eval(imageName + "off.src");
  }
}


// Begin Random Images

function MM_openBrWindow(theURL,winName,leftnavs) { //v2.0
  window.open(theURL,winName,features);
}



pic_width=205;   /*change to match the height of all your images */
pic_height=146;   /* change to match the width of all your images */
border_size=0;   /* change to the border size you want on the images */
alignment=0;      /* 0=left,1=center */

/* define image urls */

if (document.images)
 {
     pic1= new Image(pic_width,pic_height);
     pic1.src="/olc/images/LDC/header_testimonial01.gif";  
     pic3= new Image(pic_width,pic_height);
     pic3.src="/olc/images/LDC/header_testimonial03.gif";  
      
 }    

/* no need to edit past this point (unless you want to add more image slots) */

if (alignment==1)
 {
  cent_it="<CENTER>";
  cent_it2="<\/CENTER>";
 }
else
 {
  cent_it="";
  cent_it2="";
 }

/*
2004oct14, pete johnson: Added so variable size windows may be opened.
*/

/*
Opens a window of the given width and height which contains the
specified URL.  Note there may be no blanks in the string that begins
'width=...', which is kind of a pain.  A string may be built up in a
variable, however, so there is no need for statements that extend way
past the right edge of the window.
*/

function myOpenWindow( url, width, height ) 
{

  winProperties = "width=" + width + ",height=" + height;
  winProperties += ",scrollbars=yes";
  winProperties += ',resizable=yes';

  window.open( url, 'jav', winProperties )

} // end of myOpenWindow().

 
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;
  }
}

function get_Image()
{
 if (document.images)
 {
  var choose_one= get_random(4);  
  choose_one--;

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

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

// Begin Auto Fit Window
// Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this notice.

// SETUPS:
// ===============================

// Set the horizontal and vertical position for the popup

PositionX = 100;
PositionY = 100;

// Set these value approximately 20 pixels greater than the
// size of the largest image to be used (needed for Netscape)

defaultWidth  = 500;
defaultHeight = 500;

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var AutoClose = true;

// Do not edit below this line...
// ================================
if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=100,height=100,left='+PositionX+',top='+PositionY;
function popImage(imageURL,imageTitle){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head><title>Loading...</title><style>body{margin:0px;}</style>');writeln('<sc'+'ript>');
writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=100-(document.body.clientWidth-document.images[0].width);');
writeln('height=100-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');       
writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</sc'+'ript>');
if (!AutoClose) writeln('</head><body bgcolor=FFFFFF scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
else writeln('</head><body bgcolor=FFFFFF scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
writeln('<img name="George" src='+imageURL+' style="display:block"></body></html>');
close();		
}}



// -->// JavaScript Document
