function bookmark(url,title){
  if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
  window.external.AddFavorite(url,title);
  } else if (navigator.appName == "Netscape") {
    window.sidebar.addPanel(title,url,"");
  } else {
    alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark");
  }
}
function valButton(btn) {
var cnt = -1;
for (var i=btn.length-1; i > -1; i--) {
   if (btn[i].checked) {cnt = i; i = -1;}
   }
if (cnt > -1) return btn[cnt].value;
else return null;
}
function valForm(form) {
	var btn1 = valButton(form.q1);
		if (btn1 == null) {
			alert('Please select an option for Question 1');
			return false
		}
	var btn2 = valButton(form.q2);
		if (btn2 == null) {
			alert('Please select an option for Question 2');
			return false
		}
	var btn3 = valButton(form.q3);
		if (btn3 == null) {
			alert('Please select an option for Question 3');
			return false
		}
	var btn4 = valButton(form.q4);
		if (btn4 == null) {
			alert('Please select an option for Question 4');
			return false
		}
	var btn5 = valButton(form.q5);
		if (btn5 == null) {
			alert('Please select an option for Question 5');
			return false
		}
	var btn6 = valButton(form.q6);
		if (btn6 == null) {
			alert('Please select an option for Question 6');
			return false
		}
	var btn7 = valButton(form.q7);
		if (btn7 == null) {
			alert('Please select an option for Question 7');
			return false
		}
	var btn8 = valButton(form.q8);
		if (btn8 == null) {
			alert('Please select an option for Question 8');
			return false
		}
	var btn9 = valButton(form.q9);
		if (btn9 == null) {
			alert('Please select an option for Question 9');
			return false
		}
	var btn10 = valButton(form.q10);
		if (btn10 == null) {
			alert('Please select an option for Question 10');
			return false
		}
	var tot = (btn1*1)+(btn2*1)+(btn3*1)+(btn4*1)+(btn5*1)+(btn6*1)+(btn7*1)+(btn8*1)+(btn9*1)+(btn10*1);
	if (tot > 2) {
		alert("The bad news is that you are probably past the point where you can handle this on your own. The good news is that you may be a great candidate for our program. Please call us at 888-397-7546 to find out if you qualify.");
	} else {
		alert("Your financial problems may not be as bad as you think. You may be able to handle this on your own. If you would like to find out more, please call us at 888-397-7546 for a no-obligation consultation with one of our trained debt consultants.");
	}
}