function NavBar( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#A6A4A6';
				break;
			default:
				tableCellRef.style.backgroundColor = '#A6A4A6';
				break;
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#888888';
				break;
			default:
				tableCellRef.style.backgroundColor = '#888888';
				break;
		}
	}
}

function GoTo( url ) {
	window.location.href = url;
}

function NavBarClick( tableCellRef, navStyle, url ) {
	NavBar( tableCellRef, 0, navStyle );
	GoTo( url );
}