';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').unbind('click').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;$(document).on('show.bs.modal',function(){pS=window.scrollY;$('.modal-open').css({marginTop:-pS,overflow:'hidden',left:0,right:0,top:0,bottom:0,position:'fixed',})}).on('hidden.bs.modal',function(){$('.modal-open').css({marginTop:0,overflow:'visible',left:'auto',right:'auto',top:'auto',bottom:'auto',position:'inherit',});window.scrollTo(0,pS)})}});