/*var imageArray = new Array();
	imageArray[0] = "http://www.philau.edu/pro_students";
	imageArray[1] = "http://www.philau.edu/cur_students";
	imageArray[2] = "http://www.philau.edu/staff";
	imageArray[3] = "http://www.philau.edu/alumni";
	imageArray[4] = "http://www.philau.edu/fam_friends";
*/

function btnChange(name,onOff){
	// onOff is has a Boolean value.  True for a mouseover.  False for a mouseout.
	if (document.images){
		var offFile, imgFile;
		if (onOff) {
			imgFile = eval(name+"_on.src");
			window.document.images[name].src=imgFile;
		} else {
			imgFile = eval(name+".src");
			window.document.images[name].src=imgFile;
		}
	}
}

// **************determine the current date
// set up an array to help convert month numbers to the month names
	var monthArray = new Array();
		monthArray[0] = "January";
		monthArray[1] = "February";
		monthArray[2] = "March";
		monthArray[3] = "April";
		monthArray[4] = "May";
		monthArray[5] = "June";
		monthArray[6] = "July";
		monthArray[7] = "August";
		monthArray[8] = "September";
		monthArray[9] = "October";
		monthArray[10] = "November";
		monthArray[11] = "December";
	// set up an array to help convert day of the week numbers to day names
	var dayArray = new Array();
		dayArray[0] = "Sunday,";
		dayArray[1] = "Monday,";
		dayArray[2] = "Tuesday,";
		dayArray[3] = "Wednesday,";
		dayArray[4] = "Thursday,";
		dayArray[5] = "Friday,";
		dayArray[6] = "Saturday,";
	// Setup a new date
	var setupDate = new Date();
	// Get the day
	var dayName = dayArray[setupDate.getDay()];
	// Get the month
	var monthName = monthArray[setupDate.getMonth()];
	// Set up the entire text
	var todayDate = dayName+" "+monthName+" "+setupDate.getDate()+", "+setupDate.getYear();	
	
// open popup window
/*URL = file path
window name = one word name for window
wit = width of window
hite = hight of window
scroll = yes/no to determine whether the window scrolls or not*/

var popupWin;
	// wit & hite will determine where the window opens on the screen
	function openWin(windowURL,windowName,wit,hite,scroll) { 
		var winH = (screen.height - hite) / 2;
		var winW = (screen.width - wit) / 2;
		popupWin = window.open( windowURL, windowName, "menubar=no,status=no,toolbar=no,location=no,scrollbars="+scroll+",screenx=1,screeny=1,width=" + wit + ",height=" + hite + ",top="+winH+",left="+winW);
		popupWin.focus();
	} 
//-->