         public static var Close:Class;
         [Embed(source="assets/refresh.png")] 
         public static var Refresh:Class;
+        [Embed(source="assets/ajax-spinner-black-bg.gif")] 
+        public static var Spinner:Class;
 
         public function ChildBrowser() 
         {

            return new Array ("blackberry.polarmobile.childbrowser");
        }

        private function initBG()
        {
            bgshape = new Sprite();
            bgshape.graphics.beginFill(0x323232);
            bgshape.graphics.drawRect(0,0,webView.stage.stageWidth, webView.stage.stageHeight);
            webView.stage.addChildAt(bgshape, 0);
        }

        public function clearCookies()


        public function loadURL(url:String)
        {
            webView.zOrder = -1;
            var self = this
            browserHeight = webView.stage.stageHeight - 50;

            //only ever create one web view
            function createBrowser(){
              if (childWebView == null) 
              {
                  childWebView = new QNXStageWebView("ChildBrowser");
                  childWebView.stage = webView.stage;
                  childWebView.viewPort = new Rectangle(0,50,webView.stage.stageWidth,browserHeight);
              }

              //if its not visible.. i want to see it
              if (!self.getVisible())
              {
                  self.setVisible(true)
              }

              //load this url
              childWebView.loadURL(url);

              //build buttons
              self.initUI();

              // events
              webView.stage.addEventListener(StageOrientationEvent.ORIENTATION_CHANGE, onOrientationChange);
            }

            this.initBG(createBrowser);
        }

        private function onOrientationChange(event:StageOrientationEvent)
        {
            var self = this
            this.removeUI();
            this.initBG(function(){
              self.initUI()
            });
            childWebView.viewPort = new Rectangle(0,50,webView.stage.stageWidth,browserHeight);
        }

