         visualEffect.translatesAutoresizingMaskIntoConstraints = false
         visualEffect.clipsToBounds = true
         
+        let baseView:UIView = UIView()
+        baseView.translatesAutoresizingMaskIntoConstraints = false
+        baseView.clipsToBounds = true
+        baseView.backgroundColor = UIColor.white
+        baseView.layer.borderWidth = 1
+        baseView.layer.borderColor = UIColor(white:0, alpha:0.1).cgColor
+        baseView.layer.cornerRadius = kCornerRadius
+        
         addSubview(visualEffect)
+        addSubview(baseView)
         
         let views:[String:UIView] = [
-            "visualEffect":visualEffect]
+            "visualEffect":visualEffect,
+            "baseView":baseView]
         
-        let metrics:[String:CGFloat] = [:]
+        let metrics:[String:CGFloat] = [
+            "baseWidth":kBaseWidth,
+            "baseHeight":kBaseHeight,
+            "buttonHeight":kButtonHeight]
         
         addConstraints(NSLayoutConstraint.constraints(
             withVisualFormat:"H:|-0-[visualEffect]-0-|",

            metrics:metrics,
            views:views))
        addConstraints(NSLayoutConstraint.constraints(
            withVisualFormat:"V:|-0-[visualEffect]-0-|",
            options:[],
            metrics:metrics,
            views:views))
    }
}

class VStoreAd:UIView
{
    private weak var controller:CStoreAd!
    private weak var layoutBaseLeft:NSLayoutConstraint!
    private weak var layoutBaseTop:NSLayoutConstraint!
    private let kBaseWidth:CGFloat = 300
    private let kBaseHeight:CGFloat = 420
    private let kButtonHeight:CGFloat = 38
    private let kCornerRadius:CGFloat = 10
    
    convenience init(controller:CStoreAd)
    {
