function News_goTo( url, locale ) {
	if ( locale ) {
	window.parent.parent.location.href = url;
	} else {
	window.location.href = url;
	}
}


function News_navBar( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#329B9B';
				break;
			case 2:
				tableCellRef.style.backgroundColor = '#69c';	
				break;
			case 3:	
				tableCellRef.style.backgroundColor = '#ffe6d9';
				break;
			case 4:	
				tableCellRef.style.backgroundColor = '#EEFBF9';
				break;
			case 5:	
				tableCellRef.style.backgroundColor = '#FFFFCC';
				break;
			default:
				
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#006666';
				break;
			case 2:	
				tableCellRef.style.backgroundColor = '#eee';
				break;
			case 3:	
				tableCellRef.style.backgroundColor = '#ffe6d9';
				break;
			case 4:	
				tableCellRef.style.backgroundColor = '#EEFBF9';
				break;
			case 5:	
				tableCellRef.style.backgroundColor = '#FFFFCC';
				break;
			default:
				
		}
	}
}

function News_navBarClick( tableCellRef, navStyle, url, locale ) {
	News_navBar( tableCellRef, 0, navStyle );
	News_goTo( url, locale );
}

function News_navFont( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.color  = '#003366';
				break;
			case 2:
				tableCellRef.style.color = '#B54B3E';	
				break;
			case 3:	
				tableCellRef.style.color = 'F9FFA6';
				break;
			case 4:	
				tableCellRef.style.color = '#478D77';
				break;
			case 5:	
				tableCellRef.style.color = '#666666';
				break;
			case 6:	
				tableCellRef.style.color = '#7B362B';
				break;	
			default:
				
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.color = '#003366';
				break;
			case 2:	
				tableCellRef.style.color = '#003366';
				break;
			case 3:	
				tableCellRef.style.color = '#ffffff';
				break;
			case 4:	
				tableCellRef.style.color = '#478D77';
				break;
			case 5:	
				tableCellRef.style.color = '#FFFFCC';
				break;
			case 6:	
				tableCellRef.style.color= '#7B362B';
				break;	
							
			default:
				
		}
	}
}