function LAOnLoad(A,C){defaultVisibility();var D=document.Form1.wucBorrower_ddlIncomeType;var B=document.Form1.wucCoBorrower_ddlIncomeType;SetIncVerCbl(D.options[D.selectedIndex].value,A);SetIncVerCbl(B.options[B.selectedIndex].value,C);
var E=findObj("ddlPropUsage");SetPropTypeCbl(E)}function SetPropTypeCbl(B){var A=findObj("divPropType");if(B.selectedIndex==0){A.style.visibility="hidden";A.style.display="none"}else{A.style.display="block";
A.style.visibility="visible"}}function PropTypeChanged(A){oDdl=findObj(A);oDdlPropUs=findObj("ddlPropUsage");if(!oDdlPropUs){return }if(oDdl.options[oDdl.selectedIndex].value==10){oDdlPropUs.selectedIndex=1;
oDdlPropUs.disabled=true}else{oDdlPropUs.disabled=false}}function EnableFields(){if(typeof (Page_Validators)!="undefined"){if(Page_IsValid==false){return }}if(document.forms[0].ddlPropUsage){document.forms[0].ddlPropUsage.disabled=false
}if(document.forms[0].txtChap7Y){document.forms[0].txtChap7Y.disabled=false}if(document.forms[0].txtChap13Y){document.forms[0].txtChap13Y.disabled=false}if(document.forms[0].txtFrclY){document.forms[0].txtFrclY.disabled=false
}return true}function chbCoBorrClick(){setDisplay("chbCoBorrower","dCoBorrower");oChbCoBorr=findObj("chbCoBorrower");if(oChbCoBorr.checked){document.forms[0].wucCoBorrower_txtLName.value=document.forms[0].wucBorrower_txtLName.value;
document.forms[0].wucCoBorrower_txtEmail.value=document.forms[0].wucBorrower_txtEmail.value;document.forms[0].wucCoBorrower_txtHomePh.value=document.forms[0].wucBorrower_txtHomePh.value;document.forms[0].wucCoBorrower_txtAddress1.value=document.forms[0].wucBorrower_txtAddress1.value;
document.forms[0].wucCoBorrower_txtCity.value=document.forms[0].wucBorrower_txtCity.value;document.forms[0].wucCoBorrower_txtZip.value=document.forms[0].wucBorrower_txtZip.value;document.forms[0].wucCoBorrower_ddlState.value=document.forms[0].wucBorrower_ddlState.value
}}function defaultVisibility(){setRblDisplay("rblIsBroker2","dBroker");setDisplay("chbCoBorrower","dCoBorrower");setButtonState("chbAutorize","btnProcess");PresetCheckBox("chbChap7","txtChap7Y","N");PresetCheckBox("chbChap13","txtChap13Y","N");
PresetCheckBox("chbFrcl","txtFrclY","N")};