var userLanguage = window.navigator.language;

var OLP_SEARCH_TXT = "Search";
var OLP_ENTERADDRESS_TXT = "Enter Address";
var OLP_PLAYNOW_TXT = "PlayNow™";
var OLP_ACCESSORIES_LINK_TXT = "Accessories";
var OLP_HOME_TXT = "Sony Ericsson home";
var OLP_SUPPORT_TXT = "Support";

if (userLanguage == "us") {
    OLP_SEARCH_TXT = "Search";
    OLP_ENTERADDRESS_TXT = "Enter Address";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Accessories";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Support";
} else if (userLanguage == "en") {
    OLP_SEARCH_TXT = "Search";
    OLP_ENTERADDRESS_TXT = "Enter Address";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Accessories";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Support";
} else if (userLanguage == "zh") {
    OLP_SEARCH_TXT = "搜尋";
    OLP_ENTERADDRESS_TXT = "輸入網址";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "配件";
    OLP_HOME_TXT = "索尼愛立信首頁";
    OLP_SUPPORT_TXT = "支援";
} else if (userLanguage == "zs") {
    OLP_SEARCH_TXT = "搜索";
    OLP_ENTERADDRESS_TXT = "输入网址";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "配件";
    OLP_HOME_TXT = "索尼爱立信主页";
    OLP_SUPPORT_TXT = "服务与支持";
} else if (userLanguage == "zt") {
    OLP_SEARCH_TXT = "搜尋";
    OLP_ENTERADDRESS_TXT = "輸入網址";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "配件";
    OLP_HOME_TXT = "索尼愛立信首頁";
    OLP_SUPPORT_TXT = "支援";
} else if (userLanguage == "cs") {
    OLP_SEARCH_TXT = "Hledat";
    OLP_ENTERADDRESS_TXT = "Zadat adresu";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Příslušenství";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Podpora";
} else if (userLanguage == "nl") {
    OLP_SEARCH_TXT = "Online zkn.";
    OLP_ENTERADDRESS_TXT = "Voer adres in";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Accessoires";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Support";
} else if (userLanguage == "fr") {
    OLP_SEARCH_TXT = "Rechercher";
    OLP_ENTERADDRESS_TXT = "Entrer l'adresse";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Accessoires";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Assistance";

} else if (userLanguage == "it") {
    OLP_SEARCH_TXT = "Immettere indir.";
    OLP_ENTERADDRESS_TXT = "Enter Address";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Accessori";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Assistenza tecnica";
} else if (userLanguage == "ja") {
    OLP_SEARCH_TXT = "検索";
    OLP_ENTERADDRESS_TXT = "URLを入力";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "アクセサリー";
    OLP_HOME_TXT = "ソニー・エリクソン　ホーム";
    OLP_SUPPORT_TXT = "サポート";
} else if (userLanguage == "no") {
    OLP_SEARCH_TXT = "Søk";
    OLP_ENTERADDRESS_TXT = "Skriv inn adresse";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Tilbehør";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Støtte";
} else if (userLanguage == "be") {
    OLP_SEARCH_TXT = "Поиск";
    OLP_ENTERADDRESS_TXT = "Адрес";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Аксессуары";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Поддержка";
} else if (userLanguage == "pl") {
    OLP_SEARCH_TXT = "Wyszukaj";
    OLP_ENTERADDRESS_TXT = "Wprowadź adres";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Akcesoria";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Pomoc techniczna";
} else if (userLanguage == "os") {
    OLP_SEARCH_TXT = "Búsqueda";
    OLP_ENTERADDRESS_TXT = "Introducir direcc.";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Accesorios";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Asistencia";
} else if (userLanguage == "ls") {
    OLP_SEARCH_TXT = "Buscar";
    OLP_ENTERADDRESS_TXT = "Ingresar dirección";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Accessorios";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Soporte";
} else if (userLanguage == "sv") {
    OLP_SEARCH_TXT = "Sök";
    OLP_ENTERADDRESS_TXT = "Skriv in adress";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Tillbehör";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Support";
} else if (userLanguage == "bg") {
    OLP_SEARCH_TXT = "Търсене";
    OLP_ENTERADDRESS_TXT = "Въвеждане URL";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Аксесоари";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Поддръжка";
} else if (userLanguage == "da") {
    OLP_SEARCH_TXT = "Søg";
    OLP_ENTERADDRESS_TXT = "Indtast URL-adr.";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Tilbehør";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Support";
} else if (userLanguage == "el") {
    OLP_SEARCH_TXT = "Αναζήτηση";
    OLP_ENTERADDRESS_TXT = "Εισαγ. διεύθ/σης";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Αξεσουάρ";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Υποστήριξη";
} else if (userLanguage == "es") {
    OLP_SEARCH_TXT = "Búsqueda";
    OLP_ENTERADDRESS_TXT = "Introducir direcc.";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Accesorios";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Asistencia";
} else if (userLanguage == "et") {
    OLP_SEARCH_TXT = "Otsi veebist";
    OLP_ENTERADDRESS_TXT = "Sisesta URL";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Lisaseadmed";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Support";
} else if (userLanguage == "fa") {
    OLP_SEARCH_TXT = "جستجو";
    OLP_ENTERADDRESS_TXT = "وارد كردن آدرس";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "لوازم جانبی";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Support";
} else if (userLanguage == "fi") {
    OLP_SEARCH_TXT = "Internet-haku";
    OLP_ENTERADDRESS_TXT = "Anna osoite";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Lisälaitteet";
    OLP_HOME_TXT = "Sony Ericssonin";
    OLP_SUPPORT_TXT = "Tuki";
} else if (userLanguage == "hr") {
    OLP_SEARCH_TXT = "Tražiti";
    OLP_ENTERADDRESS_TXT = "Upisati adresu";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Pribor";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Podrška";
} else if (userLanguage == "hu") {
    OLP_SEARCH_TXT = "Keresés";
    OLP_ENTERADDRESS_TXT = "Cím megadása";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Tartozékok";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Terméktámogatás";
} else if (userLanguage == "id") {
    OLP_SEARCH_TXT = "Cari";
    OLP_ENTERADDRESS_TXT = "Masukkan alamat";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Aksesori";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Support";
} else if (userLanguage == "lt") {
    OLP_SEARCH_TXT = "Paieška";
    OLP_ENTERADDRESS_TXT = "Įveskite adresą";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Priedai";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Pagalba";
} else if (userLanguage == "lv") {
    OLP_SEARCH_TXT = "Meklēt";
    OLP_ENTERADDRESS_TXT = "Ievadīt adresi";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Papildierīces";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Support";
} else if (userLanguage == "ms") {
    OLP_SEARCH_TXT = "Cari";
    OLP_ENTERADDRESS_TXT = "Masukkan alamat";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Aksesori";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Support";
} else if (userLanguage == "pt") {
    OLP_SEARCH_TXT = "Procurar";
    OLP_ENTERADDRESS_TXT = "Introd. endereço";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Acessórios";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Assistência";
} else if (userLanguage == "ro") {
    OLP_SEARCH_TXT = "Căutare";
    OLP_ENTERADDRESS_TXT = "Introduc. adresă";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Accesorii";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Asistenţă";
} else if (userLanguage == "sk") {
    OLP_SEARCH_TXT = "Hľadať";
    OLP_ENTERADDRESS_TXT = "Zadajte adresu";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Príslušenstvo";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Podpora";
} else if (userLanguage == "sl") {
    OLP_SEARCH_TXT = "Išči";
    OLP_ENTERADDRESS_TXT = "Vnesite naslov";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Dodatna oprema";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Podpora";
} else if (userLanguage == "sr") {
    OLP_SEARCH_TXT = "Pretraživanje";
    OLP_ENTERADDRESS_TXT = "Uneti adresu";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Pribor";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Podrška";
} else if (userLanguage == "tr") {
    OLP_SEARCH_TXT = "Ara";
    OLP_ENTERADDRESS_TXT = "Adresi gir";	
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Aksesuarlar";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Destek";
} else if (userLanguage == "uk") {
    OLP_SEARCH_TXT = "Пошук";
    OLP_ENTERADDRESS_TXT = "Введіть адресу";	
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Аксесуари";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Підтримка";
} else if (userLanguage == "eu") {
    OLP_SEARCH_TXT = "Bilatu";
    OLP_ENTERADDRESS_TXT = "Idatzi helbidea";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Osagarriak";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Laguntza teknikoa";
} else if (userLanguage == "ar") {
    OLP_SEARCH_TXT = "بحث";
    OLP_ENTERADDRESS_TXT = "أدخل العنوان";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "لملحقات";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "الدعم";
} else if (userLanguage == "ca") {
    OLP_SEARCH_TXT = "Cerca";
    OLP_ENTERADDRESS_TXT = "Introdueix adreça";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Accessoris";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Assistència";
} else if (userLanguage == "gl") {
    OLP_SEARCH_TXT = "Procurar";
    OLP_ENTERADDRESS_TXT = "Inserir enderezo";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Accesorios";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Asistencia técnica";
} else if (userLanguage == "de") {
    OLP_SEARCH_TXT = "Suchen";
    OLP_ENTERADDRESS_TXT = "Adresse eingeben";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Zubehör";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Support";
} else if (userLanguage == "he") {
    OLP_SEARCH_TXT = "חיפוש";
    OLP_ENTERADDRESS_TXT = "הזן כתובת";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "אבזרים";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "תמיכה";
} else if (userLanguage == "hi") {
    OLP_SEARCH_TXT = "खोजें";
    OLP_ENTERADDRESS_TXT = "पता प्रविष्ट करें";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "सहयंत्र";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "समर्थन";
} else if (userLanguage == "is") {
    OLP_SEARCH_TXT = "Leita";
    OLP_ENTERADDRESS_TXT = "Slá inn veffang";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Aukabúnaður";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Stuðningur";
} else if (userLanguage == "in") {
    OLP_SEARCH_TXT = "Cari";
    OLP_ENTERADDRESS_TXT = "Masukkan alamat";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Aksesori";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Dukungan";
} else if (userLanguage == "br") {
    OLP_SEARCH_TXT = "Procurar";
    OLP_ENTERADDRESS_TXT = "Digitar endereço";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Acessórios";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Suporte";
} else if (userLanguage == "tl") {
    OLP_SEARCH_TXT = "Maghanap";
    OLP_ENTERADDRESS_TXT = "Ilagay address";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Mga aksesorya";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Suporta";
} else if (userLanguage == "th") {
    OLP_SEARCH_TXT = "อินเทอร์เน็ต";
    OLP_ENTERADDRESS_TXT = "ใส่ URL";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "อุปกรณ์เสริม";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "การสนับสนุน";
} else if (userLanguage == "vi") {
    OLP_SEARCH_TXT = "Tìm kiếm";
    OLP_ENTERADDRESS_TXT = "Nhập địa chỉ";
    OLP_PLAYNOW_TXT = "PlayNow™";
    OLP_ACCESSORIES_LINK_TXT = "Các phụ kiện";
    OLP_HOME_TXT = "Sony Ericsson";
    OLP_SUPPORT_TXT = "Hỗ trợ";
}


function getText(label) {
    return eval(label);
}