//This is a navigation fix for Internet Explorer, which doesn't support the pseudo :hover class on LI elements
$(document).ready(function() {

 //Check if browser is IE6
 if (document.all && !(document.documentElement && typeof document.documentElement.style.maxHeight!="undefined")) {
  $('div#nav > ul > li').hover(function() {
   $(this).addClass('hover');

   if ($(this).attr('class').indexOf('sub') != -1) {
    $(this).find('a').addClass('hover');
   }//if

  }, function() {
   $(this).removeClass('hover');

   if ($(this).attr('class').indexOf('sub') != -1) {
    $(this).find('a').removeClass('hover');
   }//if
  });

 }//if

});
