<!--
//preload left side rollovers
layout4_components = new Image(158,75);
layout4_components.src = "images/layout4_components_f2.jpg";
layout4_generalinfo = new Image(158,127);
layout4_generalinfo.src = "images/layout4_generalinfo_f2.jpg";
layout4_tour = new Image(158,108);
layout4_tour.src = "images/layout4_tour_f2.jpg";
layout4_info = new Image(158,122);
layout4_info.src = "images/layout4_info_f2.jpg";
//preload vertical menu images
/*
menuImage1 = new Image(150,20)
menuImage1.src = "images/layout4_link_funstuff.jpg"
menuImage2 = new Image(150,20)
menuImage2.src = "images/layout4_link_alumni.jpg"
menuImage3 = new Image(150,20)
menuImage3.src = "images/layout4_link_es.jpg"
menuImage4 = new Image(150,20)
menuImage4.src = "images/layout4_Link_Parents.jpg"
*/

function hardReload() {
	window.location.reload();
}
function softReload() {
	window.history.go(0);
}

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);

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function writeit(textstring) {
	document.write(textstring);
}

function rewriteStatus( text ) {
        window.status = text;
        return true;
}

function showStatus( text ) {
        window.status = text;
        return true;
}

function isPPC() {
if (navigator.appVersion.indexOf("PPC") != -1) return true;
else return false;
}

function emailToFriend() {
	if(isPPC()) {
	document.write('<A CLASS="arial2white" HREF=\"mailto:\?subject\=Take a look at this page I found, ' + document.title + '?body=You can see this page at: ' + window.location + '\" onMouseOver="window.status=\'Send your friends e-mail about this page\'; return true" TITLE="Send your friends e-mail about this page"><img src="/images/friendsend.gif" border=0><\/A>');
	}
	else { document.write('<A CLASS="arial2white" HREF=\"mailto:\?body\=Take a look at this page I found, ' + document.title + '. You can see this page at: ' + window.location + '\" onMouseOver="window.status=\'Send your friends e-mail about this page\'; return true" TITLE="Send your friends e-mail about this page"><img src="/images/friendsend.gif" border=0><\/A>');
	}
}

var openWinPos = null;
var chasm = screen.availWidth;
var mount = screen.availHeight;
var w = 0;
var h = 0;
function openWin(page, name, w,h) {
	{ if (!openWinPos || openWinPos.closed)
       		{openWinPos = window.open(page,name,'status=0,scrollbars=1,resizable=1, toolbar=0, location=0,width=' + w + ',height=' + h + ',left=' + ((chasm - w - 10) * .5) + ',top=' + ((mount - h - 30) * .5));
 	} else {
	openWinPos.focus()
		}
	}
}

function newWin(page, name, w,h) {
	{ if (!openWinPos || openWinPos.closed)
       		{openWinPos = window.open(page,name,'status=0,scrollbars=1,resizable=1, toolbar=0, location=0,width=' + w + ',height=' + h + ',left=' + ((chasm - w - 10) * .5) + ',top=' + ((mount - h - 30) * .5));
 	} else {
	openWinPos.focus()
		}
	}
}

function imageSwap(imagename, imgFile)
{
	document.images[imagename].src = imgFile
}
//--->