obj=""

function open_menu(id)
{
     document.getElementById(id).style.display = 'block';
    //alert(id);

}
function close_menu(id)
{
     document.getElementById(id).style.display = 'none';

}
function menu_sel(id)
{
     obj =  document.getElementById(id);
    obj.className = id + '_sel';
    //alert('aaa');

}
function menu(id, flag)
{
     if(!flag)
     {

          obj =  document.getElementById(id);
          obj.className = id;
     }
     return false;
//alert(id);

}
var jsvhover = function()
{
        var menuDiv = document.getElementById("top_menu1");
        if (!menuDiv)
                return;

  var nodes = menuDiv.getElementsByTagName("a");
  for (var i=0; i<nodes.length; i++)
  {
    nodes[i].onmouseover = function()
    {
      this.className += " jsvhover";
      //alert(this.className);
    }

    nodes[i].onmouseout = function()
    {
      this.className = this.className.replace(new RegExp(" jsvhover\\b"), "");
    }
  }
}

//if (window.attachEvent)
  //      window.attachEvent("onload", jsvhover);
