function store_user_comments()
{
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)
								{        document.user_comments.submit();        return false;        } 
							
						}    
		
		}



xmlHttp.onreadystatechange=function()
      {
      if(xmlHttp.readyState==4)
        {
		document.getElementById("user_comments").innerHTML=xmlHttp.responseText;
		
        }
      }
    xmlHttp.open("POST","/cgi-bin/create/user_comments_AJAX.pl",true);
    xmlHttp.send("celeb=" + document.user_comments.celeb.value + "&ref=" + document.user_comments.ref.value + "&file=" + document.user_comments.file.value + "&user_name=" + document.user_comments.user_name.value + "&comments=" + document.user_comments.comments.value + "&rating=" + document.user_comments.rating.value); 
document.user_comments.comments.value="";
}
