function showContactForm()
{

	document.getElementById('remainingFields').style.display = "block";

}

function submitContactForm()
{

	var http = new XMLHttpRequest();

	var url = "/contactform/";

	var sugLink = "";	
	var senderEmail = "";
	var senderName = "";
	var senderComments = "";

	sugLink = document.getElementById('sugLink').value;	
	senderEmail = document.getElementById('senderEmail').value;	
	senderName = document.getElementById('senderName').value;	
	senderComments = document.getElementById('senderComments').value;	

	var params = "sugLink="+sugLink+"&senderName="+senderName+"&senderEmail="+senderEmail+"&senderComments="+senderComments;

	//alert(params);

	http.open("POST", url, true);

	//Send the proper header information along with the request
	http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
	http.setRequestHeader("Content-length", params.length);
	http.setRequestHeader("Connection", "close");

	http.onreadystatechange = function() {//Call a function when the state changes.
		if(http.readyState == 4 && http.status == 200) {
			//alert(http.responseText);
			document.getElementById("suggestionRepStatus").innerHTML = http.responseText;
      document.getElementById("suggestionRepStatus").style.display = "block"; 
		}
	}

	http.send(params);

}



