var xmlHttp

function sendMail_2()
{
	
xmlHttp=GetXmlHttpObject()

if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 } 

var url="send_mail.php"
url=url+"?email=" + str;
window.location="con_status.html";
//alert(" Thank you for your interest and support. You have been added to our email list. \n Please check your e-mail frequently for updates \n Dont reload this page");
xmlHttp.onreadystatechange=stateChanged 
xmlHttp.open("GET",url,true)
xmlHttp.send(null)

} 

function stateChanged() 
{ 

	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	{ 
	/*	 document.getElementById("livesearch").
		 innerHTML=xmlHttp.responseText;
		 document.getElementById("livesearch").
		 style.border="1px solid #A5ACB2";
	*/ 
	
	document.getElementById("email").value=xmlHttp.responseText;
	alert('Thank you for your interest and support. You have been added to our email list.');
	
	} 
}

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;
}