   function checkForm(){
   if (document.thisForm.a1.value != ""){
      if (isNaN(parseInt(document.thisForm.a1.value))){
          alert("面积需要输入数字!");
          document.thisForm.a1.focus();
          return false
      }
   }
   if (document.thisForm.a2.value != ""){
      if (isNaN(parseInt(document.thisForm.a2.value))){
          alert("面积需要输入数字!");
          document.thisForm.a2.focus();
          return false
      }
   }
   if (document.thisForm.p1.value != ""){
      if (isNaN(parseInt(document.thisForm.p1.value))){
          alert("价格需要输入数字!");
          document.thisForm.p1.focus();
          return false
      }
   }
   if (document.thisForm.p2.value != ""){
      if (isNaN(parseInt(document.thisForm.p2.value))){
          alert("价格需要输入数字!");
          document.thisForm.p2.focus();
          return false
      }
   }  
   }
