/* IMAGE ROLLOVERS */
/* : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : set variables
- ndp{1} = navigation pulldown menu - unique per network
*/
if (document.images) {
	ndp1On = new Image(77,20);	ndp1On.src = "http://www.thaigarment.org/images/Main-Menu_01.png";
	ndp1Off = new Image(77,20);	ndp1Off.src = "http://www.thaigarment.org/images/Main-Menu_01.png";

	ndp2On = new Image(112,20);	ndp2On.src = "http://www.thaigarment.org/images/Main-Menu_02.png";
	ndp2Off = new Image(112,20); ndp2Off.src = "http://www.thaigarment.org/images/Main-Menu_02.png";
	
	ndp3On = new Image(112,20);	ndp3On.src = "http://www.thaigarment.org/images/Main-Menu_03.png";
	ndp3Off = new Image(112,20);	ndp3Off.src = "http://www.thaigarment.org/images/Main-Menu_03.png";
    
    ndp4On = new Image(112,20);	ndp4On.src = "http://www.thaigarment.org/images/Main-Menu_04.png";
	ndp4Off = new Image(112,20);	ndp4Off.src = "http://www.thaigarment.org/images/Main-Menu_04.png";
	
	ndp5On = new Image(90,20);	ndp5On.src = "http://www.thaigarment.org/images/Main-Menu_05.png";
	ndp5Off = new Image(90,20);	ndp5Off.src = "http://www.thaigarment.org/images/Main-Menu_05.png";
	
	ndp6On = new Image(116,20);	ndp6On.src = "http://www.thaigarment.org/images/Main-Menu_06.png";
	ndp6Off = new Image(116,20);	ndp6Off.src = "http://www.thaigarment.org/images/Main-Menu_06.png";

	ndp7On = new Image(104,20);	ndp7On.src = "http://www.thaigarment.org/images/Main-Menu_07.png";
	ndp7Off = new Image(104,20); ndp7Off.src = "http://www.thaigarment.org/images/Main-Menu_07.png";
/*
	ndp8On = new Image(90,20);	ndp8On.src = "http://science.discovery.com//images/tophat/990/navigation/newsletters-on.gif";
	ndp8Off = new Image(90,20);	ndp8Off.src = "http://science.discovery.com//images/tophat/990/navigation/newsletters.gif";
    
    ndp9On = new Image(59,20);	ndp9On.src = "http://science.discovery.com//images/tophat/990/navigation/shop-on.gif";
	ndp9Off = new Image(59,20);	ndp9Off.src = "http://science.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="/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 */