// JavaScript Document
<!--
function CheckSoNotThree(obj) {
max = 4; 
b0 = obj.form.check1[0].checked;
b1 = obj.form.check1[1].checked;
b2 = obj.form.check1[2].checked;
b3 = obj.form.check1[3].checked;
b4 = obj.form.check1[4].checked; 
b5 = obj.form.check1[5].checked; 
b6 = obj.form.check1[6].checked; 
b7 = obj.form.check1[7].checked; 
b8 = obj.form.check1[8].checked; 
b9 = obj.form.check1[9].checked; 
b10 = obj.form.check1[10].checked; 
b11 = obj.form.check1[11].checked; 
b12 = obj.form.check1[12].checked; 
b13 = obj.form.check1[13].checked; 
b14 = obj.form.check1[14].checked; 
b15 = obj.form.check1[15].checked; 
b16 = obj.form.check1[16].checked; 
b17 = obj.form.check1[17].checked; 

count = (b0 ? 1 : 0) +  (b1 ? 1 : 0) + (b2 ? 1 : 0) + (b3 ? 1 : 0) + (b4 ? 1 : 0)
		+ (b5 ? 1 : 0) + (b6 ? 1 : 0) + (b7 ? 1 : 0) + (b8 ? 1 : 0)
		+ (b9 ? 1 : 0) + (b10 ? 1 : 0) + (b11 ? 1 : 0) + (b12 ? 1 : 0)
		+ (b13 ? 1 : 0) + (b14 ? 1 : 0) + (b15 ? 1 : 0) + (b16 ? 1 : 0)
		+ (b17 ? 1 : 0);

if (count == "3") {
alert("Oops!  Du kan INTE välja 3 alternativ! Välj 2 eller 4 sökmotorer.");
obj.checked = false;
   }
if (count == "0") {
alert("Oops!  Du har inte specificerat någon sökmotor.");
obj.checked = false;
   }
}
-->
