var langList = [
	{
		'text1':'首充福利大放送 ',
		'text2':'螢火蟲',
		'text3':'蜜桃',
		'text4':'樱花',
		'text5':'熱力火箭',
		'text6':'告白氣球',
		'text7':'銀木馬座駕',
		'text8':'金木馬座駕',
		'text9':'首充勛章',
		'text10':'儲值',
		'text11':'寶石',
		'text12':'額外贈送',
		'text13':'個',
		'text14':'天',
		'text15':'Only Gift',
		'text16':'永久',
		'text17':'請輸入正確的ID',
		'text18':'版本過低無法自動跳轉<br>請前往個人中心進行儲值!',
		'text19':'規則',
		'text20':'對象:',
		'text21':'新用戶',
		'text22':'時間:',
		'text23':'',
		'text24':'說明:',
		'text25':'1、首次儲值到相對應的寶石檔位即可獲得相應首充禮包;',
		'text26':'2、每個首充註冊賬號僅能參與一次(最多只可儲值一個檔位,獲得對應獎勵),每台設備最多只允許一個首充註冊賬號可參與活動。',
		'text27':'3、淘寶儲值不享有首充福利',
		'text28':'4、為了正常領取禮包,請把Firefly Live 升級至最新版本。',
		'text29':'5、本活動與蘋果公司無關。',
		'text30':'6、本活動最終解釋權歸Firefly Live所有。',
		'text31':'對不起,您不符合本次活動的條件。',
		'text32':'恭喜您符合本次活動的條件,',
		'text33':'立即儲值獲得禮包',
		'text34':'only gift主播綁定',
		'text35':'only gift只能綁定一個主播ID,',
		'text36':'一旦綁定則不能更改',
		'text37':'主播:',
		'text38':'綁定成功,前往主播直播間查看',
		'text39':'領取禮包',
		'text40':'立即儲值',
		'text41':'已經領取',
		'text42':'不可領取',
		'text43':'確定',
		'text44':'我考慮下',
		'text45':'我再看看',
		'text46':'稍會填寫',
		'text47':'綁定',
		'text48':'綁定only gift',
		'text49':'立即領取',
		'text50':'只能綁定一次,綁定後無法修改',
		'text51':'儲值',
		'text52':'請輸入ID',
		'text53':'',
		'text54':'',
		'text55':'撩一撩',
		'text56':'禮包',
		'text57':'领取',
		'text58':'储值成功',
		'text59':'快去領取大禮包吧',
		'text60':'去領取',
	},
	{
		'text1':'First Recharge Benefits ',
		'text2':'Gift',
		'text3':'Gift',
		'text4':'Gift',
		'text5':'Big gift',
		'text6':'Luxury gift',
		'text7':'Car',
		'text8':'Good car',
		'text9':'Medal',
		'text10':'Recharge',
		'text11':' GEMs',
		'text12':'+ ',
		'text13':'',
		'text14':'days',
		'text15':'Only Gift',
		'text16':'forever',
		'text17':'Please input right ID',
		'text18':'Current version is too low to jump to the recharge page ,please go to "Me"-"My GEMs"to top up ',
		'text19':'Rules',
		'text20':'Targets:',
		'text21':'New users',
		'text22':'Time:',
		'text23':'',
		'text24':'Notice',
		'text25':'1,Recharge different GEMs levels for the first time to get corresponding gift pack',
		'text26':'2, New users can choose only one recharge level and get corresponding gift pack, and only one new account is allowed for each device to participate in the activity',
		'text27':'3,Users who recharge for the first time through Taobao can not enjoy the benefits',
		'text28':'4,Please upgrade Firefly Live to the latest version in order to get your gift pack successfully',
		'text29':'5,This activity has nothing to do with Apple',
		'text30':'6,Firefly Live reserves the right of final interpretation of the activity',
		'text31':'What a pity that  you are not eligible for this activity',
		'text32':'Congratulations for meeting the requirements of',
		'text33':'the activity.Recharge and get benefits NOW!',
		'text34':'Only gift-bind to broadcaster',
		'text35':'"Only gift" can only be bonded to one broadcaster',
		'text36':'and it couldn\'t be changed after binding',
		'text37':'Broadcaster:',
		'text38':'Bind success! Please go to the broadcaster room  to check the effect .',
		'text39':'Receive benefits',
		'text40':'Recharge now',
		'text41':'Received',
		'text42':'Couldn\'t receive',
		'text43':'Sure',
		'text44':'consider later',
		'text45':'consider later',
		'text46':'Fill in later',
		'text47':'Bind',
		'text48':'Bind only gift',
		'text49':'Receive now',
		'text50':'Only have one chance to bind,and it couldn\'t be changed after binding',
		'text51':'Recharge ',
		'text52':'Please input ID',
		'text53':'Time-limited benefits with a maximum rebate of 10% GEMs',
		'text54':'Each new user has only one chance and can choose only one recharge level',
		'text55':'Flirt',
		'text56':' Gift pack',
		'text57':'Recharge',
		'text58':'Recharge success.',
		'text59':'Go to get reward.',
		'text60':'Get',
	},
	{
		'text1':'مزايا إعادة الشحن الأولى',
		'text2':'Gift',
		'text3':'Gift',
		'text4':'Gift',
		'text5':'Big gift',
		'text6':'Luxury gift',
		'text7':'Car',
		'text8':'Good car',
		'text9':'قاعة الوسام',
		'text10':'شحن ما يصل إلى',
		'text11':' GEMs',
		'text12':' + ',
		'text13':'',
		'text14':'أيام',
		'text15':'Only Gift',
		'text16':'أبدا',
		'text17':'رجاء ادخال رقم المستخدم الصحيح',
		'text18':'فشل في الانتقال إلى صفحة الشحن بسبب الإصدار القديم، يرجى انتقال إلى الصفحة الرئيسية للشحن',
		'text19':'القواعد',
		'text20':'مجموعة:',
		'text21':'مستخدمين جدد',
		'text22':'مدة:',
		'text23':'',
		'text24':'ملاحظات',
		'text25':'1. قم بشحن مستويات GEMs المختلفة في أول مرة للحصول على حزمة الهدايا المقابلة',
		'text26':'2. يمكن للمستخدمين الجدد اختيار مستوى الشحن واحد فقط والحصول على حزمة هدايا مقابلة، ولا يُسمح إلا بحساب واحد جديد لكل جهاز للمشاركة في النشاط',
		'text27':'3. يرجى ترقية Firefly Live إلى أحدث إصدار من أجل الحصول على حزمة الهدايا الخاصة بك بنجاح',
		'text28':'4. هذا النشاط لا علاقة به بشركة Apple',
		'text29':'5. جميع الحقوق محفوظة من قبل إدارة Firefly Live',
		'text30':'',
		'text31':'عذرا، أنت لا تلبي متطلبات الحدث',
		'text32':'مبروك! لديك تأهيل لاشتراك الحدث. قم بالشحن وبحصول على المزايا الآن',
		'text33':'',
		'text34':'ربط بالمذيعة - Onlygift',
		'text35':'يمكن ربط "الهدية فقط" بمذيع واحد ولا يمكن تغييرها بعد الربط',
		'text36':'',
		'text37':'المذيعة:',
		'text38':'تم الربط بالنجاح! الرجاء إلى غرفة البث للتجربة',
		'text39':'استلام الهدية',
		'text40':'شحن فوريا',
		'text41':'تم الاستلام',
		'text42':'غير قادر على الاستلام',
		'text43':'تم',
		'text44':'لاحقا',
		'text45':'لاحقا',
		'text46':'ادخل لاحقًا',
		'text47':'ربط',
		'text48':'Onlygift ربط',
		'text49':'استلام الان',
		'text50':'لديك فرصة واحدة فقط للربط، ولا يمكن تغييرها بعد الربط',
		'text51':' شحن ما يصل إلى ',
		'text52':'رجاء ادخال رقم المستخدم الصحيح',
		'text53':'الفوائد بحد أقصى للخصم 10٪ من GEMs',
		'text54':'كل مستخدم جديد لديه فرصة واحدة فقط ويمكنه اختيار مستوى إعادة شحن واحد فقط',
		'text55':'Flirt',
		'text56':'',
		'text57':'حزمة',
		'text58':'تم الشحن بنجاح ',
		'text59':'احصل على حزمة الهدية',
		'text60':'الاستلام',
	}
]

var langType = 0;
var langCon = url_get_params().lang;

if(langCon==undefined || langCon == 'undefined'){
	langCon = sessionStorage.lang;
}
//当没有语言参数时 默认为繁体
if(langCon==undefined || langCon == 'undefined'){
	langCon = 2;
}
sessionStorage.lang = langCon;



// 0,2 繁中 1英语 7阿语   其餘 英文
if(langCon == 0 || langCon == 2){
	langType = 0;
} else if(langCon==7){
	langType = 2;
	$('body').addClass('L_Ar')
} else {
	langType = 1;
	$('body').addClass('L_En')
}