function cellItem5324(nid){ this.name = nid; this.status=0;}function cellItemObject5324(){ this.count = -1; this.item = new cellItem5324; this.find = cellItemFind5324; this.add = cellItemAdd5324;}function cellItemFind5324(nid){ var foundItem = -1; for (var i = 0; i <= this.count; i++) { if(this.item[i]==null) continue; if (this.item[i].name == nid) { foundItem = i; break; } } return foundItem;}function cellItemAdd5324(n){ var i = this.find(n); if (i == -1) { i = ++this.count; this.item[i] = new cellItem5324(n); }}function onclick_op5324(form1,menuID,product_id){ if (menuID == 1) { var identid = form1.identid.value; var checkid = form1.checkid.value; form1.clicktype.value = product_id; var allselected=0; var needSelectCount=0; var kk=new cellItemObject5324; for(var index=0;index<form1.elements.length;index++)><script>