/*** SET BUTTON'S FOLDER HERE ***/
var buttonFolder_stk1 = "buttons/";

/*** SET BUTTONS' FILENAMES HERE ***/
upSources_stk1 = new Array("button1up_stk1.gif","button2up_stk1.gif","button3up_stk1.gif","button4up_stk1.gif","button5up_stk1.gif","button6up_stk1.gif","button7up_stk1.gif");

overSources_stk1 = new Array("button1over_stk1.gif","button2over_stk1.gif","button3over_stk1.gif","button4over_stk1.gif","button5over_stk1.gif","button6over_stk1.gif","button7over_stk1.gif");


//*** NO MORE SETTINGS BEYOND THIS POINT ***//
totalButtons_stk1 = upSources_stk1.length;



//*** MAIN BUTTONS FUNCTIONS ***//
// PRELOAD MAIN MENU BUTTON IMAGES
function preload_stk1() {
	for ( x=0; x<totalButtons_stk1; x++ ) {
		buttonUp_stk1 = new Image();
		buttonUp_stk1.src = buttonFolder_stk1 + upSources_stk1[x];
		buttonOver_stk1 = new Image();
		buttonOver_stk1.src = buttonFolder_stk1 + overSources_stk1[x];
	}
}

// SET MOUSEOVER BUTTON
function setOverImg_stk1(But, ID) {
	document.getElementById('button' + But + ID).src = buttonFolder_stk1 + overSources_stk1[But-1];
}

// SET MOUSEOUT BUTTON
function setOutImg_stk1(But, ID) {
	document.getElementById('button' + But + ID).src = buttonFolder_stk1 + upSources_stk1[But-1];
}


//preload_stk1();
