function sendFormDetail()
{
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
var pName = document.getElementById("pName").value;
var pEmailId = document.getElementById("pEmailId").value;
xmlhttp.onreadystatechange=function()
  { 
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
		return succMsg();
    }
  }
xmlhttp.open("GET","joinNow.php?p1="+pName+"&p2="+pEmailId+"",true);
xmlhttp.send();
}
function succMsg(){
	alert("Thank you for join us, you will receive an Invitation very soon....!");
	return refreshPage();
}
function refreshPage(){
	window.location.reload();
}
