function init_menu()
{
    var tbl = null;
    if( document.all ) { tbl = document.all['menutable']; }
    else if( document.getElementById ) { tbl = document.getElementById('menutable'); }
	  if( tbl != null ) {
	  	try {
		    for( var i=0; i < tbl.rows[0].cells.length; i++ )
  			{
				if( tbl.rows[0].cells[i].className ) {
					tbl.rows[0].cells[i].onmouseout = function() { this.className='menu' };
					tbl.rows[0].cells[i].onmouseover = function() { this.className='menu_on' };
					tbl.rows[0].cells[i].onmousedown = function() { this.className='menu_down' };
					tbl.rows[0].cells[i].onmouseup = function() { this.className='menu_down' };
					
					if( tbl.rows[0].cells[i].childNodes != null )
					{
						for( var j=0; j < tbl.rows[0].cells[i].childNodes.length; j++ )
						{
						  if( tbl.rows[0].cells[i].childNodes[j].nodeName == 'A' ) {
						    var url=tbl.rows[0].cells[i].childNodes[j].href;
						    var f;
						    eval( "f = function() { document.location = '" + url + "'; }" );
						    if( f != null )
						        tbl.rows[0].cells[i].onclick=f;
						  }
						}
					}
				}
			}
		} catch( e ) { window.status = e; }
	}
}
