(function(){function getParam(p){var match=RegExp('[?&]'+p+'=([^&]*)').exec(window.location.search) return match&&decodeURIComponent(match[1].replace(/\+/g,' '))} function getExpiryRecord(value){var expiryPeriod=90*24*60*60*1000 var expiryDate=new Date().getTime()+expiryPeriod return{value:value,expiryDate:expiryDate}} function getScript(url,success){var script=document.createElement('script') script.src=url var head=document.getElementsByTagName('head')[0] var done=false script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState==='loaded'||this.readyState==='complete')){done=true if(typeof success==='function'){success()} script.onload=script.onreadystatechange=null head.removeChild(script)}} head.appendChild(script)} getScript('https://kerjoo.com/wp-content/themes/kerjootheme-v2/assets/js/3.6.0_jquery.min.js',function(){getScript('https://kerjoo.com/wp-content/plugins/elementor/assets/js/frontend-modules.min.js?ver=3.4.3') getScript('https://kerjoo.com/wp-content/plugins/elementor/assets/js/webpack.runtime.min.js?ver=3.4.3') getScript('https://kerjoo.com/wp-content/plugins/elementor/assets/lib/waypoints/waypoints.min.js?ver=4.0.2') getScript('https://kerjoo.com/wp-content/themes/kerjootheme-v2/assets/js/4.6.0_js_bootstrap.bundle.min.js') getScript('https://kerjoo.com/wp-content/themes/kerjootheme-v2/assets/js/main.min.js') getScript('https://kerjoo.com/wp-content/themes/kerjootheme-v2/assets/js/darkmode.min.js') const $=window.$ function getCookie(cname){let name=cname+"=";let decodedCookie=decodeURIComponent(document.cookie);let ca=decodedCookie.split(';');for(let i=0;i{$('#banner-webinar').modal('show');},3000)}}});$('#close-banner-webinar').on('click',function(){var expiryDate=new Date();expiryDate.setMonth(expiryDate.getMonth()+1);document.cookie='closeBannerWebinar'+'=1; expires='+expiryDate.toGMTString();});function addGclid(){var gclidParam=getParam('gclid') var gclidRecord=null var gclsrcParam=getParam('gclsrc') var isGclsrcValid=!gclsrcParam||gclsrcParam.indexOf('aw')!==-1 if(gclidParam&&isGclsrcValid){gclidRecord=getExpiryRecord(gclidParam) window.localStorage.setItem('gclid',JSON.stringify(gclidRecord))} var gclid=gclidRecord||JSON.parse(window.localStorage.getItem('gclid')) var isGclidValid=gclid&&new Date().getTime()