if(document.images) {
	homeon = new Image();
	homeon.src = "/images/menu_home_on.gif";
	homeoff = new Image();
	homeoff.src = "/images/menu_home_off.gif";
}
if(document.images) {
	storeon = new Image();
	storeon.src = "/images/menu_store_on.gif";
	storeoff = new Image();
	storeoff.src = "/images/menu_store_off.gif";
}
if(document.images) {
	searchon = new Image();
	searchon.src = "/images/menu_search_on.gif";
	searchoff = new Image();
	searchoff.src = "/images/menu_search_off.gif";
}
if(document.images) {
	contacton = new Image();
	contacton.src = "/images/menu_contact_on.gif";
	contactoff = new Image();
	contactoff.src = "/images/menu_contact_off.gif";
}
if(document.images) {
	rmhcon = new Image();
	rmhcon.src = "/images/menu_rmhc_on.gif";
	rmhcoff = new Image();
	rmhcoff.src = "/images/menu_rmhc_off.gif";
}

function active(imgName) {
	if(document.images) {
		imgOn = eval(imgName + "on.src");
		document[imgName].src = imgOn;
	}
}

function notactive(imgName) {
	if(document.images) {
		imgOff = eval(imgName + "off.src");
		document[imgName].src = imgOff;
	}
}


/*
Submit Once form validation- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

function submitonce(theform){
//if IE 4+ or NS 6+
if (document.all||document.getElementById){
//screen thru every element in the form, and hunt down "submit" and "reset"
for (i=0;i<theform.length;i++){
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
//disable em
tempobj.disabled=true
}
}
}

