var missing = 0;
var setfocus = "name"

function resetform()
{ document.forms[0].elements[1]=="";}

function submitForms()
{

var email = 0;
var temp = "\n Please fill in the required info:\n";

if (document.forms[0].Name.value == "")
     { temp += "\n Name";
       if (missing ==0) missing = 1};



if (document.forms[0].Address.value == "")
     { temp += "\n Address";
       if (missing ==0) missing = 1};


if (document.forms[0].City.value == "")
     { temp += "\n City";
       if (missing ==0) missing = 1};

if (document.forms[0].State.value == "")
     { temp += "\n State";
       if (missing ==0) missing = 1};

if (document.forms[0].Zip.value == "")
{ temp += "\n Zip Must Be Only 2 Letters";
       if (missing ==0) missing = 1};






if (document.forms[0].HomePhone.value == "" &&
    document.forms[0].WorkPhone.value == "")
     { temp += "\n Phone Number";
       if (missing ==0) missing = 2};




if (document.forms[0].Email.value == '' ||
    document.forms[0].Email.value.indexOf ('@') < 1 ||
    document.forms[0].Email.value.indexOf ('.') < 3 )
      { temp += "\n Missing or incorrect Email";
        if (missing ==0) missing = 3};





if (missing != 0) 
   {alert (temp);
    missing = 0;
    return false;}
 else
   return true;
}