")}),$(".elem").click(function(){$(this).html();var e=$(this).attr("data-url");$(location).attr("href",e)})}):$(id_list).html("")}}),$(id_input).keydown(function(t){switch(t.keyCode){case 13:if(suggest_selected){t.preventDefault();$(id_list+" div").eq(suggest_selected-1).html();var n=$(this).attr("data-url");$(location).attr("href",n)}break;case 27:return $(id_list).hide(),!1;case 38:case 40:t.preventDefault(),suggest_count&&e(t.keyCode-39)}}),$(id_input).blur(function(){$(id_list).fadeOut(500)}).focus(function(){$(id_list).show()}),function(){function e(e){var t=0;if(e.offsetParent){do{t+=e.offsetTop}while(e=e.offsetParent);return t}}var t=window.addEventListener||function(e,t){window.attachEvent("on"+e,t)},n=window.removeEventListener||function(e,t){window.detachEvent("on"+e,t)},r={cache:[],mobileScreenSize:500,addObservers:function(){t("scroll",r.throttledLoad),t("resize",r.throttledLoad)},removeObservers:function(){n("scroll",r.throttledLoad,!1),n("resize",r.throttledLoad,!1)},throttleTimer:(new Date).getTime(),throttledLoad:function(){var e=(new Date).getTime();e-r.throttleTimer>=200&&(r.throttleTimer=e,r.loadVisibleImages())},loadVisibleImages:function(){for(var t=window.pageYOffset||document.documentElement.scrollTop,n=t-600,i=t+(window.innerHeight||document.documentElement.clientHeight)+600,o=0;o=n-(a.height||0)&&s<=i){var u=a.getAttribute("data-src-mobile");a.onload=function(){this.className=this.className.replace(/(^|\s+)lazy-load(\s+|$)/,"$1lazy-loaded$2")},img_data_src=u&&screen.width<=r.mobileScreenSize?u:a.getAttribute("data-src"),a.src=img_proxy(img_data_src),r.cache.splice(o,1)}else o++}0===r.cache.length&&r.removeObservers()},init:function(){document.querySelectorAll||(document.querySelectorAll=function(e){var t=document,n=t.documentElement.firstChild,r=t.createElement("STYLE");return n.appendChild(r),t.__qsaels=[],r.styleSheet.cssText=e+"{x:expression(document.__qsaels.push(this))}",window.scrollBy(0,0),t.__qsaels}),t("load",function e(){for(var t=document.querySelectorAll("img[data-src]"),i=0;i