Writing a Cookie
function WriteCookie(cookievalue) { //set Cookie document.cookie = cookievalue; }
Reading a Cookie