var xmlhttp

function postOtherCmt(str, txtName)
{
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  }

//alert(str);
var namevalue=encodeURIComponent(document.getElementById(txtName).value)
var parameters="otherCmt="+namevalue;
xmlhttp.onreadystatechange=commentReplyStateChanged;
xmlhttp.open("POST",str,true);
xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded")
xmlhttp.send(parameters)
}

function commentReplyStateChanged()
{
if (xmlhttp.readyState==4)
  {
	//alert(xmlhttp.responseText);
	//document.getElementById("commentsView").innerHTML=xmlhttp.responseText;
	//alert(xmlhttp.responseText);
  }
}

