function set()
{

if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(document.letter.email.value))) {
alert("Invalid Email ID. Kindly enter the correct ID.");
document.letter.email.focus();
return (false);
}

return true;

}


