function Kent_goTo( url ) {
	parent.main.location.href = url;
}

function Kent_TopgoTo( url ) {
	parent.meny.location.href = url;
}

function Kent_navBar( tableCellRef, hoverFlag, navStyle ) {
	if ( hoverFlag ) {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#66CCFF'; // Menycellens f&auml;rg OnMouseOver #9F9E9E
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#c00';
				}
		}
	} else {
		switch ( navStyle ) {
			case 1:
				tableCellRef.style.backgroundColor = '#FFFFCC'; // Menycellens f&auml;rg efter OnMouseOver #666666
				break;
			default:
				if ( document.getElementsByTagName ) {
					tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#000';
				}
		}
	}
}

function Kent_navBarClick( tableCellRef, navStyle, url ) {
	Kent_navBar( tableCellRef, 0, navStyle );
	Kent_goTo( url );
}

function Kent_navBarTopClick( tableCellRef, navStyle, url ) {
	Kent_navBar( tableCellRef, 0, navStyle );
	Kent_TopgoTo( url );
}
