function frmQuote_onsubmit()  {
    if ((document.getElementById("shippingType").value == "AustPost") && (document.getElementById("postcode").value == "")) {
       window.alert("Please enter in a postcode.");
    } else  {
       document.getElementById("quoteForm").submit();
    }
}

function postcode_onchange()  {
   if (checkInt(document.getElementById("postcode")))  {
   } else  {
      window.alert("Value not numeric");
      document.getElementById("postcode").value = "";
   }
}

function checkInt(strValue)  {
    intValue = parseInt(strValue.value);

    if (isNaN(intValue))  {
       return(false);
    } else  {
       return(true);
    }
}

