docs: function (e) {
  		var selected = ((e.clientX > Crafty.stage.x && e.clientX < Crafty.stage.x + Crafty.viewport.width) &&
                      (e.clientY > Crafty.stage.y && e.clientY < Crafty.stage.y + Crafty.viewport.height));
  
  		if (!Crafty.selected && selected)
  			Crafty.trigger("CraftyFocus");
  		if (Crafty.selected && !selected)
  			Crafty.trigger("CraftyBlur");
  
  		Crafty.selected = selected;
  	}