function separate(obj,c) { if(ucc[obj+"c"]==null) ucc[obj+"c"]=c; else ucc[obj+"c"]+=c; document.getElementById(obj).style.display=""; document.getElementById(obj+"c").innerHTML=ucc[obj+"c"]; if(ucc[obj+"c"]==0) document.getElementById(obj).style.display="none"; if(c==1) return document.getElementById(obj).rowIndex+1; }