// Part one of Countdown Series/Events configuration
// Registers all series and adds "choice button" info.
// Probably should be cleaned up.
// Requires scripts/countdown.js, countdown-config.js

var NrChoices = 0;
var CountdownConfigIds = new Array();
var CountdownChoiceButtonTitle = new Array();
var CountdownChoiceButtonDisplayInactive = new Array();
var CountdownChoiceButtonDisplayActive = new Array();

//FIHS Championship
try {
	CountdownConfigIds[NrChoices] = RegisterCountdown(FIHSCountdownConfig);
	CountdownChoiceButtonTitle[NrChoices] = FIHSCountdownChoicesConfig[0];
	CountdownChoiceButtonDisplayInactive[NrChoices] = FIHSCountdownChoicesConfig[1];
	CountdownChoiceButtonDisplayActive[NrChoices] = FIHSCountdownChoicesConfig[2];
	NrChoices++;
} catch(e) {
}

/*
//rFactor Champcar World Series
try {
	CountdownConfigIds[NrChoices] = RegisterCountdown(FIHS_ChampCar_CountdownConfig);
	CountdownChoiceButtonTitle[NrChoices] = FIHS_ChampCar_CountdownChoicesConfig[0];
	CountdownChoiceButtonDisplayInactive[NrChoices] = FIHS_ChampCar_CountdownChoicesConfig[1];
	CountdownChoiceButtonDisplayActive[NrChoices] = FIHS_ChampCar_CountdownChoicesConfig[2];
	NrChoices++;
} catch(e) {
}
*/

//Formula Nippon
try {
	CountdownConfigIds[NrChoices] = RegisterCountdown(FIHS_FNippon_CountdownConfig);
	CountdownChoiceButtonTitle[NrChoices] = FIHS_FNippon_CountdownChoicesConfig[0];
	CountdownChoiceButtonDisplayInactive[NrChoices] = FIHS_FNippon_CountdownChoicesConfig[1];
	CountdownChoiceButtonDisplayActive[NrChoices] = FIHS_FNippon_CountdownChoicesConfig[2];
	NrChoices++;
} catch(e) {
}

//F1 Championship
try {
	CountdownConfigIds[NrChoices] = RegisterCountdown(F1CountdownConfig);
	CountdownChoiceButtonTitle[NrChoices] = F1CountdownChoicesConfig[0];
	CountdownChoiceButtonDisplayInactive[NrChoices] = F1CountdownChoicesConfig[1];
	CountdownChoiceButtonDisplayActive[NrChoices] = F1CountdownChoicesConfig[2];
	NrChoices++;
} catch(e) {
}

