
function StoryComment(unid) {
  document.writeln('<form action="StoryResponse?CreateDocument&amp;ParentUNID=' + unid + '" method="Post" name="StoryResponse" id="StoryResponse" enctype="multipart/form-data" accept-charset="UTF-8"  onSubmit="return(validateComments())">');
  document.writeln('<div class="StoryTitle">');
  document.writeln('<span style="float:left">Post a comment</span>');
  document.writeln('<span style="float:right"><a href="//d6plinks/#comments"><img src="images/arrowup.gif" alt="^" border="0"></a></span>');
  document.writeln('</div>');
  document.writeln('<div class="StoryContents">');
  document.writeln('<div class="label"><label for="Email">Your Name</label><br/></div>');
  document.writeln('<input type="text" class="formField" name="nameAuthor" id="Name" accesskey="n" style="width:400px;" /><br/>');
  document.writeln('<div class="label"><label for="Email">Email address</label></div>');
  document.writeln('<p class="small">Email addresses provided are not made available on this site.</p>');
  document.writeln('<input type="text" class="formField" id="Email" accesskey="e" name="txtEmail" style="width:400px;" /><br/>');
  document.writeln('<div class="label"><label for="URL">Homepage (e.g. "http://www...")</label><br/></div>');
  document.writeln('<input type="text" class="formField" id="URL" accesskey="u" name="txtURL" style="width:400px;" /><br/>');
  document.writeln('<div class="label"><label for="DynamicText">Blabber :</label><br/></div>');
  document.writeln('<p class="small">You can use UUB Code in your posts.</p>');
  document.writeln('<p class="small">[b]<b>bold</b>[/b]&nbsp;&nbsp;[i]<i>italic</i>[/i]&nbsp;&nbsp;[u]<u>underline</u>[/u]&nbsp;&nbsp;[s]<del>strikethrough</del>[/s]</p>');
  document.writeln('<p class="small">URL&prime;s will be automatically converted to Links</p>');
  document.writeln('<textarea name="Body" id="DynamicText" accesskey="c" rows="7" cols="1" style="width:450px;" onKeyUp="ReloadTextDiv();"></textarea><br/>');
  document.writeln('<img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5N3GHR/$File/angry.gif" border="0"  alt=":angry:" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5N3GHL/$File/sad.gif" border="0"  alt=":-(" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5N3GKU/$File/tongue.gif" border="0"  alt=":-p" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5N3GM7/$File/lipsrsealed.gif" border="0"  alt=":lips:" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5N3GJV/$File/laugh.gif" border="0"  alt=":laugh:" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5N3GJ8/$File/shocked.gif" border="0"  alt=":-o" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5N3GKD/$File/rolleyes.gif" border="0"  alt=":rolleyes:" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5N3GK5/$File/huh.gif" border="0"  alt=":huh:" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5MZVLS/$File/biggrin.gif" border="0"  alt=":-D" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5N3GJG/$File/cheesy.gif" border="0"  alt=":grin:" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5N3GJN/$File/cool.gif" border="0"  alt=":cool:" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5N3GK8/$File/cry.gif" border="0"  alt=":cry:" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5MZVLY/$File/smile.gif" border="0"  alt=":-)" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5MZVLU/$File/wink.gif" border="0"  alt=";-)" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5N3GL7/$File/undecided.gif" border="0"  alt=":-\" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5N3GKM/$File/kiss.gif" border="0"  alt=":-x" /> <img onClick="writeImgTag(alt)" src="/shell.nsf/2/DLYH-5N3GM4/$File/embarassed.gif" border="0"  alt=":emb:" /><br/>');
  document.writeln('<a href="javascript:formatStr(\'b\')"><img src="images/bold-button.gif" alt="bold"  border="0"></a>');
  document.writeln('<a href="javascript:formatStr(\'i\')"><img src="images/italic-button.gif" alt="italic"  border="0"></a>');
  document.writeln('<a href="javascript:formatStr(\'u\')"><img src="images/underline-button.gif" alt="underline" border="0"></a>');
  document.writeln('<a href="javascript:formatStr(\'s\')"><img src="images/sthru-button.gif" alt="Strikethrough" border="0"></a>');
  document.writeln('<br/><br/>');
  document.writeln('<div class="label"><label for="TextDisplay"><b>Live Comments Preview</b></label><br/></div>');
  document.writeln('<div id="TextDisplay"></div>');
  document.writeln('<br/><br/><br/>');
  document.writeln('<p>');
  document.writeln('<input type="checkbox" name="bakecookie" value="1" />Remember me &nbsp;');
  document.writeln('<input type="submit" name="Post" value="Submit comments" class="button" /> &nbsp;');
  document.writeln('<input type="button" onclick="forgetMe(this.form)" value="Forget me" class="button" />');
  document.writeln('</p>');
document.StoryResponse.txtEmail.value = getCookie("mtcmtmail");
document.StoryResponse.nameAuthor.value = getCookie("mtcmtauth");
document.StoryResponse.txtURL.value = getCookie("mtcmthome");
if (getCookie("mtcmtauth") !== '') {document.StoryResponse.bakecookie.checked = '1'; } 
//  document.writeln('<!-- ' + getCookie("mtcmtmail") + ' -->');
  document.writeln('</div>');
  document.writeln('</form>');
}
