var superCdn = 'https://app.ixiulive.com/static/superTurn/';
var langList = [
//中文
	{
		'img1':superCdn+'img/2.png',
		'img2':superCdn+'img/3.png',
		'img3':superCdn+'img/7.png',
		'img4':superCdn+'img/18.png',
		'img5':superCdn+'img/history.png',
		'img6':superCdn+'img/history_title.png',
		'img7':superCdn+'img/ranking.png',
		'img8':superCdn+'img/result.png',
		'img9':superCdn+'img/rule_title.png',
		'img10':superCdn+'img/victory.png',
		'img11':superCdn+'img/xz.png?v=201909272107',
		'img12':superCdn+'img/ranking_list_title.png',
		'img13':superCdn+'img/rotarytable.png',
		'img14':superCdn+'img/victory_bg.png',
		'img15':superCdn+'img/chaal_list.png',
		'img16':superCdn+'img/chaal_record.png',
		'super1':'2倍',
		'super2':'3倍',
		'super3':'7倍',
		'super4':'18倍',
		'super5':'序號',
		'super6':'用戶名',
		'super7':'票數',
		'super8':'打賞主播運氣更佳哦',
		'super9':'遊戲過程中點擊你認為能中獎的倍數',
		'super10':'1寶石=10螢火票',
		'super11':'每盤轉盤隨機轉動,停止轉動後所指的',
		'super12':'數字即對應相應的倍數,如果猜對了',
		'super13':'即可獲得2-18倍的寶石獎勵哦!',
		'super14':'溫馨提示:遊戲僅供娛樂,請勿沉迷。',
		'super15':'請稍後',
		'super16':'即将开始競猜,请稍后',
		'super17':'開獎中',
		'super18':'啊哦猜錯了,再接再厲!',
		'super19':'負',
		'super20':'暫無記錄',
		'super21':'競猜成功',	 
		'super22':'超級轉盤',
		'super23':'期數',
		'super24':'競猜記錄',
		'super25':'結果',
		'super26':'競猜',
		'super27':'倍',
		'super28':'票',
		'super29':'遺憾敗北',
	},
	{
		'img1':superCdn+'img/2_en.png',
		'img2':superCdn+'img/3_en.png',
		'img3':superCdn+'img/7_en.png',
		'img4':superCdn+'img/18_en.png',
		'img5':superCdn+'img/history_en.png',
		'img6':superCdn+'img/history_title_en.png',
		'img7':superCdn+'img/ranking_en.png',
		'img8':superCdn+'img/result_en.png',
		'img9':superCdn+'img/rule_title_en.png',
		'img10':superCdn+'img/victory_en.png',
		'img11':superCdn+'img/xz_en.png',
		'img12':superCdn+'img/ranking_list_title_en.png',
		'img13':superCdn+'img/rotarytable_en.png',
		'img14':superCdn+'img/victory_bg_en.png?v=201910151540',
		'img15':superCdn+'img/chaal_list_en.png',
		'img16':superCdn+'img/chaal_record_en.png',
		'super1':'X2',
		'super2':'X3',
		'super3':'X7',
		'super4':'X18',
		'super5':'Item',
		'super6':'Username',
		'super7':'Tickets',
		'super8':'Send little gifts to broadcaster will bring more luckiness~',
		'super9':'Guess on the lucky number 2,3,7,18 that you think will win.',
		'super10':'1 GEMs=10 Firefly Tickets',
		'super11':'The winning number of the round is the symbol where the super',
		'super12':'wheel stops at.If you guess right,',
		'super13':'you will get corresponding GEMs Reward.',
		'super14':'Reminder:Just play the game for fun',
		'super15':'Wait',
		'super16':'Guessing will begin soon,please wait',
		'super17':'Result...',
		'super18':'Failed,what a pity ,come on !',
		'super19':'Lose',
		'super20':'No record yet',
		'super21':'Guess done',	 
		'super22':'Superwheel',
		'super23':'Stage',
		'super24':'Record',
		'super25':'Results',
		'super26':'Guess',
		'super27':'X',
		'super28':'Tickets',
		'super29':'Failed',
	}
]

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

if(langCon == 0 || langCon == 2){
	langType = 0;
} else {
	langType = 1;
}

function getRequest() {
  var url = location.href;
  var theRequest = new Object();
  if (url.indexOf("?") != -1) {
      var str = url.substr(url.indexOf("?") + 1);
      strs = str.split("&");
      for (var i = 0; i < strs.length; i++) {
          theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
      }
  }
  return theRequest;
}