function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function NewWindow(mypage, myname, w, h, scroll) {

var winl = (screen.width - w) / 2;

var wint = (screen.height - h) / 2;

winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable';

win = open(mypage, myname, winprops);

if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }

if (win.opener == null) win.opener = self;

}


function topmenu (mn) {
	var menuname = new Array();
	menuname['news'] = new Array (
				new Array ("Local&nbsp;&amp;&nbsp;Global", "World&nbsp;&amp;&nbsp;National", "NPR&nbsp;News", "Specials"),
				new Array ("/news.php", "/news/newspecial.html", "http://publicbroadcasting.net/ncpr/news", "/news/nprnews.php")
				);
	menuname['prog'] = new Array (
				new Array ("Programs&nbsp;Overview", "Local", "National", "Complete&nbsp;Schedule", "Web-Only"),
				new Array ("/programs.html", "/programs/localpro.html", "/programs/nationpro.html", "/programs/grid.html", "/programs/webonly.html")
				);
	menuname['wthr'] = new Array (
				new Array ("Current&nbsp;Conditions", "Weather&nbsp;by&nbsp;Zip&nbsp;or&nbsp;City", "Weather&nbsp;Links"),
				new Array ("/weather.html", "http://www.publicbroadcasting.net/ncpr/news.newsmain?action=weather", "http://www.northcountrypublicradio.org/weather.html#weatherlinks")
				);
	menuname['memb'] = new Array (
				new Array ("Membership", "Underwriting", "Underwriters", "Sweethearts", "Endowment", "Volunteer", "Public&nbsp;Store", "Pledge&nbsp;Online"),
				new Array ("/support/membership.html", "/support/under1.htm", "/support/underw.htm", "/support/sweethearts.html", "/support/endowment.html", "/support/volunteer.html", "http://publicbroadcasting.net/ncpr/store", "https://www.safepage.com/ncpr")
				);
	menuname['cont'] = new Array (
				new Array ("Staff&nbsp;Email", "Comments", "Newsletter"),
				new Array ("/contact/email.html", "/contact.html", "/contact/newsletter.html")
				);
	menuname['arts'] = new Array (
				new Array ("Arts&nbsp;@&nbsp;NCPR", "Concert&nbsp;Hall", "Gallery", "Reviews", "Public&nbsp;Arts"),
				new Array ("/arts.html", "/arts/concert.html", "/arts/gallery.html", "/arts/reviews.html", "http://publicbroadcasting.net/ncpr/arts")
				);
	menuname['cldr'] = new Array (
				new Array ("Special&nbsp;Events", "Community&nbsp;Calendar", "New@NCPR"),
				new Array ("/events/specevents.html", "/upnorth/comcalendar.html", "/events/newatncpr.html")
				);
	menuname['svcs'] = new Array (
				new Array ("Reading&nbsp;Service", "Production&nbsp;Studio"),
				new Array ("/services/reading.html", "/services/production.html")
				);
	menuname['ncpr'] = new Array (
				new Array ("Staff", "Coverage&nbsp;Map", "Awards", "Station&nbsp;History", "Future&nbsp;Vision"),
				new Array ("/about/staff.html", "/about/coverage.html", "/about/awards.html", "/about/history.html", "/about/future.html")
				);
	menuname['unth'] = new Array (
				new Array ("UpNorth&nbsp;Home", "Calendar", "Gallery", "Concert&nbsp;Hall", "Links", "Meet&nbsp;the&nbsp;Masters"),
				new Array ("/upnorth.html", "/upnorth/comcalendar.html", "/arts/gallery.html", "/arts/concert.html", "/upnorth/links.html", "/upnorth/masters/masters.html")
				);
	var i=0;
	do {
		if (i>0) document.write (" | ");
		document.write ("<a class='topmenu' href='" + menuname[mn][1][i] + "'>" + menuname[mn][0][i] + "</a>");
		i = i + 1;
	} while (menuname[mn][0][i]);
}
