//
// psd2css.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   August 29, 2009, 3:33 am with psd2css Online version 1.45

var timerId;
$(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.
  $("#Layer-5").addClass("Wrap-8-5").hide();
  $("#Layer-8").addClass("Wrap-8-5");
  $(".Wrap-8-5").hover(
    function(){ $("#Layer-5").show(); $("#Layer-8").hide(); },
    function(){ $("#Layer-8").show(); $("#Layer-5").hide(); });
  $("#Layer-6").addClass("Wrap-9-6").hide();
  $("#Layer-9").addClass("Wrap-9-6");
  $(".Wrap-9-6").hover(
    function(){ $("#Layer-6").show(); $("#Layer-9").hide(); },
    function(){ $("#Layer-9").show(); $("#Layer-6").hide(); });
  $("#Layer-7").addClass("Wrap-10-7").hide();
  $("#Layer-10").addClass("Wrap-10-7");
  $(".Wrap-10-7").hover(
    function(){ $("#Layer-7").show(); $("#Layer-10").hide(); },
    function(){ $("#Layer-10").show(); $("#Layer-7").hide(); });
  $("#Layer-11").addClass("Wrap-12-11").hide();
  $("#Layer-12").addClass("Wrap-12-11");
  $(".Wrap-12-11").hover(
    function(){ $("#Layer-11").show(); $("#Layer-12").hide(); },
    function(){ $("#Layer-12").show(); $("#Layer-11").hide(); });
  $("#Layer-14").addClass("Wrap-17-14").hide();
  $("#Layer-17").addClass("Wrap-17-14");
  $(".Wrap-17-14").hover(
    function(){ $("#Layer-14").show(); $("#Layer-17").hide(); },
    function(){ $("#Layer-17").show(); $("#Layer-14").hide(); });
  $("#Layer-15").addClass("Wrap-18-15").hide();
  $("#Layer-18").addClass("Wrap-18-15");
  $(".Wrap-18-15").hover(
    function(){ $("#Layer-15").show(); $("#Layer-18").hide(); },
    function(){ $("#Layer-18").show(); $("#Layer-15").hide(); });
  $("#Layer-16").addClass("Wrap-19-16").hide();
  $("#Layer-19").addClass("Wrap-19-16");
  $(".Wrap-19-16").hover(
    function(){ $("#Layer-16").show(); $("#Layer-19").hide(); },
    function(){ $("#Layer-19").show(); $("#Layer-16").hide(); });
  $("#Layer-20").addClass("Wrap-21-20").hide();
  $("#Layer-21").addClass("Wrap-21-20");
  $(".Wrap-21-20").hover(
    function(){ $("#Layer-20").show(); $("#Layer-21").hide(); },
    function(){ $("#Layer-21").show(); $("#Layer-20").hide(); });
  $("#Layer-23").addClass("Wrap-24-23").hide();
  $("#Layer-24").addClass("Wrap-24-23");
  $(".Wrap-24-23").hover(
    function(){ $("#Layer-23").show(); $("#Layer-24").hide(); },
    function(){ $("#Layer-24").show(); $("#Layer-23").hide(); });
  $("#Layer-25").addClass("Wrap-26-25").hide();
  $("#Layer-26").addClass("Wrap-26-25");
  $(".Wrap-26-25").hover(
    function(){ $("#Layer-25").show(); $("#Layer-26").hide(); },
    function(){ $("#Layer-26").show(); $("#Layer-25").hide(); });
  $("#Layer-27").addClass("Wrap-28-27").hide();
  $("#Layer-28").addClass("Wrap-28-27");
  $(".Wrap-28-27").hover(
    function(){ $("#Layer-27").show(); $("#Layer-28").hide(); },
    function(){ $("#Layer-28").show(); $("#Layer-27").hide(); });
  $("#Layer-29").addClass("Wrap-30-29").hide();
  $("#Layer-30").addClass("Wrap-30-29");
  $(".Wrap-30-29").hover(
    function(){ $("#Layer-29").show(); $("#Layer-30").hide(); },
    function(){ $("#Layer-30").show(); $("#Layer-29").hide(); });
  $("#Layer-31").addClass("Wrap-32-31").hide();
  $("#Layer-32").addClass("Wrap-32-31");
  $(".Wrap-32-31").hover(
    function(){ $("#Layer-31").show(); $("#Layer-32").hide(); },
    function(){ $("#Layer-32").show(); $("#Layer-31").hide(); });
  
  // This is code to handle the media_menu menu
  $("#Layer-13").hide().addClass("allMenus");
  $("#Layer-11").click(function(e){
    e.preventDefault();
    $(".allMenus").hide("slow");
    $("#Layer-13").show("slow");
    // Remove the following 2 lines if you don't want this menu to dissappear
    // automatically.  Change how long the menu stays visible by changing
    // the 4000 to another number of milliseconds
    clearTimeout( timerId );
    timerId = setTimeout( '$("#Layer-13").hide("slow")', 4000 );
  });
  
  // This is code to handle the store_menu menu
  $("#Layer-22").hide().addClass("allMenus");
  $("#Layer-20").click(function(e){
    e.preventDefault();
    $(".allMenus").hide("slow");
    $("#Layer-22").show("slow");
    // Remove the following 2 lines if you don't want this menu to dissappear
    // automatically.  Change how long the menu stays visible by changing
    // the 4000 to another number of milliseconds
    clearTimeout( timerId );
    timerId = setTimeout( '$("#Layer-22").hide("slow")', 4000 );
  });

});

