';}else if(xmlhttp.readyState==1){lokLS.innerHTML='Loading...
';lokLS.removeAttribute("class");}else if(xmlhttp.readyState==4&&xmlhttp.status==200){lokLS.innerHTML=xmlhttp.responseText;lokLS.removeAttribute("class");}};xmlhttp.open("GET",uriLS+"?cari="+str,true);xmlhttp.send();tamperDataLS=str;}textInput.onkeyup=function(e){clearTimeout(timerLS);timerLS=setTimeout(function(){var re=/^[a-zA-Z0-9+]+$/;var string_find=textInput.value;var res=string_find.replace(/ /g,"+");var has=re.test(res);if(res.length==0){lokLS.innerHTML="";lokLS.classList.add("hidden-tab");return;}else if(!has){return false;}else if(has){showResult(res);}},1000);};function gantiHalaman(a){var id=a.getAttribute("data-id");var xmlhttp;if(window.XMLHttpRequest){xmlhttp=new XMLHttpRequest();}else{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");}xmlhttp.onreadystatechange=function(){if(xmlhttp.readyState==4&&xmlhttp.status==200){lokLS.innerHTML=xmlhttp.responseText;}};xmlhttp.open("GET",uriLS+"?cari="+tamperDataLS+"&page="+id,true);xmlhttp.send();}function closeResult(){textInput.value="";lokLS.innerHTML="";lokLS.classList.add("hidden-tab");}function v_js_google_analytic(){(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create','UA-46770736-6','auto');ga('send','pageview');}var lazyscript=false;window.onscroll=function(){if((document.documentElement.scrollTop!=0 && lazyscript===false) || (document.body.scrollTop!=0 && lazyscript===false)){v_js_google_analytic();lazyscript=true;};};