function validate() {
if(document.sendmail.email.value==''){
alert('Please fill in the email field!')
} else {
document.sendmail.submit()
}
}