function unon_goTo( url ) {
	window.location.href = url;
}

function unon_navBar( tableCellRef, hoverFlag, navStyle ) 
{
  if ( hoverFlag ) {
    switch ( navStyle ) {
      case 1:
	     tableCellRef.style.backgroundColor = '#6699ff';
	     break;
	     default:
		if ( document.getElementsByTagName ) {
		  tableCellRef.getElementsByTagName( 'a' )[0].style.color =  '#000000';
	        }
  }
  } else {
    switch ( navStyle ) {
     case 1:
	    tableCellRef.style.backgroundColor = '#6699CC';
	    break;
	    default:
	       if ( document.getElementsByTagName ) {
		 tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#000';
	       }
    }
  }

}


function TOP_navBar( tableCellRef, hoverFlag, navStyle ) 
{
  if ( hoverFlag ) {
    switch ( navStyle ) {
      case 1:
	     tableCellRef.style.backgroundColor = '#000066';
	     break;
	     default:
		if ( document.getElementsByTagName ) {
		  tableCellRef.getElementsByTagName( 'a' )[0].style.color =  '#000000';
	        }
  }
  } else {
    switch ( navStyle ) {
     case 1:
	    tableCellRef.style.backgroundColor = '#889999';
	    break;
	    default:
	       if ( document.getElementsByTagName ) {
		 tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#000';
	       }
    }
  }

}


function unon_navBarClick( tableCellRef, navStyle, url ) {
	unon_navBar( tableCellRef, 0, navStyle );
	unon_goTo( url );
}

function unon_navBarClick_link( tableCellRef, navStyle, url ) {
	unon_goTo( url );
}

function unon_roofBarClick( tableCellRef, url ) {
	unon_roofBar( tableCellRef, 0 );
	unon_goTo( url );
}





