On = new Image();
On.src = "on/x.gif";

function imgOn(imgName) {
	document [imgName].src = eval((imgName) + "On.src");
}
function imgOff(imgName) {
	document [imgName].src = "off/" + (imgName) + ".gif";
}

function boxColor(state) {
	if (document.getElementById) {
		if (state == "on") {
			document.getElementById('searchStringBox').style.backgroundImage = "url(images/search-focus.gif)";
			document.getElementById('searchString').style.backgroundColor = "#eeeeee";
			
		}
		if (state == "off") {
			document.getElementById('searchStringBox').style.backgroundImage = "url(images/search-unfocus.gif)";
			document.getElementById('searchString').style.backgroundColor = "#ffd200";
			
		}
	}
}