//
// celebration.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   November 7, 2010, 5:35 pm with psd2css Online version 1.89

$(document).ready(function(){

  // This is required for the PNG fix to work.
  if (window.DD_belatedPNG)
    DD_belatedPNG.fix('.pngimg');

  // This is some javascript to stop IE from displaying the img alt attributes
  // when you mouse over imagess.  If you would like IE to display the alt attributes,
  // just comment out the following 4 lines.  Don't worry, if you leave this in 
  // place, your ALT attributes are still readable by the search engines.
  var tmpalt;
  $("img").hover( 
    function(){ tmpalt = $(this).attr( "alt" ); $(this).attr( "alt", "" ); },
    function(){ $(this).attr( "alt", tmpalt ); });

  // This is code to handle all of the _linkover events.  It works by
  // creating a special Wrap class, adding it to the link and linkover
  // divs of each link and linkover pair, and assigning a hover event to
  // that.
  $("#celebration-17").addClass("Wrap-16-17").hide();
  $("#celebration-16").addClass("Wrap-16-17");
  $(".Wrap-16-17").hover(
    function(){ $("#celebration-17").show(); $("#celebration-16").hide(); },
    function(){ $("#celebration-16").show(); $("#celebration-17").hide(); });
  $("#celebration-19").addClass("Wrap-18-19").hide();
  $("#celebration-18").addClass("Wrap-18-19");
  $(".Wrap-18-19").hover(
    function(){ $("#celebration-19").show(); $("#celebration-18").hide(); },
    function(){ $("#celebration-18").show(); $("#celebration-19").hide(); });
  $("#celebration-21").addClass("Wrap-20-21").hide();
  $("#celebration-20").addClass("Wrap-20-21");
  $(".Wrap-20-21").hover(
    function(){ $("#celebration-21").show(); $("#celebration-20").hide(); },
    function(){ $("#celebration-20").show(); $("#celebration-21").hide(); });
  $("#celebration-23").addClass("Wrap-22-23").hide();
  $("#celebration-22").addClass("Wrap-22-23");
  $(".Wrap-22-23").hover(
    function(){ $("#celebration-23").show(); $("#celebration-22").hide(); },
    function(){ $("#celebration-22").show(); $("#celebration-23").hide(); });
  $("#celebration-25").addClass("Wrap-24-25").hide();
  $("#celebration-24").addClass("Wrap-24-25");
  $(".Wrap-24-25").hover(
    function(){ $("#celebration-25").show(); $("#celebration-24").hide(); },
    function(){ $("#celebration-24").show(); $("#celebration-25").hide(); });
  $("#celebration-27").addClass("Wrap-26-27").hide();
  $("#celebration-26").addClass("Wrap-26-27");
  $(".Wrap-26-27").hover(
    function(){ $("#celebration-27").show(); $("#celebration-26").hide(); },
    function(){ $("#celebration-26").show(); $("#celebration-27").hide(); });
  $("#celebration-29").addClass("Wrap-28-29").hide();
  $("#celebration-28").addClass("Wrap-28-29");
  $(".Wrap-28-29").hover(
    function(){ $("#celebration-29").show(); $("#celebration-28").hide(); },
    function(){ $("#celebration-28").show(); $("#celebration-29").hide(); });
  $("#celebration-31").addClass("Wrap-30-31").hide();
  $("#celebration-30").addClass("Wrap-30-31");
  $(".Wrap-30-31").hover(
    function(){ $("#celebration-31").show(); $("#celebration-30").hide(); },
    function(){ $("#celebration-30").show(); $("#celebration-31").hide(); });

});

