function getNextCB( what ) {
if(typeof what.form != 'null') {
   var f = what.form.elements,
       n = f.length,
       k;
   if(n) {
     for(var i=0; i<n; i++) {
       if(f[i] === what)  k=i;
       if(typeof k == 'number' && i>k &&
          f[i].type == 'checkbox' &&
          !f[i].checked )
         {
         f[i].focus(); 
         break;
         }
         if (f[i].type == 'submit') //to focus on the approve button
		 {
		 document.getElementById('ctl00_CenterColumnHolder_ApproveButton').focus();
		 break;
		 } 
       }
     }
   }
}
function check(it) {
    //tr = it.parentElement.parentElement;
    input.style.backgroundColor = (it.checked) ? "gold" : "white";
}
//window.onload = checkit();

