code: function defineHeadStyleElement(id, cssText) {
  		id = "fancytree-style-" + id;
  		var $headStyle = $("#" + id);
  
  		if (!cssText) {
  			$headStyle.remove();
  			return null;
  		}
  		if (!$headStyle.length) {
  			$headStyle = $("<style />")
  				.attr("id", id)
  				.addClass("fancytree-style")
  				.prop("type", "text/css")
  				.appendTo("head");
  		}
  		try {
  			$headStyle.html(cssText);
  		} catch (e) {
  			// fix for IE 6-8
  			$headStyle[0].styleSheet.cssText = cssText;
  		}
  		return $headStyle;
  	}
docs: /* Calculate inner width without scrollbar function realInnerWidth($el) { // http://blog.jquery.com/2012/08/16/jquery-1-8-box-sizing-width-csswidth-and-outerwidth/ //	inst.contWidth = parseFloat(this.$container.css("width"), 10); // 'Client width without scrollbar' - 'padding' return $el[0].clientWidth - ($el.innerWidth() -  parseFloat($el.css("width"), 10)); } /* Create a global embedded CSS style for the tree.