//***AJAX FORM SUBMIT
   var objXMLHttp = null;
   function GetXmlHttpObject() {
     try {
       xmlHttp = new XMLHttpRequest();
     } catch (trymicrosoft) {
       try {
         xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
       } catch (othermicrosoft) {
         try {
           xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
         } catch (failed) {
           xmlHttp = null;
         }
       }
     }

     if (xmlHttp == null)
       alert("Error creating request object!");
   }
      function submitForm() {
   
      GetXmlHttpObject(); // creates XMLREQUEST OBJECT
   <!-- This is used by the InnovaEditor editor component -->
   	// POST

	 var url = "http://www.sellingantiques.co.uk/email1_process.asp?sid="+Math.random();
	 xmlHttp.open("POST",url,true)
     xmlHttp.onreadystatechange = updateCurrPage;
     xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
 

    
	var email = document.getElementById("email").value;
    var the_message = document.getElementById("the_message").value;
	var the_autonumber = document.getElementById("the_autonumber").value;
	
	// when you put the alert box it enables yo uto see the output of the variable
	//alert(email);
	//alert(the_message);
	// enter form variables	
	 xmlHttp.send("action=mm_update"  +
			   "&email=" + encodeURIComponent(email) +
			   "&the_message=" + encodeURIComponent(the_message) +
			   "&the_autonumber=" + encodeURIComponent(the_autonumber) +
			   "" );
   }

   function updateCurrPage() {
     if (xmlHttp.readyState == 4) {
       if (xmlHttp.status == 200) {
         /* Get the response from the server */
         /* Update the HTML web form */
	document.getElementById("txtHint").innerHTML=xmlHttp.responseText;
	   
	   } else
         alert("Error! Request status is " + xmlHttp.status);
     }
	
   }