function verify(frm){
        var valid_zip = /\d{5}/;
        if (!valid_zip.test(frm.subid1.value)){
                alert("Please enter the Zip Code of the person to be insured.");
                frm.subid1.focus();
                return false;
        }
        return true;
}


function process_form(frm){
        if(verify(frm)){
			window.open('', 'new_win', 'fullscreen=yes,scrollbars=yes');
			//window.open('http://network.mossaffiliatemarketing.com/z/1440/CD456/' + frm.subid1.value, 'new_win', 'fullscreen=yes,scrollbars=yes');
			window.location = encodeURI("http://www.life-insurance-quoter.com/Thankyou.php?source=CD456&zip=" + frm.subid1.value);
			return true;
        }
}

