
// Button object constructor

function imgButtonDW(Name) {

   this.Name = Name;

   this.UP = null;

   this.DN = null;
	this.FL = null;

}



// Cache the images



	imgButDW = new Array();
	
   
	
	imgButDW[1] = new imgButtonDW("DWPDF");
	imgButDW[2] = new imgButtonDW("DWMIDI");
	imgButDW[3] = new imgButtonDW("DWALL");
	imgButDW[4] = new imgButtonDW("DWMP3");
	imgButDW[5] = new imgButtonDW("DWSCORCH");
	imgButDW[6] = new imgButtonDW("DWINFO");
	imgButDW[7] = new imgButtonDW("DWVIDEO");
	imgButDW[8] = new imgButtonDW("DWZIP");
	
	//Indexes tabs (12-22-2010)...
	imgButDW[9] = new imgButtonDW("INDALL");
	imgButDW[10] = new imgButtonDW("INDVSM");
	imgButDW[11] = new imgButtonDW("INDHL");



	imgButDW[1].DN = new Image(170, 33);
	imgButDW[1].UP = new Image(170, 33);
	imgButDW[1].FL = new Image(170, 33);
	imgButDW[2].DN = new Image(170, 33);
	imgButDW[2].UP = new Image(170, 33);
	imgButDW[2].FL = new Image(170, 33);
	imgButDW[3].DN = new Image(170, 33);
	imgButDW[3].UP = new Image(170, 33);
	imgButDW[3].FL = new Image(170, 33);
	imgButDW[4].DN = new Image(170, 33);
	imgButDW[4].UP = new Image(170, 33);
	imgButDW[4].FL = new Image(170, 33);
	imgButDW[5].DN = new Image(170, 33);
	imgButDW[5].UP = new Image(170, 33);
	imgButDW[5].FL = new Image(170, 33);
	imgButDW[6].DN = new Image(170, 33);
	imgButDW[6].UP = new Image(170, 33);
	imgButDW[6].FL = new Image(170, 33);
	imgButDW[7].DN = new Image(170, 33);
	imgButDW[7].UP = new Image(170, 33);
	imgButDW[7].FL = new Image(170, 33);
	imgButDW[8].DN = new Image(170, 33);
	imgButDW[8].UP = new Image(170, 33);
	imgButDW[8].FL = new Image(170, 33);
	
	//Indexes tabs (12-22-2010)...
	imgButDW[9].DN = new Image(170, 33);
	imgButDW[9].UP = new Image(170, 33);
	imgButDW[9].FL = new Image(170, 33);
	imgButDW[10].DN = new Image(170, 33);
	imgButDW[10].UP = new Image(170, 33);
	imgButDW[10].FL = new Image(170, 33);
	imgButDW[11].DN = new Image(170, 33);
	imgButDW[11].UP = new Image(170, 33);
	imgButDW[11].FL = new Image(170, 33);
	
	
	

	imgButDW[1].DN.src = "/images/pushes/tabs/PDFoverflat.gif";
	imgButDW[1].UP.src = "/images/pushes/tabs/PDFflat.gif";
	imgButDW[1].FL.src = "/images/pushes/tabs/PDFoffflat.gif";
	imgButDW[2].DN.src = "/images/pushes/tabs/MIDIoverflat.gif";
	imgButDW[2].UP.src = "/images/pushes/tabs/MIDIflat.gif";
	imgButDW[2].FL.src = "/images/pushes/tabs/MIDIoffflat.gif";
	imgButDW[3].DN.src = "/images/pushes/tabs/ALLoverflat.gif";
	imgButDW[3].UP.src = "/images/pushes/tabs/ALLflat.gif";
	imgButDW[3].FL.src = "/images/pushes/tabs/ALLoffCflat.gif";
	imgButDW[4].DN.src = "/images/pushes/tabs/Mp3overflat.gif";
	imgButDW[4].UP.src = "/images/pushes/tabs/Mp3flat.gif";
	imgButDW[4].FL.src = "/images/pushes/tabs/Mp3offflat.gif";
	imgButDW[5].DN.src = "/images/pushes/tabs/SCORTCHoverflat.gif";
	imgButDW[5].UP.src = "/images/pushes/tabs/SCORTCHflat.gif";
	imgButDW[5].FL.src = "/images/pushes/tabs/SCORTCHoffflat.gif";
	imgButDW[6].DN.src = "/images/pushes/tabs/INFOoverflat.gif";
	imgButDW[6].UP.src = "/images/pushes/tabs/INFOflat.gif";
	imgButDW[6].FL.src = "/images/pushes/tabs/INFOoffflat.gif";
	imgButDW[7].DN.src = "/images/pushes/tabs/VIDEOoverflat.gif";
	imgButDW[7].UP.src = "/images/pushes/tabs/VIDEOflat.gif";
	imgButDW[7].FL.src = "/images/pushes/tabs/VIDEOoffflat.gif";
	imgButDW[8].DN.src = "/images/pushes/tabs/ZIPoverflat.gif";
	imgButDW[8].UP.src = "/images/pushes/tabs/ZIPflat.gif";
	imgButDW[8].FL.src = "/images/pushes/tabs/ZIPoffflat.gif";
	
	//Indexes tabs (12-22-2010)...
	imgButDW[9].DN.src = "/images/pushes/tabs/indexes/ALLOVER.gif";
	imgButDW[9].UP.src = "/images/pushes/tabs/indexes/ALLON.gif";
	imgButDW[9].FL.src = "/images/pushes/tabs/indexes/ALLOFF.gif";
	imgButDW[10].DN.src = "/images/pushes/tabs/indexes/VSMOVER.gif";
	imgButDW[10].UP.src = "/images/pushes/tabs/indexes/VSMON.gif";
	imgButDW[10].FL.src = "/images/pushes/tabs/indexes/VSMOFF.gif";
	imgButDW[11].DN.src = "/images/pushes/tabs/indexes/HLOVER.gif";
	imgButDW[11].UP.src = "/images/pushes/tabs/indexes/HLON.gif";
	imgButDW[11].FL.src = "/images/pushes/tabs/indexes/HLOFF.gif";
	
	
	

function mouseOverDW(imgNum)   {

   

      document[imgButDW[imgNum].Name].src = imgButDW[imgNum].DN.src;

   

   return true;

}



function mouseOutDW(imgNum)   {

   

      document[imgButDW[imgNum].Name].src = imgButDW[imgNum].UP.src;

   

   return true;

}


function mouseOutFlatDW(imgNum)   {

   

      document[imgButDW[imgNum].Name].src = imgButDW[imgNum].FL.src;

   

   return true;

}
