';var img=iframe;$carousel+=img;$carousel+='

';$i++});$carousel+='
';if($images.length>1){$carousel+='';$carousel+='';$carousel+=' ';$carousel+='';$carousel+=''}$carousel+='
';var $close='';jQuery('.aui-carousel-modal .modal-content').html($carousel).prepend($close)}}function aui_init_lightbox_embed(){jQuery('.aui-lightbox-image, .aui-lightbox-iframe').off('click').on("click",function(ele){aui_lightbox_embed(this,ele)})}function aui_init(){init_nav_sub_menus();aui_init_tooltips();aui_init_select2();aui_init_flatpickr();aui_init_greedy_nav();aui_time_ago('timeago');aui_init_carousel_multiple_items();aui_init_lightbox_embed()}jQuery(window).on("load",function(){aui_init()});jQuery(function($){var ua=navigator.userAgent.toLowerCase();var isiOS=ua.match(/(iphone|ipod|ipad)/);if(isiOS){var pS=0;pM=parseFloat($('body').css('marginTop'));$(document).on('show.bs.modal',function(){pS=window.scrollY;$('body').css({marginTop:-pS,overflow:'hidden',position:'fixed',})}).on('hidden.bs.modal',function(){$('body').css({marginTop:pM,overflow:'visible',position:'inherit',});window.scrollTo(0,pS)})}});