aOn = new Image(); aOn.src = "on/home.gif";
bOn = new Image(); bOn.src = "on/products.gif";
cOn = new Image(); cOn.src = "on/about.gif";
dOn = new Image(); dOn.src = "on/employment.gif";
eOn = new Image(); eOn.src = "on/stores.gif";
fOn = new Image(); fOn.src = "on/contact.gif";
gOn = new Image(); gOn.src = "on/questions.gif";
hOn = new Image(); hOn.src = "on/cart.gif";



function imgOn(imgName) {
	document ["home"].src = "off/home.gif";
	document ["products"].src = "off/products.gif";
	document ["about"].src = "off/about.gif";
	document ["employment"].src = "off/employment.gif";
	document ["stores"].src = "off/stores.gif";
	document ["contact"].src = "off/contact.gif";
	document ["questions"].src = "off/questions.gif";
	document ["cart"].src = "off/cart.gif";

	document [imgName].src = "on/" + (imgName) + ".gif";
}
function imgOff(imgName) {
	document [imgName].src = "off/" + (imgName) + ".gif";
}

function menuOn(section) {
	var menu = "menu_" + section;
	if (document.getElementById) {
		document.getElementById("menu_products").style.visibility="hidden";
		document.getElementById("menu_about").style.visibility="hidden";
		document.getElementById("menu_stores").style.visibility="hidden";
		document.getElementById("menu_questions").style.visibility="hidden";
		document.getElementById("menu_cart").style.visibility="hidden";
		
		document.getElementById([menu]).style.visibility="visible";
	}
}
function menuOff(section) {
	var menu = "menu_" + section;
	if (document.getElementById) {
		document.getElementById([menu]).style.visibility="hidden";
	}
}

function infoWindow(URL) {
	popUp=window.open("info-"+URL+".asp","infoWindow","width=400,height=400,scrollbars=1");
	popUp.focus();
}
function StoreMap(URL) {
	popUp=window.open("stores-map.asp?loc="+URL,"StoreMap","width=500,height=461,scrollbars=0");
	popUp.focus();
}



mapNE = new Image(); mapNE.src = "images/rightbar/map-ne.gif";
mapIA = new Image(); mapIA.src = "images/rightbar/map-ia.gif";
mapKS = new Image(); mapKS.src = "images/rightbar/map-ks.gif";
mapMO = new Image(); mapMO.src = "images/rightbar/map-mo.gif";

function mapOn(imgName) {
	document ["midwest"].src = eval((imgName) + ".src");
}
function mapOff() {
	document ["midwest"].src = "images/rightbar/map.gif";
}