/*** SET BUTTON'S FOLDER HERE ***/
var buttonFolder = "buttons/";

/*** SET BUTTONS' FILENAMES HERE ***/
upSources = new Array("button1up.png","button2up.png","button3up.png","button4up.png","button5up.png","button6up.png","button7up.png","button8up.png","button9up.gif",
"button10up.gif","button11up.gif" ,"button12up.gif","button13up.gif","button14up.gif","button15up.gif","button16up.gif","button17up.gif","button18up.gif","button19up.gif",
"button20up.gif","button21up.gif","button22up.gif","button23up.gif","button24up.gif","button25up.gif","button26up.gif","button27up.gif","button28up.gif");

overSources = new Array("button1over.png","button2over.png","button3over.png","button4over.png","button5over.png","button6over.png","button7over.png","button8over.png",
"button9over.gif","button10over.gif","button11over.gif","button12over.gif","button13over.gif","button14over.gif","button15over.gif","button16over.gif","button17over.gif",
"button18over.gif","button19over.gif","button20over.gif","button21over.gif","button22over.gif","button23over.gif","button24over.gif","button25over.gif","button26over.gif",
"button27over.gif","button28over.gif");


//*** NO MORE SETTINGS BEYOND THIS POINT ***//
totalButtons = upSources.length;



//*** MAIN BUTTONS FUNCTIONS ***//
// PRELOAD MAIN MENU BUTTON IMAGES
//function preload() 
//	{
//	for ( x=0; x<totalButtons; x++ ) 
//		{
//		buttonUp = new Image();
//		buttonUp.src = buttonFolder + upSources[x];
//		buttonOver = new Image();
//		buttonOver.src = buttonFolder + overSources[x];
//		}
//	}

// SET MOUSEOVER BUTTON
function setOverImg(But, ID) {
	document.getElementById('button' + But + ID).src = buttonFolder + overSources[But-1];
}

// SET MOUSEOUT BUTTON
function setOutImg(But, ID) {
	document.getElementById('button' + But + ID).src = buttonFolder + upSources[But-1];
}


//preload();
