document.write('<STYLE TYPE="text/css"><!--')
document.write('TR.HFMA_NavRow TD {}');
document.write('TR.HFMA_NavInterior TD {	border: 0px solid;	border-color: #069 #069 #069 #069;}')
document.write('.HFMA_Nav {	color: #fff;	cursor: pointer;}')
document.write('.HFMA_Nav A:link, .HFMA_Nav A:visited {	text-decoration: none;}');
document.write('.HFMA_NavText {	font-family: verdana, arial, sans-serif;	font-weight: bold;	padding-left: 4px;	color: #C9D4E0;	text-decoration: none;}')
document.write('//--></STYLE>')


var agt = navigator.userAgent.toLowerCase();
var versInt = parseInt(navigator.appVersion);
var is_ie	= ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
var is_ie3    = (is_ie && (versInt < 4));
var is_ie4    = (is_ie && (versInt == 4) && (agt.indexOf("msie 4")!=-1) );
var is_aol   = (agt.indexOf("aol") != -1);
var is_aol3  = (is_aol && is_ie3);
var is_aol4  = (is_aol && is_ie4);
var is_aol5  = (agt.indexOf("aol 5") != -1);
var is_aol6  = (agt.indexOf("aol 6") != -1);
var is_comp   = (agt.indexOf("compuserve") != -1);
var is_comp2000   = (agt.indexOf("cs") != -1);	 
var is_compie = (is_comp && is_ie);



function HFMA_goTo( url ) {
	window.location.href = url;
}

function HFMA_roofBar( tableCellRef, hoverFlag ) {
	if ( hoverFlag ) {
		if ( document.getElementsByTagName ) {
			tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#c00';
		}
	} else {
		if ( document.getElementsByTagName ) {
			tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#333';
		}
	}
}

function HFMA_roofBarClick( tableCellRef, url ) {
	HFMA_roofBar( tableCellRef, 0 );
	HFMA_goTo( url );
}

function HFMA_navBar( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#fff';
				tableCellRef.style.borderColor = '#663300 #BECCDA #6699CC #663300';
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#f90';
					tableCellRef.getElementsByTagName( 'img' )[0].style.border = '1px solid #069';
				}
				break;
			case 2:
				tableCellRef.style.backgroundColor = '#fff';
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#f90';
				}
				break;																				
			default:						
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '';
				tableCellRef.style.borderColor = '#978F4F #978F4F #978F4F #978F4F';
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#036';
					tableCellRef.getElementsByTagName( 'img' )[0].style.border = '1px solid #978F4F';					
				}
				break;
			case 2:
				tableCellRef.style.backgroundColor = '';
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#036';
				}
				break;																				
			default:							
		}
	}
}

function HFMA_navBarClick( tableCellRef, navStyle, url ) {
	HFMA_navBar( tableCellRef, 0, navStyle );
	HFMA_goTo( url );
}

