jinak ta funkce kontrola vypada takto:

Kód:
function kontrola(x1, x2) 
{ 
   if ((x1.checked) && (x2.checked)) 
   x2.checked = false; 
};