//
// psd2css.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   April 13, 2010, 2:06 am with psd2css Online version 1.77

$(document).ready(function(){

  // This is required for the PNG fix to work.
  if (window.DD_belatedPNG)
    DD_belatedPNG.fix('.pngimg');

  // 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-33").addClass("Wrap-34-33").hide();
  $("#Layer-34").addClass("Wrap-34-33");
  $(".Wrap-34-33").hover(
    function(){ $("#Layer-33").show(); $("#Layer-34").hide(); },
    function(){ $("#Layer-34").show(); $("#Layer-33").hide(); });
  $("#Layer-35").addClass("Wrap-36-35").hide();
  $("#Layer-36").addClass("Wrap-36-35");
  $(".Wrap-36-35").hover(
    function(){ $("#Layer-35").show(); $("#Layer-36").hide(); },
    function(){ $("#Layer-36").show(); $("#Layer-35").hide(); });
  $("#Layer-37").addClass("Wrap-38-37").hide();
  $("#Layer-38").addClass("Wrap-38-37");
  $(".Wrap-38-37").hover(
    function(){ $("#Layer-37").show(); $("#Layer-38").hide(); },
    function(){ $("#Layer-38").show(); $("#Layer-37").hide(); });
  $("#Layer-39").addClass("Wrap-40-39").hide();
  $("#Layer-40").addClass("Wrap-40-39");
  $(".Wrap-40-39").hover(
    function(){ $("#Layer-39").show(); $("#Layer-40").hide(); },
    function(){ $("#Layer-40").show(); $("#Layer-39").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',
    */
  });

});

