function mh_ComboBox(elem, title, noparse) {
  var list;
  var id;
  var over;
  
  var init = function(elem, title, noparse) {
    this.list = $(elem);
    this.id = this.list.attr("id");
    
    html = '<div class="mh_ComboBox" id="' + this.id + '">' +
        '<h2><span class="' + this.list.attr("class") + '">' + title + "</span></h2>" +
        "<ul>" + this.list.html() + "</ul>" +
      "</div>";

    this.list.remove();
    document.write(html);

    addListeners();
    
    $(".mh_ComboBox ul").hide();
  };
  
  var addListeners = function() {
    $(".mh_ComboBox h2").click(function() {
      $(this).parent().children("ul").slideToggle();
	  });

    $(".mh_ComboBox ul li").click(function() {
      $(this).parent().slideToggle();
    });
    
    $(".mh_ComboBox")
      .mouseout(function() {
        this.over = setTimeout(function(elem) {
          $("#" + this.id).children("ul").slideUp();
        }, 1000);
      })
      .mouseover(function() {
        clearTimeout(this.over);
      });
    
    mh_home.highlight(".mh_ComboBox ul li", "hover");
  };
  
  var hideList = function() {
    var id = this.parentNode.parentNode.id;
    
    $(id.substring(9, id.length)).selectedIndex = this.getElementsByTagName("span")[0].innerHTML;
    
    this.parentNode.parentNode.getElementsByTagName("h2")[0].innerHTML = this.getElementsByTagName("span")[1].innerHTML;
  };
  
  init(elem, title, noparse);
}