Vandalism will display in IE and Chrome, but not Firefox. Any ideas???
for (var i = 0, il = inputs.length; i < il; i++) { if (inputs.checked) { visible.push(inputs.id); if (i == 11) { //manually turn on hidden crash layers for (var j = 12, jEnd = 17; j <= jEnd; j++) { visible.push(inputs.id); } } } }
you're using a very old version of the JS API - it might be worth testing on a newer version to see if that resolves the issue