function sendMail(){
		var postValue = "yourName=" + document.getElementById('yourName').value + "&emailAdd=" + document.getElementById('emailAdd').value + "&comments=" + document.getElementById('comments').value;
		new ajax('http://www.nojodesign.com/contactSend.php', {postBody: postValue, update: 'response', onComplete: clearForm});
	}
	
	function clearForm(request){
		var answer = request.responseText;
		if( answer.substr(12,7) == "success"){
			document.getElementById('yourName').value = "";
			document.getElementById('emailAdd').value = "";
			document.getElementById('comments').value = "";
		}
	}
	
	function turnOn(){
		this.className = "buttonover";		
	}
	
	function turnOff(){
		this.className ="button";
	}
	
	/*
	this fairly common function allows us to add behavior to pages 
	without cluttering up our html
	*/
	function addEvent( obj, type, fn )
	{
		if (obj.addEventListener)
			obj.addEventListener( type, fn, false );
		else if (obj.attachEvent)
		{
			obj["e"+type+fn] = fn;
			obj[type+fn] = function() { obj["e"+type+fn]( window.event ); }
			obj.attachEvent( "on"+type, obj[type+fn] );
		}
	}
	
	/* this adds the behaviors to our form */
	function contactInit() {
	  var contactForm = document.getElementById('contactForm');
		addEvent(contactForm, 'submit', sendMail);
		contactForm.onsubmit = function() { return false; }
	}
	
	addEvent(window, 'load', contactInit);