<!--
/*
udw_gen.js
javascript standalone file with generalized functions
Kristine Loomis 
10/6/04
*/

//-----------------------------------------------------
function getDate() // function for retrieving date
//-----------------------------------------------------
{
	var today = new Date();		// create new Date variable named 'today'

	var weekDay = today.getDay();      // extract current day (0 to 6)
	var monthNum = today.getMonth();	// extract current month (0 to 11)
	var date = today.getDate();				// extract current date
	var year = today.getFullYear();		// extract current y2k compatible year
	
	var monthsOfYear = new Array ("January","February","March","April","May","June","July","August","September","October","November","December");  // translate the number of the month to a word; 0 becomes January, etc.
  var month = monthsOfYear[monthNum];  //create a variable called "month", and use array to translate the month of the year in to it's name. 
 		
  var dayName = new Array
	("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");// translate the day of the week to a word; 0 becomes Sunday, etc.
	var day = dayName[weekDay];   //create a variable called "day", and use array to translate the week day in to it's name.
  
	var date = day + " " + month + " " + date + ", " + year;
	return date;
}
//-----------------------------------------------------
function go() // jumps to page location
{ document.location = document.jump.a.options[document.jump.a.selectedIndex].value } 
//----------------------------------------------------- 
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//----------------------------------------------------- 
//-->
