// JavaScript Document

 function  waistshaping_Validator(theForm)
{
 if (theForm.calcA.value == "")
  {
    alert("Please enter the Gauge, Stitches per inch.");
    theForm.calcA.focus();
    return (false);
  }
  if (theForm.calcB.value == "")
  {
    alert("Please enter the Gauge, Rows/Rounds per inch.");
    theForm.calcB.focus();
    return (false);
  }
  if (theForm.calcC.value == "")
  {
    alert("Please enter the Desired ease-at-HIP, in inches.");
    theForm.calcC.focus();
    return (false);
  }
  if (theForm.calcD.value == "")
  {
    alert("Please enter the Hip circumference, in inches.");
    theForm.calcD.focus();
    return (false);
  }

  if (theForm.calcEE.value == "")
  {
    alert("Please enter the Desired ease-at-WAIST, in inches.");
    theForm.calcEE.focus();
    return (false);
  }
    if (theForm.calcE.value == "")
  {
    alert("Please enter the Waist circumference, in inches.");
    theForm.calcE.focus();
    return (false);
  }
  if (theForm.calcFF.value == "")
  {
    alert("Please enter the Desired ease-at-bust, in inches.");
    theForm.calcFF.focus();
    return (false);
  }
  if (theForm.calcF.value == "")
  {
    alert("Please enter the Bust circumference, in inches.");
    theForm.calcF.focus();
    return (false);
  }
  if (theForm.calcG.value == "")
  {
    alert("Please enter the Hem to hip length, in inches.");
    theForm.calcG.focus();
    return (false);
  }
  if (theForm.calcH.value == "")
  {
    alert("Please enter the Hip to waist length, in inches.");
    theForm.calcH.focus();
    return (false);
  }
  if (theForm.calcJ.value == "")
  {
    alert("Please enter the 'Work even at waist' length, in inches (use 1” in most cases).");
    theForm.calcJ.focus();
    return (false);
  }
  if (theForm.calcK.value == "")
  {
    alert("Please enter the Waist to bust length, in inches");
    theForm.calcK.focus();
    return (false);
  }
   theForm.formsubmited.value = "Donecheck"
   theForm.submit();
//   return (true);
}