

$(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-12").addClass("Wrap-11-12").hide();
  $("#Layer-11").addClass("Wrap-11-12");
  $(".Wrap-11-12").hover(
    function(){ $("#Layer-12").show(); $("#Layer-11").hide(); },
    function(){ $("#Layer-11").show(); $("#Layer-12").hide(); });
  $("#Layer-13").addClass("Wrap-10-13").hide();
  $("#Layer-10").addClass("Wrap-10-13");
  $(".Wrap-10-13").hover(
    function(){ $("#Layer-13").show(); $("#Layer-10").hide(); },
    function(){ $("#Layer-10").show(); $("#Layer-13").hide(); });
  $("#Layer-14").addClass("Wrap-9-14").hide();
  $("#Layer-9").addClass("Wrap-9-14");
  $(".Wrap-9-14").hover(
    function(){ $("#Layer-14").show(); $("#Layer-9").hide(); },
    function(){ $("#Layer-9").show(); $("#Layer-14").hide(); });
  $("#Layer-15").addClass("Wrap-8-15").hide();
  $("#Layer-8").addClass("Wrap-8-15");
  $(".Wrap-8-15").hover(
    function(){ $("#Layer-15").show(); $("#Layer-8").hide(); },
    function(){ $("#Layer-8").show(); $("#Layer-15").hide(); });


/*LIGHTBOX INITIATING SCRIPT*/
$('#gallery a').lightBox({
    imageBtnClose: 'images/lightbox-close.gif',
    imageBtnNext: 'images/lightbox-next.gif',
    imageBtnPrev: 'images/lightbox-prev.gif',
    imageLoading: 'images/lightbox-loading.gif',
    containerResizeSpeed: 500,
    overlayBgColor: '#000' 
    /* 
    txtOf: 'de'  
    overlayOpacity: 0.6,
    txtImage: 'Imagem',
    */
  
 /* <
$(function() {
	// Use this example, or...
	$('a[@rel*=lightbox]').lightBox(); // Select all links that contains lightbox in the attribute rel
	// This, or...
	$('#gallery a').lightBox(); // Select all links in object with gallery ID
	// This, or...
	$('a.lightbox').lightBox(); // Select all links with lightbox class
	// This, or...
	$('a').lightBox(); // Select all links in the page
	// ... The possibility are many. Use your creative or choose one in the examples above
});
</script>;*/
  })

});
