                 break
             }
         }
-        
-//        let tagindex = buttontilearray.indexOf(String(sender.tag))
-//        let currentdayindex = buttontilearray.indexOf(String(currentsplitday.day))
         
         self.DayControl(tagindex-currentdayindex)
         let currentnsdatesplit = CommonMethod().ReturnYearMonthDayWeekday(currentnsdate)

            
            daybuttonarray.append(tmp_daybutton)
        }
        
//        for i in 0...6 {
//            self.buttontilearray.append(String(tmparray[i]))
//        }
    }
    


     - parameter pivotweekday: 今日の曜日を表す数値
     */
    func SetDayArray(pivotnsdate: NSDate, pivotweekday: Int){
        var j = 0                   //日付を増やすための変数
        
        let nsdatesplit = CommonMethod().ReturnYearMonthDayWeekday(pivotnsdate)
