/******************************************************************************
Domm Menu 
 ******************************************************************************/
<!--// 
function _dom_menu() 
{ 
   return this; 
} 
   _dom_menu.prototype.objref = function(id) 
   { 
      return document.getElementById ? document.getElementById(id) : (document.all ? document.all[id] : (document.layers ? document.layers[id] : null)); 
   } 
   _dom_menu.prototype.cancel_event = function() 
   { 
      if ( window.event ) 
      { 
         window.event.cancelBubble = true; 
      } 
   } 

   _dom_menu.prototype.set = function(menu) { 
      var menus = new Array( 
         'popup', 
		 'bosfinfo'
      ); 
      var object; 
      var opt; 
      var flag; 
      for (i=0; i < menus.length; i++) 
      { 
         cur_menu = menus[i]; 
         object = this.objref(cur_menu); 
         if ( object && object.style ) 
         { 
            object.style.display = (cur_menu == menu) ? '' : 'none'; 
         } 
         opt = this.objref(cur_menu + '_opt'); 
         if ( opt && opt.style ) 
         { 
            opt.style.fontWeight = (cur_menu == menu) ? 'bold' : ''; 
         } 
         flag = this.objref(cur_menu + '_flag'); 
         if ( flag && flag.style ) 
         { 
            flag.style.fontWeight = (cur_menu == menu) ? 'bold' : ''; 
         } 
      } 
  } 

// instantiate 
dom_menu = new _dom_menu(); 
//--> 
