function verifica(which) {
	if(document.getElementById('email').value=='' || document.getElementById('author').value=='' || document.getElementById('comment').value==''){
    	alert("All fields are mandatory!");
        return(false);
    }else{
    	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.getElementById('email').value)){
        	return(true);
        }else{
        	alert("Invalid e-mail address!");
            return(false);
        }
    }
}
