function DC(honey) {
var ErrorLoanAmount="Please Select The Loan Amount";
var ErrorCC="How Many Credit Cards or\nStore Cards Do You Have?";
var ErrorL="How Many Personal Loans or\nCar Loans Do You Have?";
var ErrorR="How Many Real Estate Assets Do You Have?";
var ErrorW="Do You Work Fulltime?";
var ErrorSE="Are You Self-employed?";
var ErrorTax="Do You Have Full Finnacials\nFor Last 2 Years?";
var ErrorEmpl="How Long Have You Been With You\nCurrent Employer or Sef-Employed?";
var ErrorD="Do You Have Late Payments / Defaults / Arrears?";
var ErrorDD="You selected ' YES ' - Please Provide\nMore Information?";
var ErrorFirstName="Please Enter Your First Name";
var ErrorLastName="Please Enter Your Last Name";
var ErrorHomePhoneArea="Please Check Area Code - Home Phone";
var ErrorHomePhone="Please Check Home Phone No";
var ErrorWorkPhoneArea="Please Check Area Code - Work Phone";
var ErrorWorkPhone="Please Check Work Phone No ";
var ErrorPhones="Please Provide At Least\n2 Contact Numbers";
var ErrorEmail="Please Enter Email Address";
var ErrorEmailValid="Please Type a Valid Email Address";
var ErrorPreferedTime ="Please Enter Preferred Contact Time";
var ErrorPreferedDay ="Please Enter Preferred Contact Day";
var ErrorStreet="Please Enter Street Name";
var ErrorSuburb="Please Enter Suburb";
var ErrorState="Please Select State";
var ErrorPostCode="Please Enter Post Code";



var control0 = honey.consolidation_amount;
var control1 = honey.creditcards;
var control2 = honey.loans;
var control3 = honey.assets;
var control4 = honey.workfulltime;
var control5 = honey.selfemployed;
var control6 = honey.taxreturn;
var control7 = honey.howlongwithemployer;
var control8 = honey.defaults;
var control9 = honey.defaults_descr;
var control10 = honey.firstname;
var control11 = honey.lastname;
var control11a = honey.street;
var control11b = honey.suburb;
var control11c = honey.state;
var control11d = honey.postcode;
var control12 = honey.home_area_code;
var control13 = honey.work_area_code;
var control14 = honey.home_phone;
var control15 = honey.work_phone;
var control16 = honey.mobile;
var control17 = honey.email;
var control18 = honey.contactTime;
var control19 = honey.ContactDay;

if (control0.options[control0.selectedIndex].value=="0"){
alert (ErrorLoanAmount);
control0.focus();
return false;
}

if (control1.options[control1.selectedIndex].value=="0"){
alert (ErrorCC);
control1.focus();
return false;
}

if (control2.options[control2.selectedIndex].value=="0"){
alert (ErrorL);
control2.focus();
return false;
}

if (control3.options[control3.selectedIndex].value=="0"){
alert (ErrorR);
control3.focus();
return false;
}

if (control4.options[control4.selectedIndex].value=="0"){
alert (ErrorW);
control4.focus();
return false;
}

if (control5.options[control5.selectedIndex].value=="0"){
alert (ErrorSE);
control5.focus();
return false;
}

if (control6.options[control6.selectedIndex].value=="0"){
alert (ErrorTax);
control6.focus();
return false;
}

if (control7.value==""){
alert (ErrorEmpl);
control7.focus();
return false;
}

if (control8.options[control8.selectedIndex].value=="0"){
alert (ErrorD);
control8.focus();
return false;
}

if ((control8.options[control8.selectedIndex].value=="Y")&&(control9.value=="")){
alert (ErrorDD);
control9.focus();
return false;
}




if(control10.value=="") { 
alert (ErrorFirstName);
control10.focus();
return false;
 }
if(control11.value=="") { 
alert (ErrorLastName);
control11.focus();
return false;
 }



var street=control11a;
var suburb=control11b;
var state=control11c;
var postcode=control11d;


if(street.value=="") {
alert (ErrorStreet);
street.focus();
return false;
}

if(suburb.value=="") {
alert (ErrorSuburb);
suburb.focus();
return false;
}

if (state.options[state.selectedIndex].value=="0"){
alert (ErrorState);
state.focus();
return false;
}

if(postcode.value=="") {
alert (ErrorPostCode);
postcode.focus();
return false;
}



var areacodehp=control12;
var areacodewp=control13;
var homephone=control14;
var workphone=control15;
var mobile=control16;
var email = control17;
var CTime=control18;
var CDay= control19;


if (((areacodehp.value=="") && (homephone.value==""))  &&  ((areacodewp.value=="") && (workphone.value=="")) && (mobile.value=="")){
alert (ErrorPhones);
areacodehp.focus();
return false;
}
if (areacodehp.value.length==1){
alert (ErrorHomePhoneArea); 
areacodehp.focus();
return false;
}
if ((areacodehp.value.length==2) && (homephone.value=="")){
alert (ErrorHomePhone); 
homephone.focus();
return false;
}
if (((!areacodehp.value=="") && (!homephone.value==""))  &&  ((areacodewp.value=="") && (workphone.value=="")) && (mobile.value=="")){
alert (ErrorPhones);
areacodewp.focus();
return false;
}
if (areacodewp.value.length==1){
alert (ErrorWorkPhoneArea); 
areacodewp.focus();
return false;
}
if ((areacodewp.value.length==2) && (workphone.value=="")){
alert (ErrorWorkPhone); 
workphone.focus();
return false;
}
if(email.value=="") {
alert (ErrorEmail);
email.focus();
return false;
}
if(email){
var mail=email.value
}
   if (( mail.indexOf("@") == -1)||(mail.indexOf(".") == -1))
    {
        alert (ErrorEmailValid);
        email.focus() ;
        return false;
    }


if (control18.options[control18.selectedIndex].value=="0") {
alert (ErrorPreferedTime);
control18.focus();
return false;
}
if (control19.options[control19.selectedIndex].value=="0") {
alert (ErrorPreferedDay);
control19.focus();
return false;
}


return true;
}
