         
         //selectnailから受け取った画像の出力
         nailImg.image = UIImage(named: _second)
+        nailImg.contentMode = UIViewContentMode.ScaleAspectFit
+        
+        nailImg.clipsToBounds = true
         
         //UIView
         BaseView = UIImageView(frame: CGRectMake(500,430,500, 90))
         PartsView = UIImageView(frame: CGRectMake(500,430,500, 90))
         StoneView = UIImageView(frame: CGRectMake(500,430,500, 90))
-        setPartsView = UIImageView(frame: CGRectMake(54,0,130,240))
-        
-        BaseView.contentMode = UIViewContentMode.ScaleAspectFit
-        PartsView.contentMode = UIViewContentMode.ScaleAspectFit
-        StoneView.contentMode = UIViewContentMode.ScaleAspectFit
-        
-        BaseView.clipsToBounds = true
-        PartsView.clipsToBounds = true
-        StoneView.clipsToBounds = true
-        setPartsView.clipsToBounds = true
+        UpperView = UIImageView(frame: CGRectMake(-420,330,420, 90))
+        setPartsView = UIImageView(frame: CGRectMake(43,72,0,0))
         
         //menu image
         BaseView.image = UIImage(named: "bottombar.png")
         PartsView.image = UIImage(named: "bottombar.png")
         StoneView.image = UIImage(named: "bottombar.png")
+        UpperView.image = UIImage(named: "upperbar.png")
+        
+        //hidden
+        UpperView.hidden = true
         
         //create done button
         BaseDonebtn = UIButton()

        })
    }
    
}

    var BaseView: UIImageView!
    var PartsView: UIImageView!
    var StoneView: UIImageView!
    var UpperView: UIImageView!
    
    //parts
    var setPartsView: UIImageView!
    var partsColor: UIColor!
    
    //button
    var BaseDonebtn: UIButton!
