// Check browser and set flags
Dom2 = (document.getElementById) ? true : false;
IE4 = (Dom2 || !document.all) ? false : true;
NS4 = (Dom2 || !document.layers) ? false : true;


var imageOn = (Dom2) ? "visible" : "show";
var imageOff = (Dom2) ? "hidden" : "hide";

onImage = "off";

function complinkOn(name) {
if (onImage != name) {

	var currtxt = name + "txt"; 
	complinkOff (onImage);
	if (Dom2) {document.getElementById(currtxt).style.visibility = imageOn;}
	if (NS4) {layers[currtxt].visibility = imageOn;}
	if (IE4) {document.all[currtxt].style.visibility = imageOn;}
	onImage = name;
	}
}

 
function complinkOff(name) {

if(name != "off") {
	var currtxt = name + "txt";
	if (Dom2) { document.getElementById(currtxt).style.visibility = imageOff;}
	if (NS4) {layers[currtxt].visibility = imageOff;}
	if (IE4) {document.all[currtxt].style.visibility = imageOff;}
	onImage = "off";
	}
}

