

$(document).ready(function(){

  initGallery();
  initPanels();
  
  $('.scroll-pane').jScrollPane({
    showArrows:false,
    autoReinitialise:true
  });

  $('.scroll-pane1').jScrollPane({
    showArrows:false,
    autoReinitialise:true
  });

  $('.scroll-pane2').jScrollPane({
    showArrows:false,
    autoReinitialise:true
  });


  $("a.fullscreen").click(function () {
   //$(this).attr('rel') = 'prettyPhoto[dd]';
      /*
      $("li").each(function(){
        $(this).toggleClass("example");
      });
      */
     
    });
    
 

  $("a[rel^='prettyPhoto[full]']").prettyPhoto({
    overlay_gallery: false,
    deeplinking: false,
    theme: 'dark_rounded', // light_rounded / dark_rounded / light_square / dark_square / facebook 
    allow_resize: true
  });
  

  
});

