//
// psd2css.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   August 29, 2009, 2:18 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-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-10").addClass("Wrap-7-10").hide();
  $("#Layer-7").addClass("Wrap-7-10");
  $(".Wrap-7-10").hover(
    function(){ $("#Layer-10").show(); $("#Layer-7").hide(); },
    function(){ $("#Layer-7").show(); $("#Layer-10").hide(); });
  $("#Layer-11").addClass("Wrap-8-11").hide();
  $("#Layer-8").addClass("Wrap-8-11");
  $(".Wrap-8-11").hover(
    function(){ $("#Layer-11").show(); $("#Layer-8").hide(); },
    function(){ $("#Layer-8").show(); $("#Layer-11").hide(); });
  $("#Layer-16").addClass("Wrap-13-16").hide();
  $("#Layer-13").addClass("Wrap-13-16");
  $(".Wrap-13-16").hover(
    function(){ $("#Layer-16").show(); $("#Layer-13").hide(); },
    function(){ $("#Layer-13").show(); $("#Layer-16").hide(); });
  $("#Layer-17").addClass("Wrap-14-17").hide();
  $("#Layer-14").addClass("Wrap-14-17");
  $(".Wrap-14-17").hover(
    function(){ $("#Layer-17").show(); $("#Layer-14").hide(); },
    function(){ $("#Layer-14").show(); $("#Layer-17").hide(); });
  $("#Layer-18").addClass("Wrap-15-18").hide();
  $("#Layer-15").addClass("Wrap-15-18");
  $(".Wrap-15-18").hover(
    function(){ $("#Layer-18").show(); $("#Layer-15").hide(); },
    function(){ $("#Layer-15").show(); $("#Layer-18").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-35-32").hide();
  $("#Layer-35").addClass("Wrap-35-32");
  $(".Wrap-35-32").hover(
    function(){ $("#Layer-32").show(); $("#Layer-35").hide(); },
    function(){ $("#Layer-35").show(); $("#Layer-32").hide(); });
  $("#Layer-33").addClass("Wrap-36-33").hide();
  $("#Layer-36").addClass("Wrap-36-33");
  $(".Wrap-36-33").hover(
    function(){ $("#Layer-33").show(); $("#Layer-36").hide(); },
    function(){ $("#Layer-36").show(); $("#Layer-33").hide(); });
  $("#Layer-34").addClass("Wrap-37-34").hide();
  $("#Layer-37").addClass("Wrap-37-34");
  $(".Wrap-37-34").hover(
    function(){ $("#Layer-34").show(); $("#Layer-37").hide(); },
    function(){ $("#Layer-37").show(); $("#Layer-34").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-41").addClass("Wrap-42-41").hide();
  $("#Layer-42").addClass("Wrap-42-41");
  $(".Wrap-42-41").hover(
    function(){ $("#Layer-41").show(); $("#Layer-42").hide(); },
    function(){ $("#Layer-42").show(); $("#Layer-41").hide(); });
  $("#Layer-43").addClass("Wrap-44-43").hide();
  $("#Layer-44").addClass("Wrap-44-43");
  $(".Wrap-44-43").hover(
    function(){ $("#Layer-43").show(); $("#Layer-44").hide(); },
    function(){ $("#Layer-44").show(); $("#Layer-43").hide(); });
  $("#Layer-45").addClass("Wrap-46-45").hide();
  $("#Layer-46").addClass("Wrap-46-45");
  $(".Wrap-46-45").hover(
    function(){ $("#Layer-45").show(); $("#Layer-46").hide(); },
    function(){ $("#Layer-46").show(); $("#Layer-45").hide(); });
  $("#Layer-47").addClass("Wrap-48-47").hide();
  $("#Layer-48").addClass("Wrap-48-47");
  $(".Wrap-48-47").hover(
    function(){ $("#Layer-47").show(); $("#Layer-48").hide(); },
    function(){ $("#Layer-48").show(); $("#Layer-47").hide(); });
  $("#Layer-49").addClass("Wrap-50-49").hide();
  $("#Layer-50").addClass("Wrap-50-49");
  $(".Wrap-50-49").hover(
    function(){ $("#Layer-49").show(); $("#Layer-50").hide(); },
    function(){ $("#Layer-50").show(); $("#Layer-49").hide(); });
  
  // This is code to handle the media_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 );
  });
  
  // This is code to handle the store_menu menu
  $("#Layer-40").hide().addClass("allMenus");
  $("#Layer-38").click(function(e){
    e.preventDefault();
    $(".allMenus").hide("slow");
    $("#Layer-40").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-40").hide("slow")', 4000 );
  });

  // Here is the javascript that connects your lbthumb layers to
  // your jpeg images for lightbox.  There are a number of options
  // here you can modify.  Check their website for documentation.
  $('a.lightbox').lightBox({
    imageBtnClose: 'close.gif',
    imageBtnNext: 'next.gif',
    imageBtnPrev: 'prev.gif',
    imageLoading: 'loading.gif',
    containerResizeSpeed: 500,
    overlayBgColor: '#000' 
    /* 
    txtOf: 'de'  
    overlayOpacity: 0.6,
    txtImage: 'Imagem',
    */
  });

});

