function emptyfield(ffield){
alert("\nPlease enter: " + ffield + " ...\t\t\t\n");
		}

// code for checking form input
 function checkform(){
var empty = "";
	if( document.contact.Name.value==""){
 			empty = "Name";
			}
if( document.contact.Email.value==""){
 			empty = empty + " -Email";
			}
 if (empty != ""){
emptyfield(empty);
return false;
 }else{
 return true;
 }
}

buttonanimation = document.images

if(buttonanimation){

	buttonOn = new Image()

	buttonOn.src = "./images/onarrow.gif"

	buttonOff = new Image()

	buttonOff.src = "./images/offarrow.gif"

}

function outBut(whichbut){

	if(buttonanimation){

		document.images[whichbut].src = buttonOff.src


	}

}

function overBut(whichbut){

	if(buttonanimation){

		document.images[whichbut].src = buttonOn.src

	}

}
