// private vars
var fvError = {};

function fv_getLanguage()
{	
	switch(fvLang)
	{
		case "de":
			fvError = {
				main: 'Bitte folgende Felder ausf&uuml;llen:',
				alphanum: 'ist ein Pflichtfeld.',
				numeric: 'ist keine Zahl.',
				email: 'ist keine g&uuml;ltige E-Mail.',
				ajax: 'Es ist ein Fehler bei der Ausf&uuml;hrung des Ajax-Requests aufgetreten!',
				chars: 'Zeichen',
				minimum: 'ben&ouml;tigt mindestens',
				maximum: 'enth&auml;lt mehr als',
				exists: 'existiert bereits',
				captcha: 'Der Captcha-Code ist falsch',
				equals: 'ist nicht identisch'
			};
		break;
		case "en":
			fvError = {
				main: 'Please fill out following fields:',
				alphanum: '(This Field) is mandatory.',
				numeric: 'is not a number.',
				email: 'is not a valid e-mail address.',
				ajax: 'An error occured while executing the ajax request, please try again!',
				chars: 'chars',
				minimum: 'max',
				maximum: 'min',
				exists: 'already  exitsts',
				captcha: 'Wrong captcha code',
				equals: 'is not equal'
			};
		break;
		case "fr":
			fvError = {
				main: 'Veuillez remplir les champs suivants',
				alphanum: 'Ce champ est obligatoire.',
				numeric: 'Il n’y a aucun chiffre.',
				email: 'Adresse e-mail non valide.',
				ajax: 'Il y a une erreur lors de l’exécution d’Ajax-Requests!',
				chars: 'Symbole',
				minimum: 'min',
				maximum: 'max',
				exists: 'Existe déjà',
				captcha: "Le code Captcha entré n'est pas correct",
				equals: 'Il n’est pas même'
			};
		break;
		case "cn":
			fvError = {
				main: 'Please fill out following fields:',
				alphanum: '(This Field) is mandatory.',
				numeric: 'is not a number.',
				email: 'is not a valid e-mail address.',
				ajax: 'An error occured while executing the ajax request, please try again!',
				chars: 'chars',
				minimum: 'max',
				maximum: 'min',
				exists: 'already  exitsts',
				captcha: 'Wrong captcha code',
				equals: 'is not equal'
			};
		break;
	}
	return fvError;
}

