Code for pasting into the Individual Entry Archive Template:
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
<!--//

// 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.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : "");
document.cookie = curCookie;
}

function getCookie(name) {
var prefix = name + "=";
var nullstring = "";
var cookieStartIndex = document.cookie.indexOf(prefix);
if (cookieStartIndex == -1)
return nullstring;
var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length);
if (cookieEndIndex == -1)
cookieEndIndex = document.cookie.length;
return unescape(document.cookie.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);
}

//-->
</SCRIPT>

<$MTInclude module="header"$>
<MTEntryPrevious><a href="<$MTEntryLink$>">&laquo; <$MTEntryTitle$></a> | </MTEntryPrevious>
<a href="<$MTBlogURL$>">Main</a>
<MTEntryNext>| <a href="<$MTEntryLink$>"><$MTEntryTitle$> &raquo;</a></MTEntryNext>
<MTDateHeader>
<div class="bloghead"><$MTEntryDate format="%B %d, %Y"$></div>
</MTDateHeader>
<a name="<$MTEntryID pad="1"$>"></a>
<div class="subhead"><$MTEntryTitle$></div>
<div class="blogbody"><$MTEntryBody$></div>

<div class="blogfoot">posted by <$MTEntryAuthor$> at <a href="<$MTEntryLink$>#<$MTEntryID pad="1"$>"><$MTEntryDate format="%I:%M %p"$></a></div>
<MTEntryIfAllowComments>
<a name="comments"></a>Comments<br>
<br>
<MTComments>
<div class="blogbody"><$MTCommentBody$></div>
<div class="blogfoot">Posted by: <$MTCommentAuthorLink$> on <$MTCommentDate$></div>
</MTComments>
<div class="bloghead">Post a comment</div>
<div class="blogbody">
<form method="post" action="<$MTCGIPath$>mt-comments.cgi" name="comments_form" onsubmit="if (this.bakecookie.checked) rememberMe(this)">
<input type="hidden" name="static" value="1" />
<input type="hidden" name="entry_id" value="<$MTEntryID$>" />
Name:<br><input name="author" size=30><br><br>
Email Address:<br><input name="email" size=30><br><br>
URL:<br><input name="url" size=50><br><br>
Comments:<br>
<textarea name="text" rows="10" cols="70"></textarea><br><br>
<input type="checkbox" name="bakecookie">Remember info?<br><br>
<input type="submit" name="preview" value="&nbsp;PREVIEW&nbsp;">
<input type="submit" name="post" value="&nbsp;POST&nbsp;"><br><br>
<input type="button" onclick="forgetMe(this.form)" value="FORGET PERSONAL INFORMATION">
</form>
<script type="text/javascript" language="javascript">
<!--
document.comments_form.email.value = getCookie("mtcmtmail");
document.comments_form.author.value = getCookie("mtcmtauth");
document.comments_form.url.value = getCookie("mtcmthome");
//-->
</script>
</MTEntryIfAllowComments>
<$MTInclude module="footer"$>
Close Window