var EM = {"ajaxurl":"https:\/\/katybirthcenter.com\/wp-admin\/admin-ajax.php","locationajaxurl":"https:\/\/katybirthcenter.com\/wp-admin\/admin-ajax.php?action=locations_search","firstDay":"1","locale":"en","dateFormat":"yy-mm-dd","ui_css":"https:\/\/katybirthcenter.com\/wp-content\/plugins\/events-manager\/includes\/css\/jquery-ui\/build.min.css","show24hours":"0","is_ssl":"1","autocomplete_limit":"10","calendar":{"breakpoints":{"small":560,"medium":908,"large":false}},"phone":"","datepicker":{"format":"d\/m\/Y"},"search":{"breakpoints":{"small":650,"medium":850,"full":false}},"url":"https:\/\/katybirthcenter.com\/wp-content\/plugins\/events-manager","bookingInProgress":"Please wait while the booking is being submitted.","tickets_save":"Save Ticket","bookingajaxurl":"https:\/\/katybirthcenter.com\/wp-admin\/admin-ajax.php","bookings_export_save":"Export Bookings","bookings_settings_save":"Save Settings","booking_delete":"Are you sure you want to delete?","booking_offset":"30","bookings":{"submit_button":{"text":{"default":"Send your booking","free":"Send your booking","payment":"Send your booking","processing":"Processing ..."}},"update_listener":""},"bb_full":"Sold Out","bb_book":"Book Now","bb_booking":"Booking...","bb_booked":"Booking Submitted","bb_error":"Booking Error. Try again?","bb_cancel":"Cancel","bb_canceling":"Canceling...","bb_cancelled":"Cancelled","bb_cancel_error":"Cancellation Error. Try again?","txt_search":"Search","txt_searching":"Searching...","txt_loading":"Loading..."};
(function($) {
//remove a tag from ngg slideshow images to prevent redirecting to image file
$('.ngg-gallery-slideshow-image img').each(function(){
$(this).unwrap('a');
});
// add slide next when the image is clicked to replicate the old ngg slideshow function
$('.ngg-slideshow').click(function(){
$('.ngg-slideshow').slick('slickNext');
});
})( jQuery );