This set of functions eases the pain of using cookies. It includes separate functions to set, read, and kill cookies, as well as a function to test whether the user accepts cookies at all.
Usage: WM_setCookie('name', 'value'[, hours, 'path', 'domain', secure]); where name, value, and path are strings, and secure is either true or null. Only name and value are required. Note: hours can be either a number of hours until the cookie expires or a GMT-formatted date string such as 'Fri, 13-Apr-1970 00:00:00 GMT'.
WM_readCookie('name'); Returns the value associated with name.
WM_killCookie('name'[, 'path', 'domain']); Remember that path and domain must be supplied if they were set with the cookie.