// ----------------------------------------------------------------------------
//  LumaMenu.js -- Set of java script routines and global variables that are
//     responsible for working animated menus on client side.
// ----------------------------------------------------------------------------


// ----------------------------------------------------------------------------
//  itOnMouseOver - OnMouseOver event handler for tabs and menu items.
//    Highlites given tab or menu item.
// ----------------------------------------------------------------------------
   function itOnMouseOver(oItem)
   {
      var nPos = oItem.className.lastIndexOf("ItemE");

      if (nPos > 0)
          oItem.className = oItem.className.substring(0, nPos) + "ItemF";
   }


// ----------------------------------------------------------------------------
//  itOnMouseOut - OnMouseOut event handler for tabs and menu items.
//    Removes highliting from the given tab or menu item.
// ----------------------------------------------------------------------------
   function itOnMouseOut(oItem)
   {
      var nPos = oItem.className.lastIndexOf("ItemF");

      if (nPos > 0)
          oItem.className = oItem.className.substring(0, nPos) + "ItemE";
   }


// ----------------------------------------------------------------------------
//  itLoadPageByUrl - Loads given page to the current window.
// ----------------------------------------------------------------------------
   function itLoadPageByUrl(urlPage)
   {
      try
      {
         window.location.href = urlPage;

      } catch (e) {}
   }





