<!--
function setCookie(strName, strValue, strExpires, boolSecure) {
  document.cookie= strCookiePrefix + strName + "=" + escape(strValue) + 
  ((strExpires) ? "; expires=" + strExpires.toGMTString() : "") + 
  ((strCookiePath) ? "; path=" + strCookiePath : "") + 
  ((strCookieDomain) ? "; domain=" + strCookieDomain : "") + 
  ((boolSecure) ? "; secure" : "");
}

function getCookie(strName) {
  var strDc = document.cookie;
  var strPrefix = strCookiePrefix + strName + "=";
  var strBegin = strDc.indexOf("; " + strPrefix);
  if (strBegin == -1) {
    strBegin = strDc.indexOf(strPrefix);
    if (strBegin != 0) return null;
  } else {
    strBegin += 2;
  }
  var strEnd = document.cookie.indexOf(";", strBegin);
  if (strEnd == -1) {
    strEnd = strDc.length;
  }
  return unescape(strDc.substring(strBegin + strPrefix.length, strEnd));
}

function doDeleteCookie(strName) {
  if (getCookie(strName)) {
    document.cookie = strCookiePrefix + strName + "=" + 
    ((strCookiePath) ? "; path=" + strCookiePath : "") + 
    ((strCookieDomain) ? "; domain=" + strCookieDomain : "") + 
    "; expires=Thu, 01-Jan-70 00:00:01 GMT";
  }
}
-->  


