//
// psd2css.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   August 29, 2009, 1:57 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-7").addClass("Wrap-5-7").hide();
  $("#Layer-5").addClass("Wrap-5-7");
  $(".Wrap-5-7").hover(
    function(){ $("#Layer-7").show(); $("#Layer-5").hide(); },
    function(){ $("#Layer-5").show(); $("#Layer-7").hide(); });
  $("#Layer-8").addClass("Wrap-4-8").hide();
  $("#Layer-4").addClass("Wrap-4-8");
  $(".Wrap-4-8").hover(
    function(){ $("#Layer-8").show(); $("#Layer-4").hide(); },
    function(){ $("#Layer-4").show(); $("#Layer-8").hide(); });
  $("#Layer-9").addClass("Wrap-6-9").hide();
  $("#Layer-6").addClass("Wrap-6-9");
  $(".Wrap-6-9").hover(
    function(){ $("#Layer-9").show(); $("#Layer-6").hide(); },
    function(){ $("#Layer-6").show(); $("#Layer-9").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-26-23").hide();
  $("#Layer-26").addClass("Wrap-26-23");
  $(".Wrap-26-23").hover(
    function(){ $("#Layer-23").show(); $("#Layer-26").hide(); },
    function(){ $("#Layer-26").show(); $("#Layer-23").hide(); });
  $("#Layer-24").addClass("Wrap-27-24").hide();
  $("#Layer-27").addClass("Wrap-27-24");
  $(".Wrap-27-24").hover(
    function(){ $("#Layer-24").show(); $("#Layer-27").hide(); },
    function(){ $("#Layer-27").show(); $("#Layer-24").hide(); });
  $("#Layer-25").addClass("Wrap-28-25").hide();
  $("#Layer-28").addClass("Wrap-28-25");
  $(".Wrap-28-25").hover(
    function(){ $("#Layer-25").show(); $("#Layer-28").hide(); },
    function(){ $("#Layer-28").show(); $("#Layer-25").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-32").addClass("Wrap-33-32").hide();
  $("#Layer-33").addClass("Wrap-33-32");
  $(".Wrap-33-32").hover(
    function(){ $("#Layer-32").show(); $("#Layer-33").hide(); },
    function(){ $("#Layer-33").show(); $("#Layer-32").hide(); });
  $("#Layer-34").addClass("Wrap-35-34").hide();
  $("#Layer-35").addClass("Wrap-35-34");
  $(".Wrap-35-34").hover(
    function(){ $("#Layer-34").show(); $("#Layer-35").hide(); },
    function(){ $("#Layer-35").show(); $("#Layer-34").hide(); });
  $("#Layer-36").addClass("Wrap-37-36").hide();
  $("#Layer-37").addClass("Wrap-37-36");
  $(".Wrap-37-36").hover(
    function(){ $("#Layer-36").show(); $("#Layer-37").hide(); },
    function(){ $("#Layer-37").show(); $("#Layer-36").hide(); });
  $("#Layer-38").addClass("Wrap-39-38").hide();
  $("#Layer-39").addClass("Wrap-39-38");
  $(".Wrap-39-38").hover(
    function(){ $("#Layer-38").show(); $("#Layer-39").hide(); },
    function(){ $("#Layer-39").show(); $("#Layer-38").hide(); });
  $("#Layer-40").addClass("Wrap-41-40").hide();
  $("#Layer-41").addClass("Wrap-41-40");
  $(".Wrap-41-40").hover(
    function(){ $("#Layer-40").show(); $("#Layer-41").hide(); },
    function(){ $("#Layer-41").show(); $("#Layer-40").hide(); });
  
  // This is code to handle the media_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 );
  });
  
  // This is code to handle the store_menu menu
  $("#Layer-31").hide().addClass("allMenus");
  $("#Layer-29").click(function(e){
    e.preventDefault();
    $(".allMenus").hide("slow");
    $("#Layer-31").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-31").hide("slow")', 4000 );
  });

});

