//
// psd2css.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   April 24, 2009, 5:08 am with psd2css Online version 1.36

$(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-24").addClass("Wrap-14-24").hide();
  $("#Layer-14").addClass("Wrap-14-24");
  $(".Wrap-14-24").hover(
    function(){ $("#Layer-24").show(); $("#Layer-14").hide(); },
    function(){ $("#Layer-14").show(); $("#Layer-24").hide(); });
  $("#Layer-25").addClass("Wrap-15-25").hide();
  $("#Layer-15").addClass("Wrap-15-25");
  $(".Wrap-15-25").hover(
    function(){ $("#Layer-25").show(); $("#Layer-15").hide(); },
    function(){ $("#Layer-15").show(); $("#Layer-25").hide(); });
  $("#Layer-26").addClass("Wrap-16-26").hide();
  $("#Layer-16").addClass("Wrap-16-26");
  $(".Wrap-16-26").hover(
    function(){ $("#Layer-26").show(); $("#Layer-16").hide(); },
    function(){ $("#Layer-16").show(); $("#Layer-26").hide(); });
  $("#Layer-27").addClass("Wrap-17-27").hide();
  $("#Layer-17").addClass("Wrap-17-27");
  $(".Wrap-17-27").hover(
    function(){ $("#Layer-27").show(); $("#Layer-17").hide(); },
    function(){ $("#Layer-17").show(); $("#Layer-27").hide(); });
  $("#Layer-28").addClass("Wrap-18-28").hide();
  $("#Layer-18").addClass("Wrap-18-28");
  $(".Wrap-18-28").hover(
    function(){ $("#Layer-28").show(); $("#Layer-18").hide(); },
    function(){ $("#Layer-18").show(); $("#Layer-28").hide(); });
  $("#Layer-29").addClass("Wrap-19-29").hide();
  $("#Layer-19").addClass("Wrap-19-29");
  $(".Wrap-19-29").hover(
    function(){ $("#Layer-29").show(); $("#Layer-19").hide(); },
    function(){ $("#Layer-19").show(); $("#Layer-29").hide(); });
  $("#Layer-30").addClass("Wrap-20-30").hide();
  $("#Layer-20").addClass("Wrap-20-30");
  $(".Wrap-20-30").hover(
    function(){ $("#Layer-30").show(); $("#Layer-20").hide(); },
    function(){ $("#Layer-20").show(); $("#Layer-30").hide(); });
  $("#Layer-31").addClass("Wrap-21-31").hide();
  $("#Layer-21").addClass("Wrap-21-31");
  $(".Wrap-21-31").hover(
    function(){ $("#Layer-31").show(); $("#Layer-21").hide(); },
    function(){ $("#Layer-21").show(); $("#Layer-31").hide(); });
  $("#Layer-32").addClass("Wrap-22-32").hide();
  $("#Layer-22").addClass("Wrap-22-32");
  $(".Wrap-22-32").hover(
    function(){ $("#Layer-32").show(); $("#Layer-22").hide(); },
    function(){ $("#Layer-22").show(); $("#Layer-32").hide(); });
  $("#Layer-33").addClass("Wrap-23-33").hide();
  $("#Layer-23").addClass("Wrap-23-33");
  $(".Wrap-23-33").hover(
    function(){ $("#Layer-33").show(); $("#Layer-23").hide(); },
    function(){ $("#Layer-23").show(); $("#Layer-33").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',
    */
  });

});

