//
// wmob.js
//
//   This is where all the javascript required by your design is written.
//
//   Originally generated at http://psd2cssonline.com 
//   July 22, 2010, 7:40 pm with psd2css Online version 1.79

$(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.
  $("#wmob-3").addClass("Wrap-4-3").hide();
  $("#wmob-4").addClass("Wrap-4-3");
  $(".Wrap-4-3").hover(
    function(){ $("#wmob-3").show(); $("#wmob-4").hide(); },
    function(){ $("#wmob-4").show(); $("#wmob-3").hide(); });
  $("#wmob-5").addClass("Wrap-6-5").hide();
  $("#wmob-6").addClass("Wrap-6-5");
  $(".Wrap-6-5").hover(
    function(){ $("#wmob-5").show(); $("#wmob-6").hide(); },
    function(){ $("#wmob-6").show(); $("#wmob-5").hide(); });
  $("#wmob-7").addClass("Wrap-8-7").hide();
  $("#wmob-8").addClass("Wrap-8-7");
  $(".Wrap-8-7").hover(
    function(){ $("#wmob-7").show(); $("#wmob-8").hide(); },
    function(){ $("#wmob-8").show(); $("#wmob-7").hide(); });
  $("#wmob-9").addClass("Wrap-10-9").hide();
  $("#wmob-10").addClass("Wrap-10-9");
  $(".Wrap-10-9").hover(
    function(){ $("#wmob-9").show(); $("#wmob-10").hide(); },
    function(){ $("#wmob-10").show(); $("#wmob-9").hide(); });
  $("#wmob-11").addClass("Wrap-12-11").hide();
  $("#wmob-12").addClass("Wrap-12-11");
  $(".Wrap-12-11").hover(
    function(){ $("#wmob-11").show(); $("#wmob-12").hide(); },
    function(){ $("#wmob-12").show(); $("#wmob-11").hide(); });
  $("#wmob-13").addClass("Wrap-14-13").hide();
  $("#wmob-14").addClass("Wrap-14-13");
  $(".Wrap-14-13").hover(
    function(){ $("#wmob-13").show(); $("#wmob-14").hide(); },
    function(){ $("#wmob-14").show(); $("#wmob-13").hide(); });
  $("#wmob-15").addClass("Wrap-16-15").hide();
  $("#wmob-16").addClass("Wrap-16-15");
  $(".Wrap-16-15").hover(
    function(){ $("#wmob-15").show(); $("#wmob-16").hide(); },
    function(){ $("#wmob-16").show(); $("#wmob-15").hide(); });
  $("#wmob-24").addClass("Wrap-23-24").hide();
  $("#wmob-23").addClass("Wrap-23-24");
  $(".Wrap-23-24").hover(
    function(){ $("#wmob-24").show(); $("#wmob-23").hide(); },
    function(){ $("#wmob-23").show(); $("#wmob-24").hide(); });
  $("#wmob-28").addClass("Wrap-27-28").hide();
  $("#wmob-27").addClass("Wrap-27-28");
  $(".Wrap-27-28").hover(
    function(){ $("#wmob-28").show(); $("#wmob-27").hide(); },
    function(){ $("#wmob-27").show(); $("#wmob-28").hide(); });
  $("#wmob-30").addClass("Wrap-29-30").hide();
  $("#wmob-29").addClass("Wrap-29-30");
  $(".Wrap-29-30").hover(
    function(){ $("#wmob-30").show(); $("#wmob-29").hide(); },
    function(){ $("#wmob-29").show(); $("#wmob-30").hide(); });
  $("#wmob-32").addClass("Wrap-31-32").hide();
  $("#wmob-31").addClass("Wrap-31-32");
  $(".Wrap-31-32").hover(
    function(){ $("#wmob-32").show(); $("#wmob-31").hide(); },
    function(){ $("#wmob-31").show(); $("#wmob-32").hide(); });
  $("#wmob-37").addClass("Wrap-36-37").hide();
  $("#wmob-36").addClass("Wrap-36-37");
  $(".Wrap-36-37").hover(
    function(){ $("#wmob-37").show(); $("#wmob-36").hide(); },
    function(){ $("#wmob-36").show(); $("#wmob-37").hide(); });
  $("#wmob-39").addClass("Wrap-38-39").hide();
  $("#wmob-38").addClass("Wrap-38-39");
  $(".Wrap-38-39").hover(
    function(){ $("#wmob-39").show(); $("#wmob-38").hide(); },
    function(){ $("#wmob-38").show(); $("#wmob-39").hide(); });
  $("#wmob-41").addClass("Wrap-40-41").hide();
  $("#wmob-40").addClass("Wrap-40-41");
  $(".Wrap-40-41").hover(
    function(){ $("#wmob-41").show(); $("#wmob-40").hide(); },
    function(){ $("#wmob-40").show(); $("#wmob-41").hide(); });

  // Gallery Link   
  $("#wmob-90").addClass("Wrap-89-90").hide();
  $("#wmob-89").addClass("Wrap-89-90");
  $(".Wrap-89-90").hover(
    function(){ $("#wmob-90").show(); $("#wmob-89").hide(); },
    function(){ $("#wmob-89").show(); $("#wmob-90").hide(); });
  // End
  
  // Gallery Link 2 
  $("#wmob-67").addClass("Wrap-66-67").hide();
  $("#wmob-66").addClass("Wrap-66-67");
  $(".Wrap-66-67").hover(
    function(){ $("#wmob-67").show(); $("#wmob-66").hide(); },
    function(){ $("#wmob-66").show(); $("#wmob-67").hide(); });
  // End
  
  $("#wmob-94").addClass("Wrap-95-94").hide();
  $("#wmob-95").addClass("Wrap-95-94");
  $(".Wrap-95-94").hover(
    function(){ $("#wmob-94").show(); $("#wmob-95").hide(); },
    function(){ $("#wmob-95").show(); $("#wmob-94").hide(); });
  $("#wmob-103").addClass("Wrap-102-103").hide();
  $("#wmob-102").addClass("Wrap-102-103");
  $(".Wrap-102-103").hover(
    function(){ $("#wmob-103").show(); $("#wmob-102").hide(); },
    function(){ $("#wmob-102").show(); $("#wmob-103").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',
    */
  });

});

