// default setting
FE.langId = 1;
// delimiter; can easily be changed if needed
d = ';';
// get value function

FE.val = function(c) {
    d = ';';
    if (typeof(FE.vals[c]) == 'undefined') {
        res = 'Požadovaný popis nebyl nalezen'+d+'The requested value wasn\'t found';
    } else {
        res = FE.vals[c];
    }

    res = res.split(d);
    i = FE.langId - 1;
    var v = res[i];
    if (typeof(v) == 'undefined') {
        v = res[0];
    }
    return v;
}

FE.vals = new Array();
/* website */
FE.vals['login.failed'] = 'Zadejte prosím platné uživatelské jméno a heslo!'+d+'Please enter valid username and password!';
FE.vals['username.na'] = 'Toto uživatelské jméno je již registrováno, zvolte si prosím jiné!'+d+'This username is taken, please choose a different one!';
FE.vals['pass.mismatch'] = 'Zadaná hesla se neshodují!'+d+'The passwords do not match!';
/* admin */
FE.vals['file.noneUp'] = 'Nebyly nahrány žádné soubory.'+d+'No files were uploaded yet.';
FE.vals['file.upload'] = 'Nahrát soubor'+d+'Upload file';
FE.vals['file.upload.btn'] = 'Nahrát'+d+'Upload';
FE.vals['file.desc'] = 'Popis'+d+'Description';
FE.vals['month_1'] = 'Leden'+d+'January';
FE.vals['month_2'] = 'Únor'+d+'February';
FE.vals['month_3'] = 'Březen'+d+'March';
FE.vals['month_4'] = 'Duben'+d+'April';
FE.vals['month_5'] = 'Květen'+d+'May';
FE.vals['month_6'] = 'Červen'+d+'June';
FE.vals['month_7'] = 'Červenec'+d+'July';
FE.vals['month_8'] = 'Srpen'+d+'August';
FE.vals['month_9'] = 'Září'+d+'September';
FE.vals['month_10'] = 'Říjen'+d+'October';
FE.vals['month_11'] = 'Listopad'+d+'November';
FE.vals['month_12'] = 'Prosinec'+d+'December';
FE.vals['must_agree'] = 'Pro odeslání objednávky musíte souhlasit s obchodními podmínkami!'+d+'You must agree with the Terms and Conditions before sending an order!';
FE.vals['form.empty'] = 'Vyplňte prosím všechny povinné údaje!' +d + 'Please fill in all the required information!';
FE.vals['mail.sent'] = 'Váš e-mail byl úspěšně odeslán!' + d + 'Your e-mail has been succesfully sent!';
FE.vals['close'] = 'Zavřít'+d+'Close';
FE.vals['add'] = 'Přidat'+d+'Add';
FE.vals['string.tooShort'] = 'Zadaný řetězec je příliš krátký!'+d+'The query for the search is too short!';
FE.vals['inputs.empty'] = 'Vyplňte prosím všechna požadovaná pole!'+d+'Please fill in all of the required fields!';
