// JavaScript Document
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;
}

function contactus(name, email, phone, subject, message)
{
	xmlHttp3=GetXmlHttpObject();
  xmlHttp3.onreadystatechange=function()
    {
   if(xmlHttp3.readyState==4)
      {
					alert(xmlHttp3.responseText);
      }
    }
  xmlHttp3.open("GET","includes/send_email.php?name="+name+"&email="+email+"&phone="+phone+"&subject="+subject+"&message="+message,true);
  xmlHttp3.send(null);
}
