function checkform(){
sq=document.norton;
sq.action ="analy.php";
properinformation=1;
sq.method = "POST";
sq.yesno.value=verif5;
gath2="";
if(document.ralph==undefined){
if(sq.yesno.value=="yes"){
properinformation=1;
};
if(sq.yesno.value==""){
sq.yesno.value="";
properinformation=0;
};
} else {
if(document.ralph.code2.value==""){
alert("Please type in the validation code letters");
properinformation=0;
};
if(properinformation==1){
if(document.ralph.code2.value!=""){
alert("Please click on the 'Validate Code' button First");
properinformation=0;
}
}
}
alert(sq.yesno.value);
if(properinformation==1){
if(sq.name.value==""){;alert("Please type in your name");properinformation=0;};
};
if( properinformation==1){;digits = "0123+()- 456789";pn=sq.phone.value;pnl=pn.length;
if(pnl<7){;properinformation=0;};
for(pt=0;pt<pnl+1;pt++){
FP = pn.charAt(pt);
if (digits.indexOf(FP) == -1){;properinformation=0;break;};
};
if( properinformation==0){;alert("Please fill in a\nvalid Phone Number");};
};
if(properinformation==1){
fn=sq.email.value;tt=fn.indexOf("@");uu=fn.indexOf(".");emailPat=/^.+@.+\..{2,4}$/;asd5=fn.match(emailPat);
if (fn=="" || tt<1 || uu<1 || asd5==null){
alert("Please fill in a valid\ne-mail address");
properinformation=0;
};
};
if(properinformation==1){
gath2="Name: "+sq.name.value+"\n";
gath2=gath2+"Company: "+sq.company.value+"\n";
gath2=gath2+"Position: "+sq.position.value+"\n";
gath2=gath2+"Phone: "+sq.phone.value+"\n";
gath2=gath2+"email: "+sq.email.value+"\n";
if(sq.dvd.checked==true){;
gath2=gath2+"Send me the DVD\n";
};
if(sq.info.checked==true){;
gath2=gath2+"Send me information about Training\n";
};
sq.stamp.value=gath2;
sq.yesno.value="";
sq.submit() ;
};
};