//<!--
// |||||||||| Purpose: Switch to arrow img when links to anchors are clicked. ||||||||||
// |||||||||| Author: Travis Cable ||||||||||
// |||||||||| Instructions: Name arrow imgs "num1", "num2", "num3" and so on. Then, put onclick="rollimage('data','tot')" in the link to the anchor, where "data" is the img name, and "tot" is the total number of anchors. ||||||||||

function rollimage(data,tot) {
	var call = eval("document." + data);
	for (var i=1; i<=tot; i++) {
		var back = eval("document.num" + i);
		back.src = '/SLTC/etools/hospital/images/arrow1off.gif';
			}
	call.src = '/SLTC/etools/hospital/images/arrow1.gif';
}

function blankimage(tot) {
	for (var i=1; i<=tot; i++) {
		var back = eval("document.num" + i);
		back.src = '/SLTC/etools/hospital/images/arrow1off.gif';
			}
}

//-->
