// Copyright (c) 1996-1997 Athenia Associates.?n// http://www.webreference.com/js/?n// License is granted if and only if this entire?n// copyright notice is included. By Tomer Shiran.?n?nfunction setCookie (name, value, expires, path, domain, secure) {?n    var curCookie = name + "=" + escape(value) + (expires ? "; expires=" + expires : "") +?n        (path ? "; path=" + path : "") + (domain ? "; domain=" + domain : "") + (secure ? "secure" : "");?n    document.cookie = curCookie;?n}?n?nfunction getCookie (name) {?n    var prefix = name + '=';?n    var c = document.cookie;?n    var nullstring = '';?n    var cookieStartIndex = c.indexOf(prefix);?n    if (cookieStartIndex == -1)?n        return nullstring;?n    var cookieEndIndex = c.indexOf(";", cookieStartIndex + prefix.length);?n    if (cookieEndIndex == -1)?n        cookieEndIndex = c.length;?n    return unescape(c.substring(cookieStartIndex + prefix.length, cookieEndIndex));?n}?n?nfunction deleteCookie (name, path, domain) {?n    if (getCookie(name))?n        document.cookie = name + "=" + ((path) ? "; path=" + path : "") +?n            ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT";?n}?n?nfunction fixDate (date) {?n    var base = new Date(0);?n    var skew = base.getTime();?n    if (skew > 0)?n        date.setTime(date.getTime() - skew);?n}?n?nfunction rememberMe (f) {?n    var now = new Date();?n    fixDate(now);?n    now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000);?n    now = now.toGMTString();?n    if (f.author != undefined)?n       setCookie('mtcmtauth', f.author.value, now, '/', '', '');?n    if (f.email != undefined)?n       setCookie('mtcmtmail', f.email.value, now, '/', '', '');?n    if (f.url != undefined)?n       setCookie('mtcmthome', f.url.value, now, '/', '', '');?n}?n?nfunction forgetMe (f) {?n    deleteCookie('mtcmtmail', '/', '');?n    deleteCookie('mtcmthome', '/', '');?n    deleteCookie('mtcmtauth', '/', '');?n    f.email.value = '';?n    f.author.value = '';?n    f.url.value = '';?n}?n?nfunction hideDocumentElement(id) {?n    var el = document.getElementById(id);?n    if (el) el.style.display = 'none';?n}?n?nfunction showDocumentElement(id) {?n    var el = document.getElementById(id);?n    if (el) el.style.display = 'block';?n}?n?nvar commenter_name;?n?nfunction individualArchivesOnLoad(commenter_name) {?n?n?n?n?n    if (document.comments_form) {?n        if (!commenter_name && (document.comments_form.email != undefined) &&?n            (mtcmtmail = getCookie("mtcmtmail")))?n            document.comments_form.email.value = mtcmtmail;?n        if (!commenter_name && (document.comments_form.author != undefined) &&?n            (mtcmtauth = getCookie("mtcmtauth")))?n            document.comments_form.author.value = mtcmtauth;?n        if (document.comments_form.url != undefined && ?n            (mtcmthome = getCookie("mtcmthome")))?n            document.comments_form.url.value = mtcmthome;?n        if (document.comments_form["bakecookie"]) {?n            if (mtcmtauth || mtcmthome) {?n                document.comments_form.bakecookie.checked = true;?n            } else {?n                document.comments_form.bakecookie.checked = false;?n            }?n        }?n    }?n}?n?nfunction writeTypeKeyGreeting(commenter_name, entry_id) {?n?n}?n?n?n