/*-----------------------------------------------------------------------*//* disclaimer.js                             Copyright (c)2001 Duc M. Do *//*-----------------------------------------------------------------------*///// This snippet of codes uses cookie functions from cookies.js. The only// modification needed here is probably the cookie expiry time.//// Revision History://// 11/10/2001  adapt from examples on webreference.com for use on//             thecassandraproject.org web site// set up a Date objectvar expdate = new Date();// fix the bug in Navigator 2.0, Macintosh fixDate(expdate);// set cookie to expire in 14 days// calculate the expiration timeexpdate.setTime(expdate.getTime() + 14 * 24 * 60 * 60 * 1000);// try to retrieve our cookievar cookiename = getCookie("thecassandraproject");// if the cookie isn't found, show 'em the disclaimer and expect OKif (!cookiename) {    var agree=confirm("The Cassandra Project is an independent project by individuals interested in sharing their knowledge or information with like minded or similarly interested people. It is not sponsored by, authorized by, sanctioned by, or otherwise endorsed in any manner for any purpose by Invensys Process Systems (formerly The Foxboro Company). All software contributions to the Cassandra Project archive are the work of individual contributors and no warranty is made or implied as to the accuracy, veracity, or efficacy of any of them. In return for our permitting you to access this web site and its contents and permitting you to review, copy, download, study or otherwise utilize in any fashion the information or programs contained in this web site, you agree without further action other than access to this web site to hold harmless, and to waive any claims, rights to recovery, rights to action, causes of action, or lawsuits against the contributors to this web site, their associates, and the web site designers, as well as The Cassandra Project, Invensys Process Systems (formerly The Foxboro Company), their employees, officers, directors, and associates, from and against any and all damages of any kind, including, but not limited to direct, indirect, compensatory, or punitive damages for any and all mishaps which might occur due to your application of information received from this web site.");    if (agree) {        // set the cookie so they don't have to see the disclaimer again        setCookie("thecassandraproject", "archive", expdate);    } else {        // send 'em back to where they came from        history.go(-1);    }} else {    // be nice and give 'em a fresh cookie    setCookie("thecassandraproject", "archive", expdate);}