<!--

/****************************************************************
* COPYRIGHT © 2003 University of Virginia, ALL RIGHTS RESERVED.	*
* FILE:  MSOV.JS												*
****************************************************************/

// preload images

a1  = new Image(100,20);  a1.src  = "kashimages/aboutus_off.gif";
a2  = new Image(103,20);  a2.src  = "kashimages/members_off.gif";
a3  = new Image(100,20);  a3.src  = "kashimages/calendar_off.gif";
a4  = new Image(90,20);   a4.src  = "kashimages/photos_off.gif";
a5  = new Image(100,20);  a5.src  = "kashimages/weblinks_off.gif";
a6  = new Image(93,20);   a6.src  = "kashimages/contact_off.gif";

a7  = new Image(100,20);  a7.src  = "kashimages/aboutus_on.gif";
a8  = new Image(103,20);  a8.src  = "kashimages/members_on.gif";
a9  = new Image(100,20);  a9.src  = "kashimages/calendar_on.gif";
a10  = new Image(90,20);  a10.src  = "kashimages/photos_on.gif";
a11  = new Image(100,20); a11.src  = "kashimages/weblinks_on.gif";
a12  = new Image(93,20);  a12.src  = "kashimages/contact_on.gif";

// check browser specs

var check = 'false';

if ( (ns4 == 1) || (ns6 == 1) || (ie4 == 1) || (ie5 == 1) || (ie6 == 1) ) {
	check = 'true';
}

else {
	check = 'false';
}

// functions

function msOver (img,ref) {

	if (check == 'true') {
		document.images[img].src = ref;
	}

}

function msOut  (img,ref) {

	if (check == 'true') {
		document.images[img].src = ref;
	}

}

// additional functions

var linkDetail_default="<p align=center><span style=\"font-style: italic\"><font face=\"Arial\" style=\"font-size: 12px\" color=\"#FFFFFF\">The official home of the U.Va. Graduate Engineering Student Council</font></span>";

var linkDetail_aboutus="<p align=center><span style=\"font-style: italic\"><font face=\"Arial\" style=\"font-size: 12px\" color=\"#FFFFFF\">The mission statement of the Graduate Engineering Student Council</font></span>";

var linkDetail_members="<p align=center><span style=\"font-style: italic\"><font face=\"Arial\" style=\"font-size: 12px\" color=\"#FFFFFF\">Meet the GESC representatives</font></span>";

var linkDetail_calendar="<p align=center><span style=\"font-style: italic\"><font face=\"Arial\" style=\"font-size: 12px\" color=\"#FFFFFF\">Upcoming events of interest to the GEAS community</font></span>";

var linkDetail_photos="<p align=center><span style=\"font-style: italic\"><font face=\"Arial\" style=\"font-size: 12px\" color=\"#FFFFFF\">Photos of recent GESC events</font></span>";

var linkDetail_weblinks="<p align=center><span style=\"font-style: italic\"><font face=\"Arial\" style=\"font-size: 12px\" color=\"#FFFFFF\">Links to UVa GEAS offices and other engineering student organizations</font></span>";

var linkDetail_contact="<p align=center><span style=\"font-style: italic\"><font face=\"Arial\" style=\"font-size: 12px\" color=\"#FFFFFF\">Share your comments or suggestions</font></span>";

function writeLinkDetailLine(txt) {
	document.getElementById('linkDetailLine').innerHTML=txt
}

function clearLinkDetailLine(txt) {
	document.getElementById('linkDetailLine').innerHTML=txt
}

// -->