';
if($contactformseen!="y") {
print "$contactformform";
} else {
$errstr="";
if (strlen($contactformvar3)>30) {
$errstr.="Name value must not exceed 30 characters. ";
}
if (strlen($contactformvar4)>30) {
$errstr.="Email value must not exceed 30 characters. ";
}
if (!valid_email($contactformvar4)) {
$errstr.="You entered an invalid Email value. ";
}
if (strlen($contactformvar5)>20) {
$errstr.="City value must not exceed 20 characters. ";
}
if (strlen($contactformvar6)>30) {
$errstr.="State/Province value must not exceed 30 characters. ";
}
if (strlen($contactformvar8)>12) {
$errstr.="Phone Number value must not exceed 12 characters. ";
}
if (strlen($contactformvar9)>40) {
$errstr.="Questions/Comments value must not exceed 40 characters. ";
}
if ($errstr!='') {
print '