// used to tell functions when images are loaded	var menuflag = 0;// short names of each of the main menu buttons	var options = new Array('buttonover','unchome','uncdir','uncdepts','uncsearch');// empty arrays that will get filled with references to images	var overImgs = new Array();	var outImgs = new Array();// path from this page to where the images are	var imgPath = "img/buttons/";// function preloads images for main menu rollovers	function LoadMenu () {		var n;				if ( document.images ) {			for ( n = 0; n < options.length; n++ ) {				option_name = options[n];				overImgs[option_name] = new Image(); overImgs[option_name].src = imgPath + option_name + "-on.gif";				outImgs[option_name] = new Image(); outImgs[option_name].src = imgPath + option_name + "-off.gif";			}			menuflag = 1;		}	}// function to show default menu button image	function ShowOut ( id ) {		if ( document.images ) {			if ( menuflag ) {				if ( id.indexOf('unc') != -1 ) { document.images[id].src = outImgs[id].src; }				else { document.images[id].src = outImgs['buttonover'].src; }			}		}	}// function to display menu button mouseover image	function ShowOver ( id ) {		if ( document.images ) {			if ( menuflag ) {				if ( id.indexOf('unc') != -1 ) { document.images[id].src = overImgs[id].src; }				else { document.images[id].src = overImgs['buttonover'].src; }			}		}	}