Index: /trunk/FACT++/www/smartfact/index.js
===================================================================
--- /trunk/FACT++/www/smartfact/index.js	(revision 13715)
+++ /trunk/FACT++/www/smartfact/index.js	(revision 13716)
@@ -591,5 +591,5 @@
             if (cols.length>2 && cols[2].length>0)
             {
-                cell2.id = "data"+counter;
+                cell2.id = "data"+z+"-"+counter;
                 cell2.setAttribute("data-form",  cols[2]);
                 cell2.appendChild(document.createTextNode("---"));
@@ -928,12 +928,5 @@
             continue;
 
-        if (tbody.rows[line-1]==undefined)
-            continue;
-
-        var c = tbody.rows[line-1].cells[1];
-        if (c == undefined)
-            continue;
-
-        var e = c.childNodes[0].rows[0].cells[1];
+        var e = document.getElementById("data"+z+"-"+line);
         if (e == undefined)
             continue;
