var logo = {
  // Let's write in JSON to make it more modular
  addFade : function(selector){
    $("<span class=\"fake-hover\"></span>").css("display",
      "none").prependTo($(selector));
      // Safari dislikes hide() for some reason
      $(selector+" a").bind("mouseenter",function(){
      $(selector+" .fake-hover").fadeIn("slow");
    });
    $(selector+" a").bind("mouseleave",function(){
      $(selector+" .fake-hover").fadeOut("slow");
    });
  }
};
$(function(){
  logo.addFade("#logo");
// This makes sure our function executes when the pages load
// It will add a fake hove to the #header element
});

