docs: function(a) {
  		gui.Spirit.prototype.onaction.call(this, a);
  		this.action.$handleownaction = false;
  		var base;
  		switch (a.type) {
  			case gui.ACTION_DOC_ONDOMCONTENT:
  				this.contentLocation = new gui.URL(document, a.data);
  				this.life.dispatch(gui.LIFE_IFRAME_DOMCONTENT);
  				this.action.remove(a.type);
  				a.consume();
  				break;
  			case gui.ACTION_DOC_ONLOAD:
  				this.contentLocation = new gui.URL(document, a.data);
  				this.life.dispatch(gui.LIFE_IFRAME_ONLOAD);
  				this.action.remove(a.type);
  				a.consume();
  				break;
  			case gui.ACTION_DOC_ONHASH:
  				base = this.contentLocation.href.split("#")[0];
  				this.contentLocation = new gui.URL(document, base + a.data);
  				this.life.dispatch(gui.LIFE_IFRAME_ONHASH);
  				a.consume();
  				break;
  			case gui.ACTION_DOC_ONSPIRITUALIZED:
  				this._onspiritualized();
  				this.life.dispatch(gui.LIFE_IFRAME_SPIRITUALIZED);
  				this.action.remove(a.type);
  				a.consume();
  				break;
  			case gui.ACTION_DOC_UNLOAD:
  				this._onunload();
  				this.life.dispatch(gui.LIFE_IFRAME_UNLOAD);
  				this.action.add([
  					gui.ACTION_DOC_ONCONSTRUCT,
  					gui.ACTION_DOC_ONDOMCONTENT,
  					gui.ACTION_DOC_ONLOAD,
  					gui.ACTION_DOC_ONSPIRITUALIZED
  				]);
  				a.consume();
  				break;
  		}
  	}