function ezpNavBar(cellRef, hoverFlag, navStyle){
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				cellRef.style.backgroundColor = '#EEEEEE';
				break;
			default:
                cellRef.style.backgroundColor = '#EEEEEE';
				if ( document.getElementsByTagName ) {
					cellRef.getElementsByTagName('a' )[0].style.color = '#FF0000';
	 			}
		}
	} else {
		switch ( navStyle ) {
			case 1:
				cellRef.style.backgroundColor = '#DDDDDD';
				break;
			default:
                cellRef.style.backgroundColor = '#DDDDDD';
				if ( document.getElementsByTagName ) {
					cellRef.getElementsByTagName('a')[0].style.color = '#000000';
				}
		}
	}
}

/*----------------------------*/
function ezpNavBarClick(url){
    window.location.href = url;
}
