var expandableNavs;

$(function(){
  expandableNavs = $('.hpNavMarg:not(.current):not(.currentParent)','#hpNavAccordion');
  expandableNavs.each(function(i){
     $(this).hoverIntent(makeTall, makeShort);
  });
});

function makeTall(){
   if($(this).next('.hpNavMargTop2:hidden').length > 0){
     expandableNavs.each(function(){
       $(this).next('.hpNavMargTop2').slideUp();
     });
     $(this).next('.hpNavMargTop2').slideDown();
   }
}

function makeShort(){}