function getFormValidationText(strKeyCode, strCulture) {
	var intCultureIndex;
	switch (strCulture) {
		case 'de-DE':
			intCultureIndex = 1 // to do: German translation
			break
		case 'en-GB':
			intCultureIndex = 1
			break
		default:
			intCultureIndex = 2 //nl-NL
	}
	
	for (x = 0; x < FormValidationTexts.length; x++) {
		if (FormValidationTexts[x][0] == strKeyCode) {
			return FormValidationTexts[x][intCultureIndex];
			break;
		}
	}
	return 'Error: form validation text \'' + strKeyCode + '\' does not exist.';
}

FormValidationTexts = new Array()

FormValidationTexts[0] = new Array(3); FormValidationTexts[0][0] = 'requireValue : selectone'
FormValidationTexts[0][1] = 'it is required to select an option.'
FormValidationTexts[0][2] = 'het is verplicht een keuze te maken uit de lijst.'

FormValidationTexts[1] = new Array(3); FormValidationTexts[1][0] = 'requireValue : else'
FormValidationTexts[1][1] = 'this field cannot be left blank.' //en-US
FormValidationTexts[1][2] = 'dit veld moet worden ingevuld.' //nl-NL

FormValidationTexts[2] = new Array(3); FormValidationTexts[2][0] = 'requireChecked'
FormValidationTexts[2][1] = 'must be checked' //en-US
FormValidationTexts[2][2] = 'moet worden aangevinkt.' //nl-NL

FormValidationTexts[3] = new Array(3); FormValidationTexts[3][0] = 'requireConfirmation'
FormValidationTexts[3][1] = 'this value must match the value for' //en-US
FormValidationTexts[3][2] = 'deze invoer moet gelijk zijn aan de invoer bij' //nl-NL

FormValidationTexts[4] = new Array(3); FormValidationTexts[4][0] = 'requireRadio'
FormValidationTexts[4][1] = 'It is required to choose between' //en-US
FormValidationTexts[4][2] = 'Het is verplicht een keuze te maken tussen' //nl-NL

FormValidationTexts[5] = new Array(3); FormValidationTexts[5][0] = 'requireRadio : or'
FormValidationTexts[5][1] = 'or' //en-US
FormValidationTexts[5][2] = 'of' //nl-NL

FormValidationTexts[6] = new Array(3); FormValidationTexts[6][0] = 'requireLength'
FormValidationTexts[6][1] = 'the current number of characters of the value of this field' //en-US
FormValidationTexts[6][2] = 'de huidige aantal tekens van de invoer in dit veld' //nl-NL

FormValidationTexts[7] = new Array(3); FormValidationTexts[7][0] = 'requireLength : longer'
FormValidationTexts[7][1] = 'is longer than the maximum number of characters' //en-US
FormValidationTexts[7][2] = 'is langer dan het maximale aantal tekens' //nl-NL

FormValidationTexts[8] = new Array(3); FormValidationTexts[8][0] = 'requireLength : shorter'
FormValidationTexts[8][1] = 'is shorter than the minimum number of characters' //en-US
FormValidationTexts[8][2] = 'is korter dan het minimale aantal tekens' //nl-NL

FormValidationTexts[9] = new Array(3)
FormValidationTexts[9][0] = '(dis)allowChars'
FormValidationTexts[9][1] = 'this field may not contain the following character:' //en-US
FormValidationTexts[9][2] = 'dit veld mog niet het volgende teken bevatten:' //nl-NL

FormValidationTexts[10] = new Array(3)
FormValidationTexts[10][0] = 'checkEmail'
FormValidationTexts[10][1] = 'this must be a valid e-mail address.' //en-US
FormValidationTexts[10][2] = 'dit moet een geldig e-mail adres zijn.' //nl-NL

FormValidationTexts[11] = new Array(3)
FormValidationTexts[11][0] = 'checkIntRange | checkFloatRange : lower'
FormValidationTexts[11][1] = 'this number may not be lower than' //en-US
FormValidationTexts[11][2] = 'dit getal mag niet lager zijn dan' //nl-NL

FormValidationTexts[12] = new Array(3)
FormValidationTexts[12][0] = 'checkIntRange | checkFloatRange : higher'
FormValidationTexts[12][1] = 'this number may not be higher than' //en-US
FormValidationTexts[12][2] = 'dit getal mag niet hoger zijn dan' //nl-NL

FormValidationTexts[13] = new Array(3)
FormValidationTexts[13][0] = 'fixInt'
FormValidationTexts[13][1] = 'this must contain a whole number.' //en-US
FormValidationTexts[13][2] = 'dit veld moet een geheel getal bevatten.' //nl-NL

FormValidationTexts[14] = new Array(3)
FormValidationTexts[14][0] = 'fixFloat | fixFixed'
FormValidationTexts[14][1] = 'must contain a number.' //en-US
FormValidationTexts[14][2] = 'dit veld moet een getal bevatten.' //nl-NL

FormValidationTexts[15] = new Array(3)
FormValidationTexts[15][0] = 'fixDate | fixRecentDate'
FormValidationTexts[15][1] = 'this is not a valid date.' //en-US
FormValidationTexts[15][2] = 'dit is geen geldige datum.' //nl-NL

FormValidationTexts[16] = new Array(3)
FormValidationTexts[16][0] = 'fixTime'
FormValidationTexts[16][1] = 'this is not a valid time.' //en-US
FormValidationTexts[16][2] = 'dit is geen geldige tijd.' //nl-NL

FormValidationTexts[17] = new Array(3)
FormValidationTexts[17][0] = 'fixPhone | too short'
FormValidationTexts[17][1] = 'this phone number is too short.' //en-US
FormValidationTexts[17][2] = 'dit telefoonnummer is te kort.' //nl-NL

FormValidationTexts[18] = new Array(3)
FormValidationTexts[18][0] = 'fixPhone | too long'
FormValidationTexts[18][1] = 'this phone number is too long.' //en-US
FormValidationTexts[18][2] = 'dit telefoonnummer is te lang.' //nl-NL

FormValidationTexts[19] = new Array(3)
FormValidationTexts[19][0] = 'fixPhone | wrong'
FormValidationTexts[19][1] = 'this phone number is wrong.' //en-US
FormValidationTexts[19][2] = 'dit telefoonnummer is ongeldig.' //nl-NL

FormValidationTexts[20] = new Array(3)
FormValidationTexts[20][0] = 'Required'
FormValidationTexts[20][1] = 'this field is required.' //en-US
FormValidationTexts[20][2] = 'dit veld moet worden ingevuld.' //nl-NL

FormValidationTexts[21] = new Array(3)
FormValidationTexts[21][0] = 'The chosen arrival date is in the past'
FormValidationTexts[21][1] = 'The chosen arrival date is in the past.' //en-US
FormValidationTexts[21][2] = 'De door u gekozen aankomstdatum ligt in het verleden.' //nl-NL

FormValidationTexts[22] = new Array(3)
FormValidationTexts[22][0] = 'The departure date must come after the arrival date'
FormValidationTexts[22][1] = 'The departure date must come after the arrival date.' //en-US
FormValidationTexts[22][2] = 'De vertrekdatum moet later zijn dan de aankomstdatum.' //nl-NL

FormValidationTexts[23] = new Array(3)
FormValidationTexts[23][0] = 'TOO_MANY_ADULTS'
FormValidationTexts[23][1] = 'You need two rooms for the selected number of adults.' //en-US
FormValidationTexts[23][2] = 'Voor het door u gekozen aantal volwassen heeft u twee kamers nodig.' //nl-NL

FormValidationTexts[24] = new Array(3)
FormValidationTexts[24][0] = 'TOO_MANY_ADULTS_LCR'
FormValidationTexts[24][1] = 'You need more rooms for the selected number of adults (2 per room).' //en-US
FormValidationTexts[24][2] = 'Voor het door u gekozen aantal volwassen heeft u meer kamers nodig. Er kunnen maximaal 2 personen op een kamer.' //nl-NL

FormValidationTexts[25] = new Array(3)
FormValidationTexts[25][0] = 'TOO_MANY_ROOMS'
FormValidationTexts[25][1] = 'Too many rooms for one adult.' //en-US
FormValidationTexts[25][2] = 'Te veel kamers voor 1 volwassene.' //nl-NL

FormValidationTexts[26] = new Array(3)
FormValidationTexts[26][0] = 'TOO_MANY_ROOMS_LCR'
FormValidationTexts[26][1] = 'You have selected more rooms than adults.' //en-US
FormValidationTexts[26][2] = 'U heeft meer kamers dan personen geselecteerd. Er dient minimaal 1 persoon in een kamer te verblijven.' //nl-NL

