function CheckAll(setbgcolor,form,index) { htmlform = document.getElementById(form+index); for (var i=0;i