      */
     public function get titleBar():UIComponent
     {
-    	return _titleBar;
+        return _titleBar;
     }
 
     //----------------------------------
     //  titleBarFactory
     //----------------------------------
-	
-	/**
-	 *  @private
-	 *  Storage for the titleBarFactory property
-	 */
-	private var _titleBarFactory:IFactory = new ClassFactory(TitleBar);
-	
-	/**
-     *  @private
-     */
-	private var titleBarFactoryChanged:Boolean = false;
-	
-	[Bindable("titleBarFactoryChanged")]
-	
-	/**
+    
+    /**
+     *  @private
+     *  Storage for the titleBarFactory property
+     */
+    private var _titleBarFactory:IFactory = new ClassFactory(TitleBar);
+    
+    /**
+     *  @private
+     */
+    private var titleBarFactoryChanged:Boolean = false;
+    
+    [Bindable("titleBarFactoryChanged")]
+    
+    /**
      *  The IFactory that creates an instance to use
      *  as the title bar.
      *  The default value is an IFactory for TitleBar.


    private static var _titleBarStyleFilters:Object =
    {
		"buttonAlignment" : "buttonAlignment",
		"buttonPadding" : "buttonPadding",
		"closeButtonSkin" : "closeButtonSkin",
		"cornerRadius" : "cornerRadius",
		"headerHeight" : "headerHeight",
		"maximizeButtonSkin" : "maximizeButtonSkin",
		"minimizeButtonSkin" : "minimizeButtonSkin",
		"restoreButtonSkin" : "restoreButtonSkin",
		"titleAlignment" : "titleAlignment",
		"titleBarBackgroundSkin" : "titleBarBackgroundSkin",
		"titleBarButtonPadding" : "titleBarButtonPadding",
		"titleBarColors" : "titleBarColors",
		"titleTextStyleName" : "titleTextStyleName"
	};

    /**
     *  Set of styles to pass from the Window to the titleBar.
	 *
     *  @see mx.styles.StyleProxy
     */
    protected function get titleBarStyleFilters():Object

     */
    private var _nativeWindow:NativeWindow;

    /**
     *  @private
     */
    private var _nativeWindowVisible:Boolean = true;
    
    /**
     *  @private
     */
    private var maximized:Boolean = false;

    /**
     *  @private
     */
    private var _cursorManager:ICursorManager;
    
    
    /**
     *  @private
     */
    private var toMax:Boolean = false;

    /**
     *  @private
