function validate(formCheck) //Function with a parameter representing a form name.
{
if (formCheck.name.value =="")
    {
        alert("Please provide your Name:"); 
        formCheck.name.focus();
        return false;
    }
 var mail=formCheck.email.value
   if (mail.indexOf("@") == -1) 
    {
        alert("Please type a valid email:");
        formCheck.email.focus(); 
        return false;
    }

	

}
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=150,left = 312,top = 159');");
}