code: function(event){
  		var tcn = event && event.target ? event.target.className : "",
  			res = {node: this.getNode(event.target), type: undefined};
  		// We use a fast version of $(res.node).hasClass()
  		// See http://jsperf.com/test-for-classname/2
  		if( /\bfancytree-title\b/.test(tcn) ){
  			res.type = "title";
  		}else if( /\bfancytree-expander\b/.test(tcn) ){
  			res.type = (res.node.hasChildren() === false ? "prefix" : "expander");
  		}else if( /\bfancytree-checkbox\b/.test(tcn) || /\bfancytree-radio\b/.test(tcn) ){
  			res.type = "checkbox";
  		}else if( /\bfancytree-icon\b/.test(tcn) ){
  			res.type = "icon";
  		}else if( /\bfancytree-node\b/.test(tcn) ){
  			// Somewhere near the title
  			res.type = "title";
  		}else if( event && event.target && $(event.target).closest(".fancytree-title").length ) {
  			// #228: clicking an embedded element inside a title
  			res.type = "title";
  		}
  		return res;
  	}
docs: Return a {node: FancytreeNode, type: TYPE} object for a mouse event.
  
  @param {Event} event Mouse event, e.g. click, ...
  @returns {object} Return a {node: FancytreeNode, type: TYPE} object
  TYPE: 'title' | 'prefix' | 'expander' | 'checkbox' | 'icon' | undefined