/* author: Oleg Sedletsky */
/* Creation date: 5-11-2003 */
function noEntry() {
m1=document.form.primcontact.value;	
m2=document.form.date.value;
m3=document.form.typeofevent.value;
m8=document.form.primemail.value;
m9=document.form.phone.value;
m10=document.form.hours.value;
m11=document.form.scrap.value;
m12=document.form.eventwhere.value;


if ((m1.length<1)||(m1.substring(0,6)=="******")) {
alert("You need to enter field Primary Contact Person!");
document.form.primcontact.focus();
return false;
}

if ((m2.length<1)||(m2.substring(0,6)=="******")) {
alert("You need to enter field Date of event!");
document.form.date.focus();
return false;
}
 
if ((m3.length<1)||(m3.substring(0,6)=="******")) {
alert("You need to enter field Type of event!");
document.form.typeofevent.focus();
return false;
} 

if ((m8.length<1)||(m8.substring(0,6)=="******")) {
alert("You need to enter field Primary Contact E-mail!");
document.form.primemail.focus();
return false;
}

if ((m9.length<1)||(m9.substring(0,6)=="******")) {
alert("You need to enter field Primary Contact Phone!");
document.form.phone.focus();
return false;
}

if ((m10.length<1)||(m10.substring(0,6)=="******")) {
alert("Please enter how many hours would you like the photo booth reserved");
document.form.hours.focus();
return false;
}

if ((m11.length<1)||(m11.substring(0,6)=="******")) {
alert("Would you like to have a scrapbook? Yes/No");
document.form.scrap.focus();
return false;
}

if ((m12.length<1)||(m12.substring(0,6)=="******")) {
alert("Please enter location of your event (City State Zip)");
document.form.eventwhere.focus();
return false;
}

else { return true; }

}