function navBarClick(tableCellRef, navStyle, url, sColor) {
	window.location.href = url
	}


function goTo(url){
	window.location.href = url
	}
	

function navBar( tableCellRef, hoverFlag, navStyle, sColor) {

	bNS = false;
	
   	if (navigator.appName == "Netscape") {
	      bNS = true;
	   } 
	  //	else if (navigator.appVersion.indexOf("MSIE") != -1) {	bIE = true }

	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				if(bNS)
					tableCellRef.bgColor = sColor;
				else
					tableCellRef.style.backgroundColor = sColor;
				
				tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#FFFFFF';	
				// tableCellRef.style.color = '#FFF';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.style.color = '#FFFFFF';
				}
		}
	} else {
		switch ( navStyle ) {
			case 1:
				if(bNS)
					tableCellRef.bgColor = sColor;
				else
					tableCellRef.style.backgroundColor = sColor;
					
				tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#FFFFFF';	
				//tableCellRef.style.color = '#000';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.style.color = '#FFFFFF';
				}
		}
	}
}