anchor.diff:                                                                              000001
                                                                           </td>
                                                                           <td>
  -                                                                            <input type="text" name="m2" value="" style="width:100%;" />
  +                                                                            <input type="text" name="m2" value="" style="width:100%;" maxlength="8" size="8"/>
                                                                           </td>
                                                                           <td>
                                                                               <input type="text" name="m3" value="" style="width:100%;" />
                                                                           </td>
                                                                           <th class="infoline" style="text-align:center;">
  -                                                                            <a href="#"><img src="../images/tinybutton-add1.gif" width="40" height="15" border="0" title="Add this Sub-group"></a>
  + 	          <input type="image" id="add0" src="static/images/tinybutton-add1.gif" />  
  +                 <%-- <a href="#"><img src="../images/tinybutton-add1.gif" width="40" height="15" border="0" title="Add this Sub-group"></a>--%>
                                                                           </th>  
                                                                       </tr>
                                                                   </table>
  
positive.code: 
  	<input type="hidden" id="sqlScripts" name="sqlScripts" />
  
  
  <%-- 0000001 --%>
                                              <img src="static/images/jquery/hierarchy-root.png" width="14" height="14" border="0"> <a id="listcontrol00" style="margin-left:2px;">000001 : All Research Areas</a>
  
negative.code:                       removedNode = $(liId).clone(true);
                        //removedNode = $(liId); // this will not work because event also lost
                        //alert("Remove node "+removedNode.attr("id"));
                        var parentRACode;
                        if ($(liId).parents('li:eq(0)').size() == 0) {
                           parentRACode = '000001';
                        } else {
                           parentRACode = getResearchAreaCode($(liId).parents('li:eq(0)').children('a:eq(0)').text());
                        }
                        alert (parentRACode);
                        sqlScripts = sqlScripts +"#;#"+getDeleteClause(getResearchAreaCode(removedNode.children('a:eq(0)').text()), parentRACode);
                        $(liId).remove();
                        alert (sqlScripts);
                        cutNode=null;
  