         }
     }
 
+    func showAdView() { if let adView = adBannerView { adView.hidden = false } }
+    func hideAdView() { if let adView = adBannerView { adView.hidden = true } }
+
     func bannerViewDidLoadAd(banner: ADBannerView!) {
         adBannerView?.alpha = 1.0
     }

            view.backgroundColor = UIColor(red: 0, green: 0, blue: 0, alpha: rate)
            controlPanel.alpha   = rate
        }
    }

    func toggleScreen() {

    func didMaximizedCoverView() {
        updateViews()
        addAdView()
        showAdView()
    }

    func didResizeCoverView(rate: CGFloat) {
