/*** SET BUTTON'S FOLDER HERE ***/
var buttonFolder_ = "buttons/";

/*** SET BUTTONS' FILENAMES HERE ***/
upSources_ = new Array("button1up_.gif","button2up_.gif","button3up_.gif","button4up_.gif","button5up_.gif","button6up_.gif","button7up_.gif","button8up_.gif");

overSources_ = new Array("button1over_.gif","button2over_.gif","button3over_.gif","button4over_.gif","button5over_.gif","button6over_.gif","button7over_.gif","button8over_.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_();
