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

/*** SET BUTTONS' FILENAMES HERE ***/
contactupSources = new Array("contactbutton1up.png","contactbutton2up.png","contactbutton3up.png");

contactoverSources = new Array("contactbutton1over.png","contactbutton2over.png","contactbutton3over.png");


//*** NO MORE SETTINGS BEYOND THIS POINT ***//
contacttotalButtons = contactupSources.length;



//*** MAIN BUTTONS FUNCTIONS ***//
// PRELOAD MAIN MENU BUTTON IMAGES
function contactpreload() {
	for ( x=0; x<contacttotalButtons; x++ ) {
		contactbuttonUp = new Image();
		contactbuttonUp.src = buttonFolder + contactupSources[x];
		contactbuttonOver = new Image();
		contactbuttonOver.src = buttonFolder + contactoverSources[x];
	}
}

// SET MOUSEOVER BUTTON
function contactsetOverImg(But, ID) {
	document.getElementById('contactbutton' + But + ID).src = buttonFolder + contactoverSources[But-1];
}

// SET MOUSEOUT BUTTON
function contactsetOutImg(But, ID) {
	document.getElementById('contactbutton' + But + ID).src = buttonFolder + contactupSources[But-1];
}


//preload();
