function comSave()
{
var xmlHttp;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    try
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    catch (e)
      {
      alert("Your browser does not support AJAX!");
      return false;
      }
    }
  }
    xmlHttp.onreadystatechange=function()
    {
    if(xmlHttp.readyState==1)
      {

      document.getElementById("com_submit").value="SAVING...";
      }
	if(xmlHttp.readyState==4)
      {

    document.getElementById('NEWNAME').innerHTML=document.getElementById("com_name").value.toUpperCase();
document.getElementById('NEWCOMMENT').innerHTML=document.getElementById("com_com").value;
new Effect.SlideUp('comment');
new Effect.SlideDown('newcomment');
Effect.toggle('addcommentbutton','appear')
    }
	
	}
	
	var params = "com_name=" + escape(document.getElementById("com_name").value);
	params = params + "&com_email=" + escape(document.getElementById("com_email").value);
	params = params + "&com_com=" + escape(document.getElementById("com_com").value);
	params = params + "&com_id=" + escape(document.getElementById("com_id").value);

	
  xmlHttp.open("POST","/inside/update/site_comment_save.php",true);
  //Send the proper header information along with the request
xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xmlHttp.setRequestHeader("Content-length", params.length);
xmlHttp.setRequestHeader("Connection", "close");

  xmlHttp.send(params);
}