jQuery(function($) { if( $('#F5EGOC2Q99').length>0) $('#F5EGOC2Q99').galleria({ width:800, height:500, transition :"fade", extend: function(options) { // listen to when an image is shown this.bind('image', function(e) { }); } }); if( $('#95OC0R8FU2').length>0) $('#95OC0R8FU2').galleria({ width:800, height:500, transition :"fade", extend: function(options) { // listen to when an image is shown this.bind('image', function(e) { }); } }); if( $('#53THWA1XW4').length>0) $('#53THWA1XW4').galleria({ width:1000, height:500, transition :"fade", extend: function(options) { // listen to when an image is shown this.bind('image', function(e) { }); } }); });