 			return m_appContext;
 		}
 		
+		public function get parentDocument() : DocumentView
+		{
+			return m_parentDocument;
+		}
+
 		/**
 		 * Returns the time that's used as the time for all timed actions executed in the 
 		 * current frame.

		public override function setParent(parent:UIObject) : UIObject
		{
			super.setParent(parent);
			//TODO: remove these after making sure that that's ok (it really should be)
			m_rootElement = this;
			m_containingBlock = this;

		
		protected var m_appContext : ApplicationContext;
		protected var m_focusManager : FocusManager;
		protected var m_parentDocument : DocumentView;
		
		protected var m_invalidChildren : Array;
		protected var m_validatedElementsCount : int;
