 import mx.events.WindowExistenceEvent;
 import mx.managers.CursorManagerImpl;
 import mx.managers.FocusManager;
+import mx.managers.IActiveWindowManager;
 import mx.managers.ICursorManager;
 import mx.managers.ISystemManager;
 import mx.managers.WindowedSystemManager;
+import mx.managers.systemClasses.ActiveWindowManager;
 import mx.styles.CSSStyleDeclaration;
 import mx.styles.StyleManager;
 import mx.styles.StyleProxy;

     */
    private static const DEFAULT_WINDOW_WIDTH:Number = 100;

    //--------------------------------------------------------------------------
    //
    //  Class methods
    //
    //--------------------------------------------------------------------------

    /**
     *  Returns the Window to which a component is parented.
     *

        if (sm.isTopLevel())
        {
            focusManager = new FocusManager(this);
			var awm:IActiveWindowManager = 
				IActiveWindowManager(sm.getImplementation("mx.managers::IActiveWindowManager"));
			if (awm)
           		awm.activate(this);
            else
                focusManager.activate();

            _cursorManager = new CursorManagerImpl(sm);
        }
    }
