<!--

function formCheck(theForm)  {

  if (theForm.I0.value=="")  {
    alert("Please enter your First and Last name.");
    theForm.I0.focus();
    return (false);
    }

  if (theForm.I1.value=="")  {
    alert("Please enter your Telephone Area Code.");
    theForm.I1.focus();
    return (false);
    }

  var checkOK = "0123456789";
  var checkStr = theForm.I1.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  for (i=0; i<checkStr.length; i++)  {
    ch = checkStr.charAt(i);
    for (j=0; j<checkOK.length; j++)
      if (ch==checkOK.charAt(j))
        break;
    if (j==checkOK.length)  {
      allValid = false;
      break;  }
      allNum += ch;  }
    if (!allValid)  {
    alert("Please only enter digits for your Telephone Area Code.");
    theForm.I1.focus();
    return (false);
    }

  if (theForm.I1.value.length < 3)  {
    alert("Please enter at least 3 digits for your Telephone Area Code.");
    theForm.I1.focus();
    return (false);
    }

  if (theForm.I2.value=="")  {
    alert("Please enter your Telephone Phone Number.");
    theForm.I2.focus();
    return (false);
    }

  if (theForm.I2.value.length < 7)  {
    alert("Please enter at least 7 digits for your Telephone Phone Number.");
    theForm.I2.focus();
    return (false);
    }

  if (theForm.I4.value!="")  {
  var checkOK = "0123456789";
  var checkStr = theForm.I4.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  for (i=0; i<checkStr.length; i++)  {
    ch = checkStr.charAt(i);
    for (j=0; j<checkOK.length; j++)
      if (ch==checkOK.charAt(j))
        break;
    if (j==checkOK.length)  {
      allValid = false;
      break;  }
      allNum += ch; }
    if (!allValid)  {
    alert("Please only enter digits for your Fax Area Code.");
    theForm.I4.focus();
    return (false);
    }
    }

  if (theForm.I4.value!="")  {
  if (theForm.I4.value.length < 3)  {
    alert("Please enter at least 3 digits for your Fax Area Code.");
    theForm.I4.focus();
    return (false);
    }
    }

  if (theForm.I4.value!="")  {
  if (theForm.I5=="")  {
    alert("Please enter your Fax Number.");
    theForm.I5.focus();
    return (false);
    }
    }

  if (theForm.I4.value!="")  {
  if (theForm.I5.value.length < 7)  {
    alert("Please enter at least 7 digits for your Fax Number.");
    theForm.I5.focus();
    return (false);
    }
    }

  if(theForm.I6.value=="")  {
    alert("Please enter your Email Address.");
    theForm.I6.focus();
    return (false);
    }

  if(theForm.I6.value.indexOf('@')<1)  {
    alert("Please enter your entire Email Address.");
    theForm.I6.focus();
    return (false);
    }

  if(theForm.I6.value.indexOf('.')<1)  {
    alert("Please enter your entire Email Address.");
    theForm.I6.focus();
    return (false);
    }

  if (theForm.I10.selectedIndex==0) { 
    alert("Please select the Time of Delivery.");
	theForm.I10.focus();
    return (false);
  }

  if (theForm.I12.selectedIndex==0) {
    alert("Is the Time of Delivery going to be AM or PM?");
    theForm.I12.focus();
    return (false);
    }  

  if (theForm.I40.value=="")  {
    alert("Please enter the Recipient\'s First and Last name.");
    theForm.I40.focus();
    return (false);
    }

  if (theForm.I41.value=="")  {
    alert("Please enter the Recipient\'s Company Name.");
    theForm.I41.focus();
    return (false);
    }

  if (theForm.I42.value=="")  {
    alert("Please enter the Recipient\'s Street Address.");
    theForm.I42.focus();
    return (false);
    }

  if (theForm.I42.value=="")  {
    alert("Please enter the Recipient\'s Street Address.");
    theForm.I42.focus();
    return (false);
    }

  return (true);
}

//-->

