// JavaScript Document

	function validate()
	{
	var el = document.frmnewsletter;
	var em = el.email;
	var na = el.name;
	var org = el.organisation;
	var co = el.country;
	
	if(em.value.match(/^[a-zA-Z0-9._-]+@([a-zA-Z0-9.-]+\.)+[a-zA-Z0-9.-]{2,4}$/))
		{
			em.style.backgroundColor = "#ffffff";
			true;
		}
		else
		{
			alert('Please, fill in your '+ em.name +'.'); 
			em.focus();
			em.style.backgroundColor = "#fdd9a7";
			return false;
		}
	
	if(na.value =="")
		{
			alert('Please, fill in your '+ na.name +'.');
			na.focus();
			na.style.backgroundColor = "#fdd9a7";
			return false;		
		}
		else
		{
			na.style.backgroundColor = "#ffffff";
			true;
		}
		
	if(org.value =="")
		{
			alert('Please, fill in your '+ org.name +'.');
			org.focus();
			org.style.backgroundColor = "#fdd9a7";
			return false;		
		}
		else
		{
			org.style.backgroundColor = "#ffffff";
			true;
		}
		
	if(co.value =="")
		{
			alert('Please, fill in your '+ co.name +'.');
			co.focus();
			co.style.backgroundColor = "#fdd9a7";
			return false;		
		}
		else
		{
			co.style.backgroundColor = "#ffffff";
			true;
		}
	}