if (document.images) {
nav1 = new Image(); nav1.src = "/standard/images/mpr004/global_nav_home.gif";
nav1on = new Image(); nav1on.src = "/standard/images/mpr004/global_nav_home2.gif";
nav2 = new Image(); nav2.src = "/standard/images/mpr004/global_nav_radio.gif";
nav2on = new Image(); nav2on.src = "/standard/images/mpr004/global_nav_radio2.gif";
nav3 = new Image(); nav3.src = "/standard/images/mpr004/global_nav_news.gif";
nav3on = new Image(); nav3on.src = "/standard/images/mpr004/global_nav_news2.gif";
nav4 = new Image(); nav4.src = "/standard/images/mpr004/global_nav_events.gif";
nav4on = new Image(); nav4on.src = "/standard/images/mpr004/global_nav_events2.gif";
nav5 = new Image(); nav5.src = "/standard/images/mpr004/global_nav_your.gif";
nav5on = new Image(); nav5on.src = "/standard/images/mpr004/global_nav_your2.gif";
nav6 = new Image(); nav6.src = "/standard/images/mpr004/global_nav_about.gif";
nav6on = new Image(); nav6on.src = "/standard/images/mpr004/global_nav_about2.gif";
nav7 = new Image(); nav7.src = "/standard/images/mpr004/global_nav_support.gif";
nav7on = new Image(); nav7on.src = "/standard/images/mpr004/global_nav_support2.gif";
nav8 = new Image(); nav8.src = "/standard/images/mpr004/global_nav_help.gif";
nav8on = new Image(); nav8on.src = "/standard/images/mpr004/global_nav_help2.gif";
}

function imgOn(imgName) {
if (document.images) {
document[imgName].src = eval(imgName + "on.src");
}
}

function imgOff(imgName) {
if (document.images) {
document[imgName].src = eval(imgName + ".src");
}
}

function clearText(thefield){
	if (thefield.defaultValue==thefield.value) {
	thefield.value = ""; 
	}
}

function print_me() {
	if (window.print) { 
		window.print()
	} else {
		var platform = navigator.platform.toUpperCase()
		var browser = navigator.appName.toUpperCase()
		if (platform == "MACPPC" && browser == "NETSCAPE") {
			alert('Please use command-p to print.')
		} else {
			alert('Please use control-p to print.')
		}
	}
}

function setActiveStyleSheet(title) {
  var i, a, main;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
      a.disabled = true;
      if(a.getAttribute("title") == title) a.disabled = false;
    }
  }
}

// "EMAIL THIS PAGE" - MAKES TEXT SUBMIT
function emailFriend ( selectedtype ) 
{ 
document.emailStory.emailFriend.value = selectedtype ; 
document.emailStory.submit() ; 
} 

// USED IN PROGRAM PAGE MENUS
function mergeDate()
{
document.dateDrop.date.value = document.dateDrop.month.value + "-" + document.dateDrop.day.value + "-" + document.dateDrop.year.value;
}

function Start(url){
	window.open(url,"newWindow","width=400,height=400,resizable=yes,scrollbars=auto");
}
	