var isNS = (navigator.appName == "Netscape");
var isMoz = (navigator.appName == "Mozilla");
var isIE = (navigator.appName.indexOf("Microsoft") != -1);
var isMacIE = ((navigator.userAgent.indexOf("IE 4")>-1) && (navigator.userAgent.indexOf("Mac")>-1));
var layerRef = (isNS || isMoz) ? "document" : "document.all";
var styleRef = (isNS || isMoz) ? "" : ".style";
var isDynamic = ((document.layers || document.all) && !isMacIE);
var activeMenu = 0;
var finalClip;
var menuID;

function showoff(){
	var message ='';
		message += ("App: " +navigator.appName+ "\n");
		message += ("Agent: " +navigator.userAgent+ "\n");
		message += ("Version: " +navigator.appVersion+ "\n");	
		message += ("IE: " +isIE+ "\n");
		message += ("NS: " +isNS+ "\n");
		message += ("Moz: " +isMoz+ "\n");
		message += ("Mac IE: " +isMacIE+ "\n");
		message += ("layerRef: " +layerRef+ "\n");
		message += ("StyleRef: " +styleRef+ "\n");
		message += ("isDynamic: " +isDynamic+ "\n");
// alert(message);
}

function transit(layName){
	var oval='oval_'+layName;
	var cellText = 'text_'+layName;
	
 if(document.getElementById){
	document.getElementById(oval).style.opacity='.99';
	document.getElementById(oval).style.filter='alpha(opacity=99)';
	document.getElementById(oval).style.MozOpacity='.99';
	document.getElementById(cellText).style.color='rgb(150,187,198)';
	document.getElementById(cellText).style.textShadow= "#0d4a4b 1px 0px 2px";
	}

 else if(document.layers){
	document.layers[oval].opacity='.99';
	document.layers[oval].filter='alpha(opacity=99)';
	document.layers[oval].MozOpacity='.99';
	document.layers[cellText].color='rgb(150,187,198)';
	document.layers[cellText].textShadow= "#0d4a4b 1px 0px 2px";

	}

 else if(document.all){
	document.all(oval).style.opacity='.99';
	document.all(oval).style.filter='alpha(opacity=99)';
	document.all(oval).style.MozOpacity='.99';
	document.all(cellText).style.color='rgb(150,187,198)';	
	document.all(cellText).style.textShadow= "#0d4a4b 1px 0px 2px";	

	}
}

function clearTransit(layName){
	var oval='oval_'+layName;
	var cellText = 'text_'+layName;
	
 if(document.getElementById){	
	document.getElementById(oval).style.opacity='.56';
	document.getElementById(oval).style.filter='alpha(opacity=56)';
	document.getElementById(oval).style.MozOpacity='.56';
	document.getElementById(cellText).style.textShadow= "GRAY 1px 1px 1px";	
	document.getElementById(cellText).style.color='rgb(0,30,30)';
	}

 else if(document.layers){
	document.layers[oval].opacity='.56';
	document.layers[oval].filter='alpha(opacity=56)';
	document.layers[oval].MozOpacity='.56';
	document.layers[cellText].textShadow= "GRAY 1px 1px 1px";	
	document.layers[cellText].color='rgb(0,30,30)';
	}
 else if(document.all){
	document.all(oval).style.opacity='.56';
	document.all(oval).style.filter='alpha(opacity=56)';
	document.all(oval).style.MozOpacity='.56';
	document.all(cellText).style.textShadow= "GRAY 1px 1px 1px";	
	document.all(cellText).style.color='rgb(0,30,30)';
	}
}



