/*** SET BUTTON'S FOLDER HERE ***/
var buttonFolder = "images/";

/*** SET BUTTONS' FILENAMES HERE ***/
upSources = new Array("2003off.png","2001off.png","olderoff.png","faqoff.png","linksoff.png","guestbookoff.png","homeoff.png");

overSources = new Array("2003on.png","2001on.png","olderon.png","faqon.png","linkson.png","guestbookon.png","homeon.png");


//*** 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();
