',iframe:'',error:'
The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'',next:'',prev:''},helpers:{title:{type:'float'},},beforeLoad:function(){this.title=$(this.element).attr('data-envira-caption');},afterLoad:function(){$('envirabox-overlay-fixed').on({'touchmove':function(e){e.preventDefault();}});},beforeShow:function(){$(window).on({'resize.envirabox':function(){$.envirabox.update();}});if(typeof this.element==='undefined'){var gallery_id=this.group[this.index].gallery_id;var gallery_item_id=this.group[this.index].id;var alt=this.group[this.index].alt;var title=this.group[this.index].title;var caption=this.group[this.index].caption;var index=this.index;}else{var gallery_id=this.element.find('img').data('envira-gallery-id');var gallery_item_id=this.element.find('img').data('envira-item-id');var alt=this.element.find('img').attr('alt');var title=this.element.find('img').parent().attr('title');var caption=this.element.find('img').parent().data('envira-caption');var retina_image=this.element.find('img').parent().data('envira-retina');var index=this.element.find('img').data('envira-index');}this.inner.find('img').attr('alt',alt).attr('data-envira-gallery-id',gallery_id).attr('data-envira-item-id',gallery_item_id).attr('data-envira-title',title).attr('data-envira-caption',caption).attr('data-envira-index',index);if(typeof retina_image!=='undefined'&&retina_image!==''){this.inner.find('img').attr('srcset',retina_image+' 2x');}},onStart:function(){$('#envirabox-wrap, #envirabox-wrap #envirabox-left, #envirabox-wrap #envirabox-right').swipe({excludedElements:"label, button, input, select, textarea, .noSwipe",swipe:function(event,direction,distance,duration,fingerCount,fingerData){if(direction==='left'){$.envirabox.next(direction);}else if(direction==='right'){$.envirabox.prev(direction);}else if(direction==='up'){$.envirabox.close();}}});},beforeClose:function(){},afterClose:function(){$(window).off('resize.envirabox');},onUpdate:function(){},onCancel:function(){},onPlayStart:function(){},onPlayEnd:function(){}};envira_galleries['5199']=$('.envira-gallery-5199').envirabox(envira_gallery_options);});