anchor.diff:  					checkForPageRedirect(jqXHR.responseText);
   				});
   		}
  -	
  +
   		//console.log("clicked:"+d.myid+"|"+d.type+" active:"+activeNode.myid+"|"+activeNode.type);
  -		activeNode.myid = d.myid;
  -		activeNode.type = d.type;
  -	
  +//		activeNode.myid = d.myid;
  +//		activeNode.type = d.type;
  +//		activeNode.pid = d!==root ? d.parent.myid : -1;
  +		activeNode = d;
  +
  +		update(d);
  +
   	} else { //only toggle nodes when the current node is active
   		//console.log("clicked:"+d.myid+"|"+d.type+" active:"+activeNode.myid+"|"+activeNode.type);
   		if (d.pid != -1) {	//root node will not be toggled
  
positive.code: }
  
  function color(d) {
  	return d._children ? "#3182bd" : d.children ? "#c6dbef" : "#fd8d3c";
  }
  
  function onMouseOver(d) {
  
negative.code: 	if (d!=root)
  		d.pid = d.parent.myid; */
  
  //	if (d.myid!==activeNode.myid || d.type!==activeNode.type || d.pid!==activeNode.pid ) {
  	if (d!==activeNode) {	
  		var seen = [];
  		var dstr = JSON.stringify(d, function (key, val) {
  			if (key == "parent" || key == "children") { //don't stringify the parent/children nodes
  