 						}
 
 
+				$("#statusDiv").html('done');
 				$('body').css('cursor', 'auto');
 											console.log('auto');
 					}

			initTree();

			myTree.attachEvent("onDblClick", function(id){
				console.log('wait');
				$('body').css('cursor', 'wait');


				order by
					position_in_classification ASC
			) loop
				dbms_output.put_line(r.term_type || '=' || r.term);
				-- see if we already have one
				select count(*) into v_c from hierarchical_taxonomy where term=r.term and rank=r.term_type;
				if v_c=1 then
