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(obj.className);

}
function menu(id)
{
     obj =  document.getElementById(id);
    obj.className = id ;
//    alert(obj.className);

}
var jsvhover = function()
{
        var menuDiv = document.getElementById("vertical-multilevel-menu");
        if (!menuDiv)
                return;

  var nodes = menuDiv.getElementsByTagName("div");
  for (var i=0; i<nodes.length; i++)
  {
    nodes[i].onmouseover = function()
    {
      this.className += " jsvhover";
    }

    nodes[i].onmouseout = function()
    {
      this.className = this.className.replace(new RegExp(" jsvhover\\b"), "");
    }
  }
}

if (window.attachEvent)
        window.attachEvent("onload", jsvhover);
