﻿// JavaScript Document

function validate(thisform)
{
if (thisform.name.value==""){	
alert("Please enter the name of the nominee")
document.CrystalAwards.name.focus();
return(true);}

if (thisform.email.value==""){	
alert("Please enter the address of the nominee")
document.CrystalAwards.address.focus();
return(true);}

if (thisform.email.value==""){	
alert("Please enter the city and state of the nominee")
document.CrystalAwards.citystate.focus();
return(true);}

if (thisform.email.value==""){	
alert("Please enter the phone number of the nominee")
document.CrystalAwards.phone.focus();
return(true);}

if (thisform.email.value==""){	
alert("Please enter your name")
document.CrystalAwards.name2.focus();
return(true);}

if (thisform.email.value==""){	
alert("Please enter your address")
document.CrystalAwards.address2.focus();
return(true);}

if (thisform.email.value==""){	
alert("Please enter your city and state")
document.CrystalAwards.citystate2.focus();
return(true);}

if (thisform.email.value==""){	
alert("Please enter your phone number")
document.CrystalAwards.phone2.focus();
return(true);}

if (thisform.email.value==""){	
alert("Please provide brief overview describing contribution of time and talents of the nominee")
document.CrystalAwards.contributions.focus();
return(true);}

if (thisform.email.value==""){	
alert("Please identify what has been the impact in the community as a result of the nominee's contributions")
document.CrystalAwards.impact.focus();
return(true);}

if (thisform.email.value==""){	
alert("Please list any unique qualifications related to nominee's service including any special position or leadership roles")
document.CrystalAwards.qualifications.focus();
return(true);}

if (thisform.email.value==""){	
alert("Please summarize why this person deserves an award and provide any additional information you feel is important for consideration.")
document.CrystalAwards.summary.focus();
return(true);}

if (thisform.email.value==""){	
alert("Please list references who may verify the nominee's activities.")
document.CrystalAwards.references.focus();
return(true);}



}