<!-- Hide from old browsers
var browser=false;
if(document.images) browser=true;

if (browser){
	imageon = new Image();
	imageon.src = "images/Communion.gif";
	imageoff = new Image();
	imageoff.src = "images/dove.gif";

	image1on = new Image();
	image1on.src = "../images/Communion.gif";
	image1off = new Image();
	image1off.src = "../images/dove.gif";

// add more objects above this line
}

function img_act(imgName) {
	if (browser) {
		imgOn = eval(imgName + "on.src");
		document [imgName].src = imgOn;
	}
}

function img_inact(imgName) {
	if (browser) {
		imgOff = eval(imgName + "off.src");
		document [imgName].src = imgOff;
	}
}

function hl (objIn, action, value) {
	if (browser) {
		if (arguments.length != 3) {
			return false;
		}
		
		if (action=='h') {
			if (value=='c') {
				if (objIn.className=='c') {
					objIn.className='';
				}
				else {
					objIn.className=value;
				}
			}
			if (value=='h') {
				if (objIn.className!='c') {
					objIn.className=value;
				}
			}
		}
		
		if (action=='x') {
			if (objIn.className=='h') {
				objIn.className='';
			}
		}
	}
}
// End of JavaScript -->
