function ismaxlength(obj){var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : "";if (obj.getAttribute && obj.value.length>mlength){obj.value=obj.value.substring(0,mlength);};};
function go(){
	document.posts.act.value=1;
	document.posts.submit();
}
function resetForm(){
	var currentForm=document.forms['posts'];
	for(var e = 0; e < currentForm.length; e++){currentForm.elements[e].value='';}
	document.posts.submit();
}