

function setTimeAndSubmit()
{
	var myDate = new Date();
	document.getElementById('time').value=myDate.getFullYear()+"-"+(myDate.getMonth()+1)+"-"+myDate.getDate()+" "+myDate.getHours()+":"+myDate.getMinutes()+":"+myDate.getSeconds();
	document.getElementById('timezone').value=myDate.getTimezoneOffset();
	document.getElementById('comment-form').submit();
}

document.write("<A name=\"comment-form\"><hr width=\"100%\"></A>");
document.write("<h3>Post Your Comment:</h3>");
document.write("<table>");
document.write("<tr><td valign=\"top\">Name:</td><td><input name=\"name\" style=\"width:150px\"/></td></tr>");
document.write("<tr><td valign=\"top\">Email:</td><td><input name=\"email\" style=\"width:150px\"/></td></tr>");
document.write("<tr><td valign=\"top\">Comment:</td><td><textarea wrap=\"soft\" name=\"comment\" style=\"width:300px;height:150px\"></textarea></td></tr>");
document.write("<tr><td colspan=\"2\" align=\"center\"><input type=\"hidden\" name=\"timezone\" id=\"timezone\" value=\"\"><input type=\"hidden\" name=\"time\" id=\"time\" value=\"\"><input type=\"button\" name=\"submit_form\" id=\"submit_form\" value=\"submit\" onClick=\"setTimeAndSubmit()\"/></td></tr>");
document.write("</table>");

			