public void onButtonClick(int index) {
		int id = list.get(index).id;
		if (id == ID_BUTTON_BACK) {
			//return
			switch (type) {
			case READ:
			case LEVEL:
				CableBattle.mainWindow.showTitle();
				break;
			case SAVE:
				CableBattle.mainWindow.showStage(false);
				break;
			}
		} else {
			int iData = id - ID_BUTTON_SAVEDATA0;
			switch (type) {
			case READ:
				if (availableSave.contains((Integer)iData)) {
					if (CableBattle.stage.load(0, iData)) {
						CableBattle.mainWindow.showStage(true);
					} else {
						CableBattle.mainWindow.showLoadFailed();
					}
				}
				break;
			case LEVEL:
				CableBattle.mainWindow.showLevel(iData + 1);
				break;
			case SAVE:
				CableBattle.stage.save(iData);
				CableBattle.mainWindow.showStage(false);
				break;
			}
		}
	}