//1. enter number of buttons.
var intButtonCount = 6;
//2. enter extextion of images.
var strImageExtension = ".gif";
//3. enter default status text. 
var strDefaultStatus = "Landtech";

//do not change these 4 lines.
var buttonUpObj = new Array(intButtonCount);
var buttonDownObj = new Array(intButtonCount);
var buttonText = new Array(intButtonCount);
var imageName = new Array(intButtonCount);

//4. set up text for each button
buttonText[0] = "Click here to return home";
buttonText[1] = "Click here for info about us";
buttonText[2] = "Click here for our services";
buttonText[3] = "Click here for news";
buttonText[4] = "Click here for careers";
buttonText[5] = "Click here to contact us";



//5. define default images names (without extensions)
// *** BE SURE TO NAME YOUR IMAGES THESE NAMES LIKE SO...
// <img name="btn_about" src="images/btn_about.gif" border="0" alt="About Us">
imageName[0] = "btn_home";
imageName[1] = "btn_aboutus";
imageName[2] = "btn_services";
imageName[3] = "btn_news";
imageName[4] = "btn_careers";
imageName[5] = "btn_contactus";



// do not change this code
function preload(){
	for(i=0; i < intButtonCount; i++)
	{
		buttonUpObj[i] = new Image();
		buttonUpObj[i].src = "images/" + imageName[i] + strImageExtension;
		buttonDownObj[i] = new Image();
		buttonDownObj[i].src = "images/" + imageName[i] + "2" + strImageExtension;
	}
	window.status = strDefaultStatus;
	return true;
}

function mOver(index){
	if (document.images)
	{
	document [imageName[index]].src = buttonDownObj[index].src;
	window.status = buttonText[index];
	return true;
	}
}

function mOut(index){
	if (document.images)
	{
	document [imageName[index]].src = buttonUpObj[index].src;
	window.status = strDefaultStatus;
	return true;
	}
}
preload();
