function submitAddress () {
	var sn = document.getElementById('submitName');
	var ea = document.getElementById('emailAddress');
	var sendName = sn.getAttribute('value');
	var sendEmail = ea.getAttribute('value');
	sendData(sendName, sendEmail);
}
var xmlHttp 

function sendData(n,ea) {
	xmlHttp=GetXmlHttpObject()
	if (xmlHttp==null) {
		alert ("Browser does not support HTTP Request. Some functions of this system may not work properly.")
		return
	} 
	var url="mlSubmit.php"
	url=url+"?n="+n+"&ea="+ea
	xmlHttp.onreadystatechange=stateChanged 
	xmlHttp.open("GET",url,true)
	xmlHttp.send(null)
} 

function stateChanged() { 
	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") { 
		//alert ("Browser does not support HTTP Request. Some functions of this system may not work properly.")
		document.getElementById('messageBox').innerHTML=xmlHttp.responseText 
	} 
} 

function GetXmlHttpObject() { 
	var objXMLHttp=null
	if (window.XMLHttpRequest) {
		objXMLHttp=new XMLHttpRequest()
	} else if (window.ActiveXObject) {
		objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
}
return objXMLHttp ;
} 