Operate cookie
-------------------------------------------------- -------------------------------------
function getCookieVal (offset) {var endstr = documents.cookie.indexOf ( ";", offset); if (endstr == -1) endstr = documents.cookie.length; return unescape (documents.cookie.substring (offset, endstr );} Function setCookie (Name, Value) {var argv = setCookie.Arguments; var argc = setCookie.Arguments.Length; var expires = (2