$.fn.dropDownNav = function() {
  var $nav = $(this);
  
  $nav.find('ul > li > ul > li').has('ul').children('a').append("<span class=\"arrow\" />");
  
  $nav.find('> ul > li').each(function() {
      $(this).mouseenter(function() {
      $(this).addClass('hover');
      $(this).children('ul').stop(true, true).slideDown('fast');
      $(this).children('ul').children('li').mouseenter(function() {
        $(this).find('ul').stop(true, true).show();
      });
      $(this).children('ul').children('li').mouseleave(function() {
        $(this).find('ul').stop(true, true).hide();
      });
    });
    $(this).mouseleave(function() {
      $(this).removeClass('hover');
      $(this).children('ul').stop(true, true).slideUp('fast');
      $(this).children('ul').children('li').mouseleave(function() {
        $(this).find('ul').stop(true, true).hide();
      });
    });
  });
}
