Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
function readCookie(name,delimit)
{
if (document.cookie == ')
{
return false;
}
else
{
var fC,lC;
var mcookie = unescape(document.cookie);
fC = mcookie.indexOf(name);
var ph = fC + name.length;
if ((fC != -1) && (mcookie.charAt(ph) == '='))
{
fC += name.length + 1;
lC = mcookie.indexOf(delimit,fC);
if (lC == -1) lC = mcookie.length;
return unescape(mcookie.substring(fC,lC));
}
else
{
return false;
}
}
}
function writeCookie(name,value,delimit)
{
if (document.cookie == ')
{
document.cookie = escape( name + "=" + value );
return false;
}
else
{
var B4,Af,fC,lC;
var mcookie = unescape(document.cookie);
var ncookie;
fC = mcookie.indexOf(name);
var ph = fC + name.length;
if ((fC != -1) && (mcookie.charAt(ph) == '='))
{
B4 = mcookie.substring(0,fC);
fC += name.length + 1;
lC = mcookie.indexOf(delimit,fC);
if (lC == -1) lC = mcookie.length;
if (lC == mcookie.length)
{
ncookie = B4 + name + "=" + value;
document.cookie = escape(ncookie);
return true;
}
else
{
Af = mcookie.substring(lC,mcookie.length);
ncookie = B4 + name + "=" + value + Af;
document.cookie = escape(ncookie);
return true;
}
}
else
{
ncookie = mcookie + delimit + name + "=" + value;
document.cookie = escape(ncookie);
return false;
}
}
}