docs: function(e) {
  		var win = null,
  			doc = null,
  			target = e.target,
  			type = target.nodeType;
  		if (gui.Type.isDefined(type)) {
  			doc = (type === Node.DOCUMENT_NODE ? target : target.ownerDocument);
  			win = doc.defaultView;
  		} else {
  			win = target;
  			doc = win.document;
  		}
  		this.event = e;
  		this.window = win;
  		this.document = doc;
  		this.documentspirit = doc.documentElement.spirit;
  	}