var xmlhttp;try{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")}catch(e){try{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")}catch(E){try{xmlhttp = new XMLHttpRequest();}catch(ex){window.location.href='/';}}}var cn;function RSchange() {if (xmlhttp.readyState==4 && xmlhttp.status==200){document.getElementById("contactform").innerHTML=xmlhttp.responseText;}else{document.getElementById("contactform").innerHTML="An unknown error has occurred";}}function go(){if (xmlhttp){document.getElementById("contactform").innerHTML='Sending... Please wait';xmlhttp.open("POST","contact.aspx",true);xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');xmlhttp.send("email=" + escape(document.getElementById('email').value) + "&subject=" + escape(document.getElementById('subject').value) + "&name=" + escape(document.getElementById('name').value) + "&body=" + escape(document.getElementById('body').value));xmlhttp.onreadystatechange=RSchange;}}
