function radio_button_checker()
{
// set var radio_choice to false
var radio_1 = false;
var radio_2 = false;
var radio_3 = false;

// Loop from zero to the one minus the number of radio button selections
for (counter = 0; counter < loanapp.ccj.length; counter++)
{
// If a radio button has been selected it will return true
// (If not it will return false)
if (loanapp.ccj[counter].checked)
radio_1 = true; 
}

if (!radio_1)
{
// If there were no selections made display an alert box 
alert("Please select Yes Or No For CCJ's.")
return (false);
}

var counter = 0;

for (counter = 0; counter < loanapp.missed.length; counter++)
{
// If a radio button has been selected it will return true
// (If not it will return false)
if (loanapp.missed[counter].checked)
radio_2 = true; 
}

if (!radio_2)
{
// If there were no selections made display an alert box 
alert("Please select Yes Or No For Missed Payments.")
return (false);
}


var counter = 0;

for (counter = 0; counter < loanapp.bankc.length; counter++)
{
// If a radio button has been selected it will return true
// (If not it will return false)
if (loanapp.bankc[counter].checked)
radio_3 = true; 
}

if (!radio_3)
{
// If there were no selections made display an alert box 
alert("Please select Yes Or No For Bankruptcy Or IVA's.")
return (false);
}
return (true);
}
