// Browser Sniffer
var sAgent = navigator.userAgent;
var mac = sAgent.indexOf("Mac") > -1;
var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);
var ns3 = (bName == "Netscape" && bVer == 3);
var ie3 = (bName == "Microsoft Internet Explorer" && bVer == 3);
var ns4 = (document.layers) ? true : false;
var ie4 = (document.all && !document.getElementById) ? true : false;
var ie5 = (document.all && document.getElementById) ? true : false;
var ns6 = (document.getElementById && !document.all) ? true : false;

// Hide Show that's supposed to work in Netscape 6.0?

function show(object) {
if (document.getElementById){ // Netscape 6
myObject = eval(document.getElementById('' + object + ''));
myObject.style.visibility = 'visible';
}
else if (document.layers) { // Netscape 4x
if (document.layers[object] != null)
document.layers[object].visibility = 'visible';
}
else if (document.all) // IE 4x, 5x
document.all[object].style.visibility = 'visible';
}
function hide(object) {
if (document.getElementById){
myObject = eval(document.getElementById('' + object + ''));
myObject.style.visibility = 'hidden';
}
else if (document.layers) {
if (document.layers[object] != null)
document.layers[object].visibility = 'hidden';
}
else if (document.all)
document.all[object].style.visibility = 'hidden';
} 

// Change cell background color

function cOn(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#A186BE";
}
}

function cOut(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#703682";
document.the_image.src='../images/b_purple.gif'
}
}

function cOnB(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#A186BE";
document.the_image.src='../images/b_ltpurple.gif'
}
}



// Hide/Show Functions

	clockwatcher = null

	function offnav(){
	clockwatcher = setTimeout('nonav();',0);
	}
	
	function nonav(){
	hide('solutionsover');
	hide('servicesover');
	}
	
	function solutions(){
	show('solutionsover');
	clearTimeout(clockwatcher)
	}
	function services(){
	show('servicesover');
	clearTimeout(clockwatcher)
	}
	
		