//
// menu.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   September 21, 2009, 11:59 pm with psd2css Online version 1.53

$(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.
  $("#menu-4").addClass("Wrap-5-4").hide();
  $("#menu-5").addClass("Wrap-5-4");
  $(".Wrap-5-4").hover(
    function(){ $("#menu-4").show(); $("#menu-5").hide(); },
    function(){ $("#menu-5").show(); $("#menu-4").hide(); });
  $("#menu-6").addClass("Wrap-7-6").hide();
  $("#menu-7").addClass("Wrap-7-6");
  $(".Wrap-7-6").hover(
    function(){ $("#menu-6").show(); $("#menu-7").hide(); },
    function(){ $("#menu-7").show(); $("#menu-6").hide(); });
  $("#menu-8").addClass("Wrap-9-8").hide();
  $("#menu-9").addClass("Wrap-9-8");
  $(".Wrap-9-8").hover(
    function(){ $("#menu-8").show(); $("#menu-9").hide(); },
    function(){ $("#menu-9").show(); $("#menu-8").hide(); });
  $("#menu-10").addClass("Wrap-11-10").hide();
  $("#menu-11").addClass("Wrap-11-10");
  $(".Wrap-11-10").hover(
    function(){ $("#menu-10").show(); $("#menu-11").hide(); },
    function(){ $("#menu-11").show(); $("#menu-10").hide(); });
  $("#menu-12").addClass("Wrap-13-12").hide();
  $("#menu-13").addClass("Wrap-13-12");
  $(".Wrap-13-12").hover(
    function(){ $("#menu-12").show(); $("#menu-13").hide(); },
    function(){ $("#menu-13").show(); $("#menu-12").hide(); });
  $("#menu-14").addClass("Wrap-15-14").hide();
  $("#menu-15").addClass("Wrap-15-14");
  $(".Wrap-15-14").hover(
    function(){ $("#menu-14").show(); $("#menu-15").hide(); },
    function(){ $("#menu-15").show(); $("#menu-14").hide(); });
  $("#menu-16").addClass("Wrap-17-16").hide();
  $("#menu-17").addClass("Wrap-17-16");
  $(".Wrap-17-16").hover(
    function(){ $("#menu-16").show(); $("#menu-17").hide(); },
    function(){ $("#menu-17").show(); $("#menu-16").hide(); });

});
