var to;
$('a.openup').mouseover(function() {
  clearTimeout(to);
  $('ul.opened').hide();

  var id = $(this).attr('id');
  $('#' + id + '-drop').show();
}).mouseout(function() {
  var id = $(this).attr('id');
  to = setTimeout(function() {
    closeme($('#' + id + '-drop'));
  }, 2000);
});

$('ul.opened').mouseover(function() {
  clearTimeout(to);
}).mouseout(function() {
  var id = $(this).attr('id');
  to = setTimeout(function() {
    closeme($('#' + id));
  }, 1000);
});

function closeme(o) {
  o.hide();
}

function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}