function get_Cookie(cookieName) {
var cookieString = document.cookie;
var start = cookieString.indexOf(cookieName + '=');
if (start == -1)
return null;
start += cookieName.length + 1;
var end = cookieString.indexOf(';', start);
if (end == -1) return unescape(cookieString.substring(start));
return unescape(cookieString.substring(start, end));
}
function setCookie(cvalue,exdays)
{
var d = new Date();
d.setTime(d.getTime()+(exdays*24*60*60*1000));
var expires = "expires="+d.toGMTString();
document.cookie = cvalue + "; path=/;" + expires;
}
ck=get_Cookie('lt8org');
if (pdweb!=null)
{
if (ck!=null){
if (ck.indexOf(pdweb) == -1){
ck=ck+'_'+pdweb;
}
}else{ck=pdweb;}
}
setCookie('lt8org='+ck,7);
str=ck;
body="";
const arr =str.split('_');
let i=0;
for(i in arr) {
str2=arr[i];
if (str2!=""){
if (body==""){body=''+str2+'';}
else{body=body+' | '+str2+'';}
}
}
if (body!=""){jl.innerHTML = body;}