var agt		= navigator.userAgent.toLowerCase();
var versInt	= parseInt(navigator.appVersion);
var is_aol	= (agt.indexOf("aol") != -1);


function goTo( url ) {
	window.location.href = url;
} 

function DropDownBar( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#A3B5C7';
				tableCellRef.style.borderColor = '#4E6781';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#c00';
				}
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#DAE1E9';
				tableCellRef.style.borderColor = '#DAE1E9';
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#000';
				}
		}
	}
}

function DropDownBarClick( tableCellRef, navStyle, url ) {
	DropDownBar( tableCellRef, 0, navStyle );
	goTo( url );
}

// end

