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