

function RefreshFrames(menuItem){
	switch (menuItem)
	{
		case 1: 
			window.top.Header.location.href="head_about.htm";
			window.top.Main.location.href="about_frames.htm";
			break;
		case 2: 
			window.top.Header.location.href="head_visit.htm";
			window.top.Main.location.href="visit_frames.htm";
			break;
		case 3: 
			window.top.Header.location.href="head_connect.htm";
			window.top.Main.location.href="connect_frames.htm";
			break;
		case 4: 
			window.top.Header.location.href="head_events.htm";
			window.top.Main.location.href="events_frames.htm";
			break;
		case 5: 
			window.top.Header.location.href="head_contact.htm";
			window.top.Main.location.href="contact_frames.htm";
			break;
		case 6: 
			window.top.Header.location.href="head_fyi.htm";
			window.top.Main.location.href="fyi_frames.htm";
			break;
		default: 
			break;
	}
}

function showLastUpdated(){
	var updated = new Date(document.lastModified);
	var month = updated.getMonth() + 1;
	var date = updated.getDate();
	var year = updated.getYear();
	document.write(month + "/" + date + "/"  + year);
		
}// end showLastUpdated()

function showDate(day, month, year){
	var weekDays = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
	var months = new Array("January", "February", "March", "April", "May", "June", 
		"July", "August", "September", "October", "November", "December");
	var today = new Date();
	var day	= today.getDay();
	var dayName = weekDays[day];
	var month = today.getMonth();
	var monthName = months[month];
	var date = today.getDate();
	var year = today.getYear();
	document.write(dayName + ", " + monthName + " " + date + ", " + year);
		
}// end showDate()

function footer(){
	document.write("<table cellpadding='0' cellspacing='0' border='0' width='100%'>");
	document.write("<tr><td colspan='2'>");
	document.write("<br>");
	document.write("</td></tr>");

	document.write("<tr><td colspan='2' align='center'>");
	document.write("<hr>");
	document.write("</td></tr>");

	document.write("<tr><td align='left' valign='top'>");
	document.write("<span class='footer'>Last Updated: ");
	showLastUpdated();
	document.write("</span>");
	document.write("</td>");

	document.write("<td align='right' valign='top'>");
	document.write("<a href='http://www.ismgroup.com' target='_blank' title='www.ismgroup.com'>");
	document.write("<IMG alt='ISM Group, Inc.' src='http://www.ismgroup.com/remoteimages/ismbannersmall.gif' border='0'></a>");
	document.write("</td></tr>");

	document.write("<tr><td colspan='2'>");
	document.write("<br>");
	document.write("</td></tr>");
	document.write("</table>");
}// end footer()