function getapr(){

if (document.form1.select.value <= 2999){
apr = 13.9}

else if (document.form1.select.value <= 4999){
apr = 10.9}

else if (document.form1.select.value <= 9999){
apr = 8.9}

else if (document.form1.select.value <= 25000){
apr = 7.9}

}

function insure(){
if (document.form1.ins.checked) {
}
else{
if (confirm('By opting to exclude repayment protection insurance you acknowledge that in the unfortunate event that you are unable to work due to accident, sickness or unemployment you are still responsible for making the repayments. Click OK to keep the insurance protection, or Cancel to remove it.')){
document.form1.ins.checked = true;
returnPayments();
}
}
}