 
 		return rawChildren_addChildAt(child, noTopMostIndex - 1);
 	}
+	
+	//----------------------------------
+    //  numChildren
+    //----------------------------------
+
+	/**
+	 *  The number of non-floating windows.  This is the main application window
+	 *  plus any other windows added to the SystemManager that are not popups,
+	 *  tooltips or cursors.
+	 */
+	override public function get numChildren():int
+	{
+		return noTopMostIndex - applicationIndex;
+	}
     
     /**
 	 *  @private

			document = this;
		}
	
	}

	

	 */
  	override public function getChildIndex(child:DisplayObject):int
	{
		return super.getChildIndex(child) - applicationIndex;
	}

	/**
