this code:
WAValidateZC(document.getElementById('ecart_check out_form').firstname,'- Invalid zip code',true,true,true,true,'',document.getElementBy Id('ecart_checkout_form').firstname,0,true);
is applying zip code validation to the firstname form field, not the zip code form field.