function SendForm() {
   var blnOk = false;
   var index = -1;
   
   var blnMD = false;
   if (document.frmCCInfo.MultiDesignation.value == "True") {
      if (document.frmCCInfo.Amount.value == "NaN") {
         for (var i = 0;i < document.frmCCInfo.Designations.value && !blnMD;i++) {
            if (isNaN(document.getElementById('iDsgAmount' + i).value)) {
               alert("This value is not a valid value for a donation.");
               document.getElementById('iDsgAmount' + i).focus();
               document.getElementById('iDsgAmount' + i).select();
               blnMD = true;
            }
         }
      }
      
      if (blnMD) 
         return(false);
      else
         return(true);
   }
   
   if (document.frmCCInfo.AmountOther.value=="" || document.frmCCInfo.Amount[document.frmCCInfo.Amount.length-1].checked==false) { //Check Other amount box.
      for(i=0;i<document.frmCCInfo.Amount.length-1;i++) { //Loop through all options (but other) to see if one is selected.
         if(document.frmCCInfo.Amount[i].checked) {
            blnOk = true;
            index = i;
         }
      }
   }
   else {
      blnOk = true;
      //Make sure the other field has no invalid chars.
      var valid = "0123456789$.,";
      var temp;
      index = document.frmCCInfo.Amount.length-1;
      for (i=0; i<document.frmCCInfo.AmountOther.value.length; i++) {
         temp = "" + document.frmCCInfo.AmountOther.value.substring(i, i+1);
         if (valid.indexOf(temp) == "-1")
            blnOk = false;
      }
   }
   
   if (index==-1) {
      blnOk = false;
   }
   else {
      if(blnPurposeRequired==true && document.frmCCInfo.Purpose.value=="" && String(document.frmCCInfo.Amount[index].value).substring(0,1)!="[") {
         alert ("Please select a designation.");
         document.frmCCInfo.Purpose.focus();
         return (false);
      }
   }
   
   if (blnOk == true) {
      return (true);
      //alert (String(document.frmCCInfo.Amount[asdf].value).substring(0,1));
      //return false;
   }
   else {
      alert ("Please indicate an amount.");
      document.frmCCInfo.AmountOther.focus();
      return (false);
   }
}