function regCheck (theForm) {


var checkOK = "<>?/\{}[]()*@!=+%#";
var checkStr = theForm.name.value;
for (i = 0;  i < checkStr.length;  i++)
{
ch = checkStr.charAt(i);
for (j = 0;  j < checkOK.length;  j++)
if (ch == checkOK.charAt(j))
{
alert("You have entered invalid characters in the \"name\" field.");
theForm.name.focus();
return (false);
}
}
if ((theForm.name.value == '')  || (theForm.name.value == '0') || (theForm.name.value < '0')) {
     alert('Please enter your name');
        return false;
}




var checkOK = "<>?/\{}[]*@!=+&%";
var checkStr = theForm.address.value;
for (i = 0;  i < checkStr.length;  i++)
{
ch = checkStr.charAt(i);
for (j = 0;  j < checkOK.length;  j++)
if (ch == checkOK.charAt(j))
{
alert("You have entered invalid characters in the \"address\" field.");
theForm.address.focus();
return (false);
}
}
if ((theForm.address.value == '')  || (theForm.address.value == '0') || (theForm.address.value < '0')) {
     alert('Please enter your address');
        return false;
}




var checkOK = "<>?/\{}[]*@!=+&%";
var checkStr = theForm.city.value;
for (i = 0;  i < checkStr.length;  i++)
{
ch = checkStr.charAt(i);
for (j = 0;  j < checkOK.length;  j++)
if (ch == checkOK.charAt(j))
{
alert("You have entered invalid characters in the \"city\" field.");
theForm.city.focus();
return (false);
}
}
if ((theForm.city.value == '')  || (theForm.city.value == '0') || (theForm.city.value < '0')) {
     alert('Please enter your city');
        return false;
}




if ((theForm.state.value == '')  || (theForm.state.value == '0') || (theForm.state.value < '0')) {
     alert('Please enter your state');
        return false;
}



var checkOK = "<>?/\{}[]*@!=+&%";
var checkStr = theForm.zip.value;
for (i = 0;  i < checkStr.length;  i++)
{
ch = checkStr.charAt(i);
for (j = 0;  j < checkOK.length;  j++)
if (ch == checkOK.charAt(j))
{
alert("You have entered invalid characters in the \"zip code\" field.");
theForm.zip.focus();
return (false);
}
}
if ((theForm.zip.value == '')  || (theForm.zip.value == '0') || (theForm.zip.value < '0')) {
     alert('Please enter your zip code');
        return false;
}



var checkOK = "<>?/\{}[]()*@!=+&%";
var checkStr = theForm.phone.value;
for (i = 0;  i < checkStr.length;  i++)
{
ch = checkStr.charAt(i);
for (j = 0;  j < checkOK.length;  j++)
if (ch == checkOK.charAt(j))
{
alert("You have entered invalid characters in the \"phone number\" field.");
theForm.phone.focus();
return (false);
}
}
if ((theForm.phone.value == '')  || (theForm.phone.value == '0') || (theForm.phone.value < '0')) {
     alert('Please enter your phone number');
        return false;
}



















return true;
}




