function ajaxRequest() {
	
	// Variables
	var dA = document.getElementById('divAjaxForm');
	var form = document.ajaxForm;
	var httpReq;
	
	// Create the request object
	try {
		// Opera, firefox, safari
		httpReq = new XMLHttpRequest();
	} catch (e) {
		// Internet explorer
		try {
			httpReq = new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			try {
				httpReq = new ActiveXObject("Microsoft.XMLHTTP");
			} catch (e) {
				alert("Unfortunately, your browser doesn't support this feature. Please click the contact link at the top of the page.");
				return false;
			}
		}
	}

	// Ajax response function
	httpReq.onreadystatechange = function() {
		if (httpReq.readyState == 4) {
			// Send the response back to the browser
			if (httpReq.responseText == 'success') {
				dA.innerHTML = 'Thank you for contacting us! We will be in touch soon.';
			} else {
				dA.innerHTML = 'There was an error while processing your request. Please hit reload in your browser and try again.';
			}
		}
	}
	
	// Format the query
	var n = form.name.value;
	var e = form.email.value;
	var m = form.message.value;
	var mailTo = form.mailTo.value;
	var query = "?name=" + n + "&email=" + e + "&message=" + m + "&mailTo=" + mailTo;

	// Remove the form and display a message 
	dA.innerHTML = 'Sending your message. This may take a moment...';

	// Send the request
	httpReq.open("GET", "ajaxHandle.php" + query, true);
	httpReq.send(null);
}