//
// Ricks.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   October 23, 2009, 3:39 pm with psd2css Online version 1.55

$(document).ready(function(){

  // This is required for the PNG fix to work.
  if( $.fn.pngfix != null )
    $("img[@src$=png]").pngfix();

  // 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.
  $("#Ricks-8").addClass("Wrap-7-8").hide();
  $("#Ricks-7").addClass("Wrap-7-8");
  $(".Wrap-7-8").hover(
    function(){ $("#Ricks-8").show(); $("#Ricks-7").hide(); },
    function(){ $("#Ricks-7").show(); $("#Ricks-8").hide(); });
  $("#Ricks-10").addClass("Wrap-9-10").hide();
  $("#Ricks-9").addClass("Wrap-9-10");
  $(".Wrap-9-10").hover(
    function(){ $("#Ricks-10").show(); $("#Ricks-9").hide(); },
    function(){ $("#Ricks-9").show(); $("#Ricks-10").hide(); });
  $("#Ricks-12").addClass("Wrap-11-12").hide();
  $("#Ricks-11").addClass("Wrap-11-12");
  $(".Wrap-11-12").hover(
    function(){ $("#Ricks-12").show(); $("#Ricks-11").hide(); },
    function(){ $("#Ricks-11").show(); $("#Ricks-12").hide(); });
  $("#Ricks-14").addClass("Wrap-13-14").hide();
  $("#Ricks-13").addClass("Wrap-13-14");
  $(".Wrap-13-14").hover(
    function(){ $("#Ricks-14").show(); $("#Ricks-13").hide(); },
    function(){ $("#Ricks-13").show(); $("#Ricks-14").hide(); });
  $("#Ricks-16").addClass("Wrap-15-16").hide();
  $("#Ricks-15").addClass("Wrap-15-16");
  $(".Wrap-15-16").hover(
    function(){ $("#Ricks-16").show(); $("#Ricks-15").hide(); },
    function(){ $("#Ricks-15").show(); $("#Ricks-16").hide(); });
  $("#Ricks-18").addClass("Wrap-17-18").hide();
  $("#Ricks-17").addClass("Wrap-17-18");
  $(".Wrap-17-18").hover(
    function(){ $("#Ricks-18").show(); $("#Ricks-17").hide(); },
    function(){ $("#Ricks-17").show(); $("#Ricks-18").hide(); });
  $("#Ricks-20").addClass("Wrap-19-20").hide();
  $("#Ricks-19").addClass("Wrap-19-20");
  $(".Wrap-19-20").hover(
    function(){ $("#Ricks-20").show(); $("#Ricks-19").hide(); },
    function(){ $("#Ricks-19").show(); $("#Ricks-20").hide(); });

});
