var xmlHttp

function checkajaxform(stremail,struser,strmailing)
{
//if (stremail.length==0)
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {alert ("Your browser does not support AJAX!");return;} 

var url="/ajax/veriform.asp";
url=url+"?email="+stremail;
url=url+"&user="+struser;
url=url+"&type="+strmailing;
url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=stateChangedForm;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
} 
function stateChangedForm() 
{if (xmlHttp.readyState==4){document.getElementById("txtFormTLMMDR").innerHTML=xmlHttp.responseText;}}

function checkajaxform2(stremail,struser,strmailing)
{
//if (stremail.length==0)
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {alert ("Your browser does not support AJAX!");return;} 

var url="/ajax/veriform.asp";
url=url+"?email="+stremail;
url=url+"&user="+struser;
url=url+"&type="+strmailing;
url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=stateChangedForm2;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
} 
function stateChangedForm2() 
{if (xmlHttp.readyState==4){document.getElementById("txtFormTLFMDR").innerHTML=xmlHttp.responseText;}}

function checkajaxformheader(stremail,struser,strmailing)
{
//if (stremail.length==0)
xmlHttp=GetXmlHttpObject();
if (xmlHttp==null)
  {alert ("Your browser does not support AJAX!");return;} 

var url="/ajax/veriform.asp";
url=url+"?email="+stremail;
url=url+"&user="+struser;
url=url+"&type="+strmailing;
url=url+"&sid="+Math.random();
xmlHttp.onreadystatechange=stateChangedFormHeader;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
} 
function stateChangedFormHeader() 
{if (xmlHttp.readyState==4){document.getElementById("txtFormTLMMDRHeader").innerHTML=xmlHttp.responseText;}}


function GetXmlHttpObject()
{
var xmlHttp=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp;
}