// JavaScript DocumentrecyclingOn=new Image()
homeOn=new Image()
homeOn.src="/pix/nav/home_on.gif"
homeOff=new Image()
homeOff.src="/pix/nav/home_off.gif"

recyclingOn=new Image()
recyclingOn.src="/pix/nav/recycling_on.gif"
recyclingOff=new Image()
recyclingOff.src="/pix/nav/recycling_off.gif"

residentialServiceOn=new Image()
residentialServiceOn.src="/pix/nav/residentialService_on.gif"
residentialServiceOff=new Image()
residentialServiceOff.src="/pix/nav/residentialService_off.gif"

commercialServiceOn=new Image()
commercialServiceOn.src="/pix/nav/commercialService_on.gif"
commercialServiceOff=new Image()
commercialServiceOff.src="/pix/nav/commercialService_off.gif"

transferStationOn=new Image()
transferStationOn.src="/pix/nav/transferStation_on.gif"
transferStationOff=new Image()
transferStationOff.src="/pix/nav/transferStation_off.gif"

depotRecyclingOn=new Image()
depotRecyclingOn.src="/pix/nav/depotRecycling_on.gif"
depotRecyclingOff=new Image()
depotRecyclingOff.src="/pix/nav/depotRecycling_off.gif"

QandAOn=new Image()
QandAOn.src="/pix/nav/QandA_on.gif"
QandAOff=new Image()
QandAOff.src="/pix/nav/QandA_off.gif"

payBillOn=new Image()
payBillOn.src="/pix/nav/payBill_on.gif"
payBillOff=new Image()
payBillOff.src="/pix/nav/payBill_off.gif"

espanolOn=new Image()
espanolOn.src="/pix/nav/espanol_on.gif"
espanolOff=new Image()
espanolOff.src="/pix/nav/espanol_off.gif"

function swingMenu(itemID, whichWay, hideLeft, hideRight) {
	if(whichWay == 'open') {
		if (document.layers) {
			swingCommand = "document." + itemID + ".dispaly = 'block'";
		} else if (document.all) {
			swingCommand = "document.all." + itemID + ".style.display='block';";
		} else if (document.getElementById) {
			swingCommand = "document.getElementById('" + itemID + "').style.display = 'block'";
		}
		eval(swingCommand);
		if (hideLeft != '') {
			if (document.layers) {
				hideLeftCommand = "document." + hideLeft + ".dispaly = 'none'";
			} else if (document.all) {
				hideLeftCommand = "document.all." + hideLeft + ".style.display='none';";
			} else if (document.getElementById) {
				hideLeftCommand = "document.getElementById('" + hideLeft + "').style.display = 'none'";
			}
			eval(hideLeftCommand);
		}
		if (hideRight != '') {
			if (document.layers) {
				hideRightCommand = "document." + hideRight + ".dispaly = 'none'";
			} else if (document.all) {
				hideRightCommand = "document.all." + hideRight + ".style.display='none';";
			} else if (document.getElementById) {
				hideRightCommand = "document.getElementById('" + hideRight + "').style.display = 'none'";
			}
			eval(hideRightCommand);
		}	
	} else if (whichWay == 'close') {
		if (document.layers) {
			swingCommand = "document." + itemID + ".dispaly = 'none'";
		} else if (document.all) {
			swingCommand = "document.all." + itemID + ".style.display='none';";
		} else if (document.getElementById) {
			swingCommand = "document.getElementById('" + itemID + "').style.display = 'none'";
		}
		setTimeout("eval(swingCommand)", 500);
	}
}