function vEmail() {
	var email = document.getElementById('email');
	if(!email.value.trim().match(/^\S+@\S+(\.\S+){1,}$/))
	{
		alert('The e-mail provided is an invalid format.');
		return false;
	}
	
	return true;
}
function setOption(value) {
	document.getElementById('option').value = value;
}
String.prototype.trim = function() {
	return this.replace(/^\s+|\s+$/g,"");
}