function zipcode_status(country_id, zipcode_id)
{
    country     = getElement(country_id).value;
    obj_zipcode = getElement(zipcode_id);
    max         = 10;
    if (country == "United States") {
        max = 5;
    }
    if(country == "United Kingdom") {
        max = 8;
    } if (country == "Canada") {
        max = 7;
    }
    obj_zipcode.maxLength   = max;
    obj_zipcode.value       = obj_zipcode.value.substring(0, max);
}
function zipcode_desc(country_id, desc_id){country = getElement(country_id).value;obj_desc = getElement(desc_id);obj_desc.innerHTML = "";if(country == "United States"){obj_desc.innerHTML = 'Support 5-digit Zip.';}if(country == "United Kingdom"){obj_desc.innerHTML = 'Support formats: `AN NAA`, `ANN NAA`, `ANA NAA`, `AAN NAA`, `AANN NAA`, `AANA NAA` (where `A` represents a letter and `N` a numeric character)';}if (country == "Canada"){obj_desc.innerHTML = 'Support formats: `ANA NAN` (where `A` represents an alphabetic character and `N` a numeric character)';}}