 							$("#statusDiv").html('successful save');
 						}else{
 							alert(r);
+							$("#statusDiv").html(r);
 						}
-						$("#statusDiv").html('done');
 					}
 				);
 			});
 
 
 
-			myTree.attachEvent("onCheck", function(id){
-			    alert('this should edit ' + id);
-			    // uncheck everything
-			    var ids=myTree.getAllSubItems(0).split(",");
-	    		for (var i=0; i<ids.length; i++){
-	       			myTree.setCheck(ids[i],0);
-	    		}
-			});
+
 
 
 

				);
			});



			myTree.attachEvent("onDrop", function(sId, tId, id, sObject, tObject){
				$("#statusDiv").html('working....');
			    $.getJSON("/component/test.cfc",

					}
				}
			);
		}


