         testbutton.addTarget(self, action: "TestButtontapped:", forControlEvents: .TouchUpInside)
         
         self.AnimationMenuView.addSubview(circleimageview)
+        self.AnimationMenuView.sendSubviewToBack(circleimageview)
         self.view.addSubview(ToolBar)
         self.view.addSubview(MenuButton)
         self.view.addSubview(AnimationMenuView)

    }
    
    func MenuButtontapped(sender: UIButton){
        
        if(menushow == 0){      //Menuが出ていない時
            UIView.animateWithDuration(0.3, animations: { () -> Void in
                self.AnimationMenuView.backgroundColor = UIColor(red: 0.0, green: 0.0, blue: 0.0, alpha: 1.0)
                self.view.bringSubviewToFront(self.AnimationMenuView)
                self.menushow = 1
            })
        }else{
            UIView.animateWithDuration(0.3, animations: { () -> Void in
                self.AnimationMenuView.backgroundColor = UIColor(red: 0.0, green: 0.0, blue: 0.0, alpha: 1.0)

        
        
        //魔法陣の設置
        circleimageview.frame = CGRectMake(self.AnimationMenuView.frame.width/2, self.AnimationMenuView.frame.height/2, 400, 400)
        circleimageview.image = circleimage
        circleimageview.alpha = 0.0
        
        
        //遷移ボタンの作成
