function validate_feedbadkform()
{
		//alert('helo');
		
		if(document.feedbackform.full_name.value=="")
		{
			alert("Please enter the full name.");
			document.feedbackform.full_name.focus();
			return false;
		}
		
		if(document.feedbackform.email.value=="")
		{
			alert("Please enter the email address.");
			document.feedbackform.email.focus();
			return false;
		}

		else if((document.feedbackform.email.value.indexOf("@",-1)==-1) || (document.feedbackform.email.value.indexOf(".",-1)==-1))
		{
			alert("Please enter the valid email address.");
			document.feedbackform.email.select();
			return false;
		}
		
		if(document.feedbackform.contact_number.value=="")
		{
			alert("Please enter the contact number.")
			document.feedbackform.contact_number.focus();
			return false;
		}
		
		else if(isNaN(document.feedbackform.contact_number.value))
		{
			alert("Please enter the valid contact number.")
			document.feedbackform.contact_number.select();
			return false;
		}
		
		if(document.feedbackform.subject.value=="")
		{
			alert("Please enter the subject.")
			document.feedbackform.subject.focus();
			return false;
		}
		
		if(document.feedbackform.feedback.value=="")
		{
			alert("Please enter the Message.")
			document.feedbackform.feedback.focus();
			return false;
		}
				
}









function validate_subscription_form()
{
		//alert('helo');
		
		if(document.subscription_form.full_name.value=="")
		{
			alert("Please enter the full name.");
			document.subscription_form.full_name.focus();
			return false;
		}
		
		if(document.subscription_form.email.value=="")
		{
			alert("Please enter the email address.");
			document.subscription_form.email.focus();
			return false;
		}
	
		else if((document.subscription_form.email.value.indexOf("@",-1)==-1) || (document.subscription_form.email.value.indexOf(".",-1)==-1))
		{
			alert("Please enter the valid email address.");
			document.subscription_form.email.select();
			return false;
		}
		
		if(document.subscription_form.contact_number.value=="")
		{
			alert("Please the contact number.")
			document.subscription_form.contact_number.focus();
			return false;
		}
		
		else if(isNaN(document.subscription_form.contact_number.value))
		{
			alert("Please enter the valid contact number.")
			document.subscription_form.contact_number.select();
			return false;
		}
		
		if(document.subscription_form.organization.value=="")
		{
			alert("Please enter the organization you are currently involved with.")
			document.subscription_form.organization.focus();
			return false;
		}
		
			
}




function validate_unsubscription_form()
{
		//alert('helo');
		
		
		
		if(document.unsubscription_form.email.value=="")
		{
			alert("Please enter the email address.");
			document.unsubscription_form.email.focus();
			return false;
		}
	
		else if((document.unsubscription_form.email.value.indexOf("@",-1)==-1) || (document.unsubscription_form.email.value.indexOf(".",-1)==-1))
		{
			alert("Please enter the valid email address.");
			document.unsubscription_form.email.select();
			return false;
		}
		
		
		
			
}




function validate_donation_form()
{
		//alert('helo');
		
		if(document.donation_form.full_name.value=="")
		{
			alert("Please enter the full name.");
			document.donation_form.full_name.focus();
			return false;
		}
		
		if(document.donation_form.email.value=="")
		{
			alert("Please enter the email address.");
			document.donation_form.email.focus();
			return false;
		}
	
		else if((document.donation_form.email.value.indexOf("@",-1)==-1) || (document.donation_form.email.value.indexOf(".",-1)==-1))
		{
			alert("Please enter the valid email address.");
			document.donation_form.email.select();
			return false;
		}
		
		if((document.donation_form.contact_number_m.value=="") && (document.donation_form.contact_number_l.value==""))
		{
			alert("Please the at least one contact number.")
			document.donation_form.contact_number_m.focus();
			return false;
		}
		
		
		
		if(document.donation_form.contact_address.value=="")
		{
			alert("Please enter the contact address.")
			document.donation_form.contact_address.focus();
			return false;
		}
		
		
				
}


