// JavaScript Document
// Image swap



if (document.images) {
	menu_parentON = new Image()
	menu_parentON.style.backgroundColor = "#51626f"
	menu_parent2ON = new Image()
	menu_parent2ON.style.backgroundColor = "#51626f"
	menu_parent3ON = new Image()
	menu_parent3ON.style.backgroundColor = "#51626f"
	
	menu_parentOFF = new Image()
	menu_parentOFF.style.backgroundColor = "#ab9c8f"
	menu_parent2OFF = new Image()
	menu_parent2OFF.style.backgroundColor = "#ab9c8f"
	menu_parent3OFF = new Image()
	menu_parent3OFF.style.backgroundColor = "#ab9c8f"
	
					  }

function SwapColor2(which,what) 
		{
		eval('document.getElementById("' + which + '").style.backgroundColor =  ' + what + '.style.backgroundColor');
		}





function changeMainNav(div,state) {		
			theImage = (div);
			theState = (state) ? (div+"ON") : (div+"OFF");
			if (theImage == "menu_parent3") {
				changeFAQNav(theImage,state,"navbox",state);
				
			}
			else {
			SwapColor2(theImage,theState);
			}
			
}


