Three things, firstly my golden rule of JavaScript
: NEVER USE EVAL.
Secondly what is stop meant to do? It is not a JavaScript statement and the function is about to return anyway so you don't need it. Thirdly why pass in cell to the function if you don't use it?
Code:
function unCheck(counter, type)
{
for (x = 0; x < counter; x++)
{
document.form[type + x].checked = false;
}
}
--
Joe (
Microsoft MVP - XML)