//
// psd2css.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   October 12, 2010, 7:21 pm with psd2css Online version 1.88

$(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-6").addClass("Wrap-5-6").hide();
  $("#Layer-5").addClass("Wrap-5-6");
  $(".Wrap-5-6").hover(
    function(){ $("#Layer-6").show(); $("#Layer-5").hide(); },
    function(){ $("#Layer-5").show(); $("#Layer-6").hide(); });
  $("#Layer-11").addClass("Wrap-10-11").hide();
  $("#Layer-10").addClass("Wrap-10-11");
  $(".Wrap-10-11").hover(
    function(){ $("#Layer-11").show(); $("#Layer-10").hide(); },
    function(){ $("#Layer-10").show(); $("#Layer-11").hide(); });
  $("#Layer-13").addClass("Wrap-12-13").hide();
  $("#Layer-12").addClass("Wrap-12-13");
  $(".Wrap-12-13").hover(
    function(){ $("#Layer-13").show(); $("#Layer-12").hide(); },
    function(){ $("#Layer-12").show(); $("#Layer-13").hide(); });
  $("#Layer-15").addClass("Wrap-14-15").hide();
  $("#Layer-14").addClass("Wrap-14-15");
  $(".Wrap-14-15").hover(
    function(){ $("#Layer-15").show(); $("#Layer-14").hide(); },
    function(){ $("#Layer-14").show(); $("#Layer-15").hide(); });
  $("#Layer-17").addClass("Wrap-16-17").hide();
  $("#Layer-16").addClass("Wrap-16-17");
  $(".Wrap-16-17").hover(
    function(){ $("#Layer-17").show(); $("#Layer-16").hide(); },
    function(){ $("#Layer-16").show(); $("#Layer-17").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',
    */
  });

});

