var gcount_str; var game_id; var ys_a; var ys_obj; var ys_sid; game_id=2; gcount_str='500000:0.4|200000:0.43|100000:0.45|80000:0.47|70000:0.48|60000:0.49|50000:0.5|45000:0.54|40000:0.55|35000:0.57|30000:0.58|25000:0.6|20000:0.63|15000:0.65|10000:0.67|9000:0.7|8000:0.73|7000:0.76|6000:0.8|5000:0.82|4000:0.85|3000:0.88|2000:0.9|Gold'; function showatoz(a){ for(var i=0;i<26;i++){ $('atoz_'+String.fromCharCode(65+i)).style.display = 'none'; $('aatoz_'+String.fromCharCode(65+i)).className = 'atoz'; } $('atoz_'+a).style.display = ''; $('aatoz_'+a).className = 'satoz'; } function showlist(a,obj,sid){ var ssa; var ssb; var sa = new Array(); var sb = new Array(); var dw; var str; var price; str=''; $('servernamediv').innerHTML=obj.innerHTML; $('plist').innerHTML=''; ys_a=a; ys_obj=obj; ys_sid=sid; setTimeout('showlist2()',700); } function showlist2(){ var a; var obj; var sid; var ssa; var ssb; var sa = new Array(); var sb = new Array(); var dw; var str; var price; a=ys_a; obj=ys_obj; sid=ys_sid; str=''; ssa=gcount_str; sa=ssa.split('|'); dw=sa[sa.length-1]; for(var i=0;i < sa.length-1;i++) { ssb=sa[i]; sb=ssb.split(':'); price=sb[0]*sb[1]*a*money_p; price=price.toFixed(2); str=str + '
  • ' + sb[0] + ' ' + dw + '
  • '+money_n+' '+ price + '
  • '; } str=str+'
    '; $('plist').innerHTML=str; }