         translatesAutoresizingMaskIntoConstraints = false
         layer.cornerRadius = kCornerRadius
         layer.borderWidth = kBorderWidth
-        layer.borderColor = UIColor(white:0, alpha:0.6).cgColor
+        layer.borderColor = UIColor(white:0, alpha:0.7).cgColor
         
         let blurEffect:UIBlurEffect = UIBlurEffect(style:UIBlurEffectStyle.extraLight)
         let blur:UIVisualEffectView = UIVisualEffectView(effect:blurEffect)
         blur.isUserInteractionEnabled = false
         blur.translatesAutoresizingMaskIntoConstraints = false
-        
-        let header:UIView = UIView()
-        header.isUserInteractionEnabled = false
-        header.backgroundColor = UIColor.complement
-        header.translatesAutoresizingMaskIntoConstraints = false
         
         let label:UILabel = UILabel()
         label.isUserInteractionEnabled = false


class VAlert:UIView
{
    static let kMarginHorizontal:CGFloat = 10
    static let kHeight:CGFloat = 70
    private weak var layoutTop:NSLayoutConstraint!
    private weak var timer:Timer?
    private let kMarginTop:CGFloat = 20
    private let kAnimationDuration:TimeInterval = 0.2
    private let kTimeOut:TimeInterval = 6
    private let kFontSize:CGFloat = 14
    private let kLabelMargin:CGFloat = 10
    private let kCornerRadius:CGFloat = 5
    private let kBorderWidth:CGFloat = 0.5
    private let kHeaderHeight:CGFloat = 10
    
    class func message(message:String)
    {

            for:UIControlEvents.touchUpInside)
        
        addSubview(blur)
        addSubview(label)
        addSubview(button)
        
        let views:[String:UIView] = [
            "blur":blur,
            "label":label,
            "button":button]
        
        let metrics:[String:CGFloat] = [
            "labelMargin":kLabelMargin
        ]
        
        addConstraints(NSLayoutConstraint.constraints(
