function nc(obj){ var pr; obj=obj.split('_');n=obj[0];obj=obj[1];if(obj==1){return;} pr=obj-1; document.getElementById(n+"_"+pr).className=n+"_"+pr+pr; } function mc(obj){ obj=obj.split('_');n=obj[0];obj=obj[1];if(obj==1){return;} pr=obj-1; document.getElementById(n+"_"+(obj-1)).className=n+"_"+pr; }