button1 = new Image();
button1.src = "images/buttons/home_over.gif";

button2 = new Image();
button2.src = "images/buttons/about_over.gif";

button3 = new Image();
button3.src = "images/buttons/eat_drink_over.gif";

button4 = new Image();
button4.src = "images/buttons/intheknow_over.gif";

button5 = new Image();
button5.src = "images/buttons/catering_over.gif";

button6 = new Image();
button6.src = "images/buttons/contact_over.gif";

function swapImage(isImg,isDefault,swapImg)
{
	currImg = isImg.src.match(/[^\/\\]+$/);
	isPath = isImg.src.replace(currImg,"");
	if (currImg == isDefault){isImg.src = isPath+swapImg}
	else {isImg.src = isPath+isDefault}
}
