//
// psd2css.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   January 14, 2009, 8:36 pm with psd2css Online version 1.31

$(document).ready(function(){

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

  // 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-8-7").hide();
  $("#Layer-8").addClass("Wrap-8-7");
  $(".Wrap-8-7").hover(
    function(){ $("#Layer-7").show(); $("#Layer-8").hide(); },
    function(){ $("#Layer-8").show(); $("#Layer-7").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-22").addClass("Wrap-23-22").hide();
  $("#Layer-23").addClass("Wrap-23-22");
  $(".Wrap-23-22").hover(
    function(){ $("#Layer-22").show(); $("#Layer-23").hide(); },
    function(){ $("#Layer-23").show(); $("#Layer-22").hide(); });
  $("#Layer-24").addClass("Wrap-25-24").hide();
  $("#Layer-25").addClass("Wrap-25-24");
  $(".Wrap-25-24").hover(
    function(){ $("#Layer-24").show(); $("#Layer-25").hide(); },
    function(){ $("#Layer-25").show(); $("#Layer-24").hide(); });
  $("#Layer-26").addClass("Wrap-27-26").hide();
  $("#Layer-27").addClass("Wrap-27-26");
  $(".Wrap-27-26").hover(
    function(){ $("#Layer-26").show(); $("#Layer-27").hide(); },
    function(){ $("#Layer-27").show(); $("#Layer-26").hide(); });
  $("#Layer-28").addClass("Wrap-29-28").hide();
  $("#Layer-29").addClass("Wrap-29-28");
  $(".Wrap-29-28").hover(
    function(){ $("#Layer-28").show(); $("#Layer-29").hide(); },
    function(){ $("#Layer-29").show(); $("#Layer-28").hide(); });

  // 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',
    */
  });

});
