////////////////////////////////////////////////////////////
// RSVP Validation JavaScript Document
////////////////////////////////////////////////////////////
function RSVPval()
{
	var varN=document.getElementById("rsvpName").value;
	var varA=document.getElementById("rsvpGuests").value;
	var varD=document.getElementById("rsvpDonation").value;
	
	if (varN==null || varN=="") {
		alert("Please enter your name");
		document.getElementById("rsvpName").focus();
		return false;
		
	}
	
	if (varA==null || varA=="") {
		alert("Please enter the number of guests attending");
		document.getElementById("rsvpGuests").focus();
		return false;
		
	}
	
	if (varD==null || varD=="") {
		alert("Please enter your donation");
		document.getElementById("rsvpDonation").focus();
		return false;
		
	}
	
	alert("Thank You, please follow the instructions to \n complete your payment of $"+varD+"");
	document.getElementById("quickRSVPForm").submit();
}