/* IMAGE ROLLOVERS */
/* : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : set variables
- ndp{1} = navigation pulldown menu - unique per network
*/
if (document.images) {
	ndp1On = new Image(88,20); ndp1On.src = "http://dsc.discovery.com/images/tophat/990/navigation/tv-shows-on.gif";
	ndp1Off = new Image(88,20);	ndp1Off.src = "http://dsc.discovery.com/images/tophat/990/navigation/tv-shows.gif";

	ndp2On = new Image(116,20);	ndp2On.src = "http://dsc.discovery.com/images/tophat/990/navigation/tv-schedules-on.gif";
	ndp2Off = new Image(116,20); ndp2Off.src = "http://dsc.discovery.com/images/tophat/990/navigation/tv-schedules.gif";
	
	ndp3On = new Image(57,20); ndp3On.src = "http://dsc.discovery.com/images/tophat/990/navigation/news-on.gif";
	ndp3Off = new Image(57,20);	ndp3Off.src = "http://dsc.discovery.com/images/tophat/990/navigation/news.gif";
	
	ndp4On = new Image(61,20); ndp4On.src = "http://dsc.discovery.com/images/tophat/990/navigation/video-on.gif";
	ndp4Off = new Image(61,20);	ndp4Off.src = "http://dsc.discovery.com/images/tophat/990/navigation/video.gif";
	
	ndp5On = new Image(65,20); ndp5On.src = "http://dsc.discovery.com/images/tophat/990/navigation/games-on.gif";
	ndp5Off = new Image(65,20);	ndp5Off.src = "http://dsc.discovery.com/images/tophat/990/navigation/games.gif";
	
	ndp6On = new Image(166,20);	ndp6On.src = "http://dsc.discovery.com/images/tophat/990/navigation/explore-by-subject-on.gif";
	ndp6Off = new Image(166,20); ndp6Off.src = "http://dsc.discovery.com/images/tophat/990/navigation/explore-by-subject.gif";

	ndp7On = new Image(113,20); ndp7On.src = "http://dsc.discovery.com/images/tophat/990/navigation/newsletters-on.gif";
	ndp7Off = new Image(113,20); ndp7Off.src = "http://dsc.discovery.com/images/tophat/990/navigation/newsletters.gif";
	
	ndp8On = new Image(55,20); ndp8On.src = "http://dsc.discovery.com/images/tophat/990/navigation/shop-on.gif";
	ndp8Off = new Image(55,20);	ndp8Off.src = "http://dsc.discovery.com/images/tophat/990/navigation/shop.gif";

}


/* : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : functions
- "_" = number refering to image associated
- example:
<a onmouseover="switchOn('ndp_')" onmouseout="switchOff('ndp_')" ... ><img name="ndp_" src="/images/-off.gif" ... /></a>
*/
function switchOn(imgName) {
	if (document.images) {
		imgOn = eval(imgName + "On.src");
		document [imgName].src = imgOn;
	}
}

function switchOff(imgName) {
	if (document.images) {
		imgOff = eval(imgName + "Off.src");
		document [imgName].src = imgOff;
	}
}
/* END ROLLOVERS */