
  	subject_id = '';
	function handleHttpResponse() {
		if (http.readyState == 4) {
			if (subject_id != '') {
				document.getElementById(subject_id).innerHTML = http.responseText;
			}
		}
	}
	function getHTTPObject() {
		var xmlhttp;
		/*@cc_on
		@if (@_jscript_version >= 5)
			try {
				xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
			} catch (e) {
				try {
					xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
				} catch (E) {
					xmlhttp = false;
				}
			}
		@else
		xmlhttp = false;
		@end @*/
		if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
			try {
				xmlhttp = new XMLHttpRequest();
			} catch (e) {
				xmlhttp = false;
			}
		}
		return xmlhttp;
	}
	var http = getHTTPObject();


		function getScriptPage() {
			var name = document.getElementById('name').value;
			var email = document.getElementById('email').value;
			var comments = document.getElementById('comments').value;
			var valid = "true";
			var msg = "";
			
			if(email.indexOf('@') == -1 || email.indexOf('.') == -1){
				valid = "false";
				msg += "A valid e-mail address is required\n\n";
			}
			
			if(valid == "true"){
				var vars = "?name=" + name + "&email=" + email + "&comments=" + comments;
				
				subject_id = "formMarker";
				http.open("GET", "aja_contact_form.php" + vars, true);
				http.onreadystatechange = handleHttpResponse;
				http.send(null);
				
				document.getElementById('name').value = "";
				document.getElementById('email').value = "";
				document.getElementById('comments').value = "";
			}else{
				alert(msg);
			}
			
			return false;
			}


  