//
// psd2css.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   February 3, 2010, 8:34 am with psd2css Online version 1.71

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-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(); });
  $("#Layer-51").addClass("Wrap-52-51").hide();
  $("#Layer-52").addClass("Wrap-52-51");
  $(".Wrap-52-51").hover(
    function(){ $("#Layer-51").show(); $("#Layer-52").hide(); },
    function(){ $("#Layer-52").show(); $("#Layer-51").hide(); });
  $("#Layer-66").addClass("Wrap-67-66").hide();
  $("#Layer-67").addClass("Wrap-67-66");
  $(".Wrap-67-66").hover(
    function(){ $("#Layer-66").show(); $("#Layer-67").hide(); },
    function(){ $("#Layer-67").show(); $("#Layer-66").hide(); });
  $("#Layer-68").addClass("Wrap-69-68").hide();
  $("#Layer-69").addClass("Wrap-69-68");
  $(".Wrap-69-68").hover(
    function(){ $("#Layer-68").show(); $("#Layer-69").hide(); },
    function(){ $("#Layer-69").show(); $("#Layer-68").hide(); });
  $("#Layer-70").addClass("Wrap-71-70").hide();
  $("#Layer-71").addClass("Wrap-71-70");
  $(".Wrap-71-70").hover(
    function(){ $("#Layer-70").show(); $("#Layer-71").hide(); },
    function(){ $("#Layer-71").show(); $("#Layer-70").hide(); });
  $("#Layer-72").addClass("Wrap-73-72").hide();
  $("#Layer-73").addClass("Wrap-73-72");
  $(".Wrap-73-72").hover(
    function(){ $("#Layer-72").show(); $("#Layer-73").hide(); },
    function(){ $("#Layer-73").show(); $("#Layer-72").hide(); });
  
  // This is code to handle the feedback_menu_fixed menu
  $("#Layer-54").hide().addClass("allMenus");
  $("#Layer-61").click(function(e){
    e.preventDefault();
    $(".allMenus").hide("slow");
    $("#Layer-54").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-54").hide("slow")', 4000 );
  });


  /* Here we take care of any _close layers you have made */
  $("#Layer-60").click(function(){ $("#Layer-60").parent().hide("slow"); });

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

});

