');
document.writeln('
');
document.writeln('
');
document.writeln('');
function submitMyForm(){
if(document.customForm22628.onsubmit())
{
ValidateCustomForm(document.customForm22628,0);
document.customForm22628.submit();
}
}
document.writeln('
');
document.writeln('');
document.writeln(' ');
document.writeln(' //Status for PAF Function');
document.writeln(' function funPAFLookupStatus(sStatus){');
document.writeln(' if (sStatus == "BEGIN") {');
document.writeln(' document.getElementById("btnPostCodeLookup").value = "Please wait..";');
document.writeln(' }');
document.writeln(' else if (sStatus == "ERROR") {');
document.writeln(' document.getElementById("btnPostCodeLookup").value = " Error.";');
document.writeln(' }');
document.writeln(' else {');
document.writeln(' document.getElementById("btnPostCodeLookup").value = "Lookup Address";');
document.writeln(' }');
document.writeln(' }');
document.writeln(' ');
document.writeln('