// JavaScript Document
// Color swap


if (document.images) {
	navtextFAQON = new Image()
	navtextFAQON.style.backgroundColor = "#51626f"
	navboxON = new Image()
	navboxON.style.backgroundColor = "#51626f"
	menu_parent3ON = new Image()
	menu_parent3ON.style.backgroundColor = "#51626f"
	
	navtextFAQOFF = new Image()
	navtextFAQOFF.style.backgroundColor = "#ab9c8f"
	navboxOFF = new Image()
	navboxOFF.style.backgroundColor = "#ab9c8f"
	menu_parent3OFF = new Image()
	menu_parent3OFF.style.backgroundColor = "#ab9c8f"
					  }

function SwapColor3(which,what) 
		{
		eval('document.getElementById("' + which + '").style.backgroundColor =  ' + what + '.style.backgroundColor');
		}

function SwapColor4(which,what) 
		{
		eval('document.getElementById("' + which + '").style.backgroundColor =  ' + what + '.style.backgroundColor');
		}




function changeFAQNav(faq,state,box,state2) {		
			theFAQ = (faq);
			theState = (state) ? (faq+"ON") : (faq+"OFF");
			theBox = (box);
			theState2 = (state2) ? (box+"ON") : (box+"OFF");
			SwapColor3(theFAQ,theState);
			SwapColor4(theBox,theState2);
			
			
}

