$(document).ready(function() {
  $('#hd .main_nav ul.list').superfish({
    dropShadows: true
  }); 
  
  // add class to superfluous <p> tag added by FCKEditor to allow manipulation by CSS - FCKEditor insists on wrapping every element in <p> tags - in this case images
  $("div.main_page_content p:has(img)").addClass("image_wrapper");
  
  // add class to first paragraph of text to allow highlight by CSS
  $("div.main_page_content p:not(.image_wrapper):first").addClass("first");
  $(".ctl_ProductDetail .description p:first").addClass("first");

  // fix ie6's dodgy png support
  if($.browser.msie && $.browser.version < 7) {  
    tmFixPngs();
  }
});