Okay, I keep getting a syntax error in my firebug add-on, and it cannot figure out what is causing the problem, but it gives me

function udf_ToggleUserStyle(box, id){if...ile (var i < newCookie.length && found =
The whole while statement is
Code:
var i = 0
while (i < newCookie.length && found == false)
{
    if (id == newCookie[i]) { found = true; }
    i++;
}
If you need the whole function, I can get it too, It's not long.