/* IMAGE ROLLOVERS */
/* : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : set variables
- ndp{1} = navigation pulldown menu - unique per network
*/
if (document.images) {
	ndp1On = new Image(78,20); ndp1On.src = "http://tlc.discovery.com/common/sgallery/tlc/tophatV6b/810/navigation/810-tv-shows-on.gif";
	ndp1Off = new Image(78,20);	ndp1Off.src = "http://tlc.discovery.com/common/sgallery/tlc/tophatV6b/810/navigation/810-tv-shows.gif";

	ndp2On = new Image(98,20); ndp2On.src = "http://tlc.discovery.com/common/sgallery/tlc/tophatV6b/810/navigation/810-tv-schedules-on.gif";
	ndp2Off = new Image(98,20); ndp2Off.src = "http://tlc.discovery.com/common/sgallery/tlc/tophatV6b/810/navigation/810-tv-schedules.gif";
	
	ndp3On = new Image(57,20); ndp3On.src = "http://tlc.discovery.com/common/sgallery/tlc/tophatV6b/810/navigation/810-video-on.gif";
	ndp3Off = new Image(57,20); ndp3Off.src = "http://tlc.discovery.com/common/sgallery/tlc/tophatV6b/810/navigation/810-video.gif";

	ndp4On = new Image(89,20); ndp4On.src = "http://tlc.discovery.com/common/sgallery/tlc/tophatV6b/810/navigation/810-newsletter-on.gif";
	ndp4Off = new Image(89,20);	ndp4Off.src = "http://tlc.discovery.com/common/sgallery/tlc/tophatV6b/810/navigation/810-newsletter.gif";
	
	ndp5On = new Image(62,20); ndp5On.src = "http://tlc.discovery.com/common/sgallery/tlc/tophatV6b/810/navigation/810-games-on.gif";
	ndp5Off = new Image(62,20);	ndp5Off.src = "http://tlc.discovery.com/common/sgallery/tlc/tophatV6b/810/navigation/810-games.gif";

	ndp6On = new Image(86,20); ndp6On.src = "http://tlc.discovery.com/common/sgallery/tlc/tophatV6b/810/navigation/810-community-on.gif";
	ndp6Off = new Image(86,20);	ndp6Off.src = "http://tlc.discovery.com/common/sgallery/tlc/tophatV6b/810/navigation/810-community.gif";
	
	ndp7On = new Image(55,20); ndp7On.src = "http://tlc.discovery.com/common/sgallery/tlc/tophatV6b/810/navigation/810-shop-on.gif";
	ndp7Off = new Image(55,20);	ndp7Off.src = "http://tlc.discovery.com/common/sgallery/tlc/tophatV6b/810/navigation/810-shop.gif";

}


/* : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : functions
- "_" = number refering to image associated
- example:
<a onmouseover="switchOn('ndp_')" onmouseout="switchOff('ndp_')" ... ><img name="ndp_" src="/sgallery/-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 */