function NLSignUP() {
	var loading_message = "<br /><img src='images/ajax-loader-4.gif' />&nbsp;&nbsp;&nbsp;&nbsp;Loading...<br /><br />";
	
	var oXmlHttp = zXmlHttp.createRequest();
	document.getElementById("NL").innerHTML = loading_message; 

	
	oXmlHttp.open("get", "includes/proc_pagerequest.asp", true); 
	oXmlHttp.onreadystatechange = function () {
		if (oXmlHttp.readyState == 4) {
			if (oXmlHttp.status == 200) {
				printStuff(oXmlHttp.responseText);
			} else {
				printStuff("An error occurred: " + oXmlHttp.statusText); //statusText is not always accurate
			}
		}            
	};
	oXmlHttp.send(null);
}



function NLformData() {
	var loading_message = "<br /><img src='images/ajax-loader-4.gif' />&nbsp;&nbsp;&nbsp;&nbsp;Loading...<br /><br />";
	
	var fname = document.getElementById("FN").value; 
	var lname = document.getElementById("LN").value;	
	var title = document.getElementById("TT").value;
	var comp = document.getElementById("CO").value;
	var email = document.getElementById("EM").value;
	var phone = document.getElementById("PH").value;
	
	var oXmlHttp = zXmlHttp.createRequest();
	document.getElementById("NL").innerHTML = loading_message; 

	oXmlHttp.open("get", "includes/proc_nldata.asp?fname=" +fname+"&lname="+lname+"&title="+title+"&comp="+comp+"&email="+email+"&ph="+phone, true); 
	
	oXmlHttp.onreadystatechange = function () {
		if (oXmlHttp.readyState == 4) {
			if (oXmlHttp.status == 200) {
				printStuff(oXmlHttp.responseText);
			} else {
				printStuff("An error occurred: " + oXmlHttp.statusText); //statusText is not always accurate
			}
		}            
	};
	oXmlHttp.send(null);
}

function printStuff(sText) {
	var divToolData = document.getElementById("NL");
	divToolData.innerHTML = sText;
}


