/* IMAGE ROLLOVERS */
/* : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : set variables
- ndp{1} = navigation pulldown menu - unique per network
*/
if (document.images) {
	ndp1On = new Image(85,20);	ndp1On.src = "http://investigation.discovery.com/images/tophat/990/navigation/tv-shows-on.gif";
	ndp1Off = new Image(85,20);	ndp1Off.src = "http://investigation.discovery.com/images/tophat/990/navigation/tv-shows.gif";

	ndp2On = new Image(112,20);ndp2On.src = "http://investigation.discovery.com/images/tophat/990/navigation/tv-schedules-on.gif";
	ndp2Off = new Image(112,20);ndp2Off.src = "http://investigation.discovery.com/images/tophat/990/navigation/tv-schedules.gif";
	
	ndp3On = new Image(59,20);	ndp3On.src = "http://investigation.discovery.com/images/tophat/990/navigation/video-on.gif";
	ndp3Off = new Image(59,20);	ndp3Off.src = "http://investigation.discovery.com/images/tophat/990/navigation/video.gif";

	ndp4On = new Image(154,20);ndp4On.src = "http://investigation.discovery.com/images/tophat/990/navigation/explore-on.gif";
	ndp4Off = new Image(154,20);ndp4Off.src = "http://investigation.discovery.com/images/tophat/990/navigation/explore.gif";
	
	ndp5On = new Image(109,20);ndp5On.src = "http://investigation.discovery.com/images/tophat/990/navigation/interactives-on.gif";
	ndp5Off = new Image(109,20);ndp5Off.src = "http://investigation.discovery.com/images/tophat/990/navigation/interactives.gif";

	ndp6On = new Image(73,20);	ndp6On.src = "http://investigation.discovery.com/images/tophat/990/navigation/quizzes-on.gif";
	ndp6Off = new Image(73,20);	ndp6Off.src = "http://investigation.discovery.com/images/tophat/990/navigation/quizzes.gif";
	
	ndp7On = new Image(61,20);	ndp7On.src = "http://investigation.discovery.com/images/tophat/990/navigation/blogs-on.gif";
	ndp7Off = new Image(61,20);	ndp7Off.src = "http://investigation.discovery.com/images/tophat/990/navigation/blogs.gif";

	ndp8On = new Image(102,20);	ndp8On.src = "http://investigation.discovery.com/images/tophat/990/navigation/newsletters-on.gif";
	ndp8Off = new Image(102,20);	ndp8Off.src = "http://investigation.discovery.com/images/tophat/990/navigation/newsletters.gif";

	ndp9On = new Image(55,20);	ndp9On.src = "http://investigation.discovery.com/images/tophat/990/navigation/shop-on.gif";
	ndp9Off = new Image(55,20);	ndp9Off.src = "http://investigation.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 */