if (document.images) {
	homeOn = new Image();
	homeOn.src = "pics/home_on.gif";
	homeOff = new Image();
	homeOff.src = "pics/home.gif";
	
	orgOn = new Image();
	orgOn.src = "pics/org_on.gif";
	orgOff = new Image();
	orgOff.src = "pics/org.gif";
	
	newsOn = new Image();
	newsOn.src ="pics/news_on.gif";
	newsOff = new Image();
	newsOff.src = "pics/news.gif";
	
	frOn = new Image();
	frOn.src = "pics/fr_on.gif";
	frOff = new Image();
	frOff.src = "pics/fr.gif";

	specOn = new Image();
	specOn.src = "pics/special_on.gif";
	specOff = new Image();
	specOff.src = "pics/special.gif";
}

function doSwap(pic, state) {
	if (document.images) {
		document.images[pic].src = eval(state + ".src");
	}
}

function highlight(inId) {
	if (document.getElementById) {
		theDivId = "div" + inId;
		theDiv = document.getElementById(theDivId);
		theDiv.style.backgroundColor = "#ffcc00";
	}
}

function unHighlight(inId) {
	if (document.getElementById) {
		theDivId = "div" + inId;
		theDiv = document.getElementById(theDivId);
		theDiv.style.backgroundColor = "#ff9900";
	}
}