     <!-- Hide from older browsers
// includes getCookie and setCookie
// caller has to use returnVal variable to get result in getCookie

       var cokky = document.cookie;
       var returnVal;

       function getCookie(itemName,itemValue) { // use: getCookie("name",returnVal);
         var index = cokky.indexOf(itemName + "=");
         if (index == -1) {result=null; return};
         index = cokky.indexOf("=", index) + 1;
         var endstr = cokky.indexOf(";", index);
         if (endstr == -1) endstr = cokky.length;
         returnVal = unescape(cokky.substring(index, endstr));
       }

       var today = new Date();
       var expiry = new Date(today.getTime() + 365 * 24 * 60 * 60 * 1000); // plus 365 days

       function setCookie(itemName, value) { // use: setCookie("name", value);
         if (value != null && value != "")
           document.cookie=itemName + "=" + escape(value) + "; expires=" + expiry.toGMTString();
       }

// Stop Hiding -->
