 
 var cur_menu = null,
     cur_call = null;

  function showMenu(num) {
    showLayer("menu" + num.toString(), "content");
  }

  function hideMenu(num) {
    hideLayer("menu" + num.toString(), "content");
  }

  function menuEnter(num) {

   if (num != cur_menu) {

    if (cur_menu)  hideMenu(cur_menu);
     killCleanUp();

     showMenu(num);
     cur_menu = num;
   }

  }


  function menuCleanUp() {
   if (cur_menu) {
     hideMenu(cur_menu);
     cur_menu = null;
     killCleanUp();
   }
  }

  function killCleanUp() {
   if (cur_call)  clearTimeout(cur_call);
  }

  function menuExit() {
    killCleanUp();
    cur_call = setTimeout("menuCleanUp()", 500);
  }

  function menu_output() {
   return "" +
  "<div id=\"menu\">" +
    "<table width=\"470\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">" +
      "<tr>" +
        "<td><a href=\"index.html\" target=\"_top\"><img src=\"images/logo2.gif\" width=\"94\" height=\"88\" border=\"0\"></a><img src=\"images/tan_blank.gif\" width=\"182\" height=\"88\"><img src=\"images/tan_blank.gif\" width=\"194\" height=\"88\"><br>" +
          "<img src=\"images/nav_left.gif\" width=\"6\" height=\"16\"><a href=\"short.html\" onMouseOut=\"MM_swapImgRestore(); menuExit()\" onMouseOver=\"MM_swapImage('comp','','images/comp_on.gif',1); menuEnter(1)\"><img src=\"images/comp_off.gif\" width=\"69\" height=\"16\" name=\"comp\" border=\"0\"></a><a href=\"products2009/home.html\" target=\"_top\" onMouseOut=\"MM_swapImgRestore(); menuExit()\" onMouseOver=\"MM_swapImage('prod','','images/prod_on.gif',1); menuEnter(2)\"><img src=\"images/prod_off.gif\" width=\"141\" height=\"16\" name=\"prod\" border=\"0\"></a><a href=\"case1.html\" onMouseOut=\"MM_swapImgRestore(); menuExit()\" onMouseOver=\"MM_swapImage('cli','','images/clients_on.gif',1); menuCleanUp()\"><img src=\"images/clients_off.gif\" width=\"90\" height=\"16\" name=\"cli\" border=\"0\"></a><a href=\"http://lionbrothers.wordpress.com\" target=\"_top\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('news','','images/news_on.gif',1); menuCleanUp()\"><img src=\"images/news_off.gif\" width=\"48\" height=\"16\" name=\"news\" border=\"0\"></a><a href=\"contact.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('contact','','images/contact_on.gif',1); menuCleanUp()\"><img src=\"images/contact_off.gif\" width=\"68\" height=\"16\" name=\"contact\" border=\"0\"></a>" +
          "</td>" +
      "</tr>" +
    "</table>" +
  "</div>" +

  
  "<div id=\"menu1\"><a href=\"short.html\" onMouseOut=\"menuExit();MM_swapImgRestore()\" onMouseOver=\"killCleanUp();MM_swapImage('comp1','','images/comp_1_on.gif',1)\"><img src=\"images/comp_1_off.gif\" width=\"113\" height=\"15\" border=\"0\" name=\"comp1\"></a><br>" +
    "<a href=\"today.html\" onMouseOut=\"menuExit();MM_swapImgRestore()\" onMouseOver=\"killCleanUp();MM_swapImage('comp2','','images/comp_2_on.gif',1)\"><img src=\"images/comp_2_off.gif\" width=\"113\" height=\"15\" border=\"0\" name=\"comp2\"></a><br>" +
    "<a href=\"affiliates.html\" onMouseOut=\"menuExit();MM_swapImgRestore()\" onMouseOver=\"killCleanUp();MM_swapImage('comp4','','images/comp_4_on.gif',1)\"><img src=\"images/comp_4_off.gif\" width=\"113\" height=\"16\" border=\"0\" name=\"comp4\"></a>" +
  "</div>";
  }


  function menu_outputH() {
   return "" +
  "<div id=\"menu\">" +
    "<table width=\"464\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">" +
      "<tr>" +
        "<td><a href=\"short_fs.html\" onMouseOut=\"MM_swapImgRestore();menuExit()\" onMouseOver=\"MM_swapImage('company','','images/comp_on.gif',1);menuEnter(1)\" target=\"_top\"><img src=\"images/comp_off.gif\" width=\"69\" height=\"16\" border=\"0\" name=\"company\"></a><a href=\"products2009/home.html\" target=\"_top\" onMouseOut=\"MM_swapImgRestore();menuExit()\" onMouseOver=\"MM_swapImage('products','','images/prod_on.gif',1);menuEnter(2)\" target=\"_top\"><img src=\"images/prod_off.gif\" width=\"141\" height=\"16\" name=\"products\" border=\"0\"></a><a href=\"case_fs.html\" onMouseOut=\"MM_swapImgRestore();menuExit()\" onMouseOver=\"MM_swapImage('clients','','images/clients_on.gif',1);menuCleanUp()\" target=\"_top\"><img src=\"images/clients_off.gif\" width=\"90\" height=\"16\" name=\"clients\" border=\"0\"></a><a href=\"http://lionbrothers.wordpress.com\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('news','','images/news_on.gif',1); menuCleanUp()\" target=\"_top\"><img src=\"images/news_off.gif\" width=\"48\" height=\"16\" name=\"news\" border=\"0\"></a><a href=\"contact_fs.html\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage('contact','','images/contact_on.gif',1); menuCleanUp()\" target=\"_top\"><img src=\"images/contact_off.gif\" width=\"68\" height=\"16\" name=\"contact\" border=\"0\"></a></td>" +
      "</tr>" +
    "</table>" +
  "</div>" +
  
  "<div id=\"menu1\"><a href=\"short_fs.html\" onMouseOut=\"menuExit();MM_swapImgRestore()\" onMouseOver=\"killCleanUp();MM_swapImage('comp','','images/comp_on.gif','comp1','','images/comp_1_on.gif',1)\" target=\"_top\"><img src=\"images/comp_1_off.gif\" width=\"113\" height=\"15\" border=\"0\" name=\"comp1\"></a><br>" +
    "<a href=\"today_fs.html\" onMouseOut=\"menuExit();MM_swapImgRestore()\" onMouseOver=\"killCleanUp();MM_swapImage('comp','','images/comp_on.gif','comp2','','images/comp_2_on.gif',1)\" target=\"_top\"><img src=\"images/comp_2_off.gif\" width=\"113\" height=\"15\" border=\"0\" name=\"comp2\"></a><br>" +
    "<a href=\"affiliates_fs.html\" onMouseOut=\"menuExit();MM_swapImgRestore()\" onMouseOver=\"killCleanUp();MM_swapImage('comp','','images/comp_on.gif','comp4','','images/comp_4_on.gif',1)\" target=\"_top\"><img src=\"images/comp_4_off.gif\" width=\"113\" height=\"16\" border=\"0\" name=\"comp4\"></a>" +
  "</div>"
  }