function A1level(){ dir="https://i1228.photobucket.com/albums/ee457/ca3forum/Boy avatar/" var xperpost="5" var xperexp="35" var xperreptt="20" var xpneeded="25" var maxability="4000" var maxstrength=(xpneeded*600) var aq=[]; var level=[]; var posts=[]; var repts=[]; var ability=[]; var cts=[]; var firstchar=[]; var boom = new Array() boom[0]="Vỡ LĂ²ng"; boom[1]="Vỡ LĂ²ng"; boom[2]=" Táºp sá»±"; boom[3]=" NĂ¢ng Cao"; boom[4]=" ÄÆ°á»ng Phố"; boom[5]=" Nghệp DÆ°"; boom[6]=" Huấn Luyện"; boom[7]=" ChuyĂªn Nghiệp"; boom[8]=" Äẳng Cấp"; boom[9]=" Ưu TĂº"; boom[10]=" Báºc thầy"; boom[11]=" SiĂªu Sao"; boom[12]=" Huyá»n Thoại"; boom[13]=" VÅ© Thần"; boom[14]=" Tinh Anh"; boom[15]=" Xuất ChĂºng"; boom[16]=" Äỉnh Cao"; boom[17]=" VÄ© Äại"; boom[18]=" ThiĂªn TĂ i"; boom[19]=" SiĂªu Cấp"; boom[20]=" ChĂ©n ThĂ¡nh "; boom[21]=" ChĂ©n ThĂ¡nh "; boom[22]=" ChĂ©n ThĂ¡nh "; boom[23]=" ChĂ©n ThĂ¡nh "; boom[24]=" ChĂ©n ThĂ¡nh "; boom[25]=" ChĂ©n ThĂ¡nh "; boom[26]=" ChĂ©n ThĂ¡nh "; boom[27]=" ChĂ©n ThĂ¡nh "; boom[28]=" ChĂ©n ThĂ¡nh "; boom[29]=" ChĂ©n ThĂ¡nh "; boom[30]=" ChĂ©n ThĂ¡nh "; boom[31]=" ChĂ©n ThĂ¡nh "; boom[32]=" ChĂ©n ThĂ¡nh "; boom[33]=" ChĂ©n ThĂ¡nh "; boom[34]=" ChĂ©n ThĂ¡nh "; boom[35]=" ChĂ©n ThĂ¡nh "; boom[36]=" ChĂ©n ThĂ¡nh "; boom[37]=" ChĂ©n ThĂ¡nh "; boom[38]=" ChĂ©n ThĂ¡nh "; boom[39]=" ChĂ©n ThĂ¡nh "; boom[40]=" ChĂ©n ThĂ¡nh "; boom[41]=" ChĂ©n ThĂ¡nh "; boom[42]=" ChĂ©n ThĂ¡nh "; boom[43]=" ChĂ©n ThĂ¡nh "; boom[44]=" ChĂ©n ThĂ¡nh "; boom[45]=" ChĂ©n ThĂ¡nh "; boom[46]=" ChĂ©n ThĂ¡nh "; boom[47]=" ChĂ©n ThĂ¡nh "; boom[48]=" ChĂ©n ThĂ¡nh "; boom[49]=" ChĂ©n ThĂ¡nh "; boom[50]=" ChĂ©n ThĂ¡nh "; x = document.getElementsByTagName('div') for(y=0;y: ")[1]); posts[nick]=parseInt(x[y].innerHTML.toLowerCase().split("posts: ")[1]); repts[nic]=parseInt(x[y].innerHTML.toLowerCase().split("points: ")[1]); ability[tks]=parseInt(x[y].innerHTML.toLowerCase().split("thanked: ")[1]); if(repts[nic]>=0){var levell=[]; var xp=[]; var firstchar=[]; xp[nick]=Math.floor(posts[nick]*xperpost/1000+(repts[nic]+ability[tks]*4)*xperreptt/1000) level[nick]=(xp[nick]/xpneeded) var exp = Math.floor((level[nick]-Math.floor(level[nick]))*xperexp) var phansonguyen = Math.floor(level[nick]+parseInt(1)); var title1="" if (phansonguyen > 50){(phansonguyen = "50")&&(exp = "100")&&(title1="")} var width=(exp-1) var xptogo = "10000" if(xp[nick]>0){xptogo = Math.floor(ability[tks]*1900+posts[nick]*2+repts[nic])} var abilityperc = (Math.floor((xptogo/maxability)*1000)-2) if(xptogo > maxability) {(xptogo = maxability)&&(abilityperc = "9800")} var strengthperc = (Math.floor((xp[nick]/maxstrength)*1000)-2) if(xp[nick] > maxstrength) {(xp[nick]= maxstrength)&&(strengthperc = "98")} firstchar[nick]=nick.charAt(0); aq[nick]="Unknown" var medal=[]; var i=1; while (i>0){ if (phansonguyen==i){ boom[0]="Vỡ LĂ²ng"; boom[1]="Vỡ LĂ²ng"; boom[2]=" Táºp sá»±"; boom[3]=" NĂ¢ng Cao"; boom[4]=" ÄÆ°á»ng Phố"; boom[5]=" Nghệp DÆ°"; boom[6]=" Huấn Luyện"; boom[7]=" ChuyĂªn Nghiệp"; boom[8]=" Äẳng Cấp"; boom[9]=" Ưu TĂº"; boom[10]=" Báºc thầy"; boom[11]=" SiĂªu Sao"; boom[12]=" Huyá»n Thoại"; boom[13]=" VÅ© Thần"; boom[14]=" Tinh Anh"; boom[15]=" Xuất ChĂºng"; boom[16]=" Äỉnh Cao"; boom[17]=" VÄ© Äại"; boom[18]=" ThiĂªn TĂ i"; boom[19]=" SiĂªu Cấp"; boom[20]=" ChĂ©n ThĂ¡nh"; boom[21]="Vỡ LĂ²ng"; boom[22]="Vỡ LĂ²ng"; boom[23]=" Táºp sá»±"; boom[24]=" NĂ¢ng Cao"; boom[25]=" ÄÆ°á»ng Phố"; boom[26]=" Nghệp DÆ°"; boom[27]=" Huấn Luyện"; boom[28]=" ChuyĂªn Nghiệp"; boom[29]=" Äẳng Cấp"; boom[30]=" Ưu TĂº"; boom[31]=" Báºc thầy"; boom[32]=" SiĂªu Sao"; boom[33]=" Huyá»n Thoại"; boom[34]=" VÅ© Thần"; boom[35]=" Tinh Anh"; boom[36]=" Xuất ChĂºng"; boom[37]=" Äỉnh Cao"; boom[38]=" VÄ© Äại"; boom[39]=" ThiĂªn TĂ i"; boom[40]=" SiĂªu Cấp"; boom[41]=" ChĂ©n ThĂ¡nh"; boom[42]=" Xuất ChĂºng"; boom[43]=" Äỉnh Cao"; boom[44]=" VÄ© Äại"; boom[45]=" ThiĂªn TĂ i"; boom[46]=" SiĂªu Cấp"; boom[47]=" ChĂ©n ThĂ¡nh"; boom[48]=" VÄ© Äại"; boom[49]=" ThiĂªn TĂ i"; boom[50]=" SiĂªu Cấp"; medal[nick]=boom[i];i=0;} else{i++;} } exppet=""; exppet2=""; expss= ""+exppet+""+exppet2+""; stats=""+title1+""+medal[nick]+" Level: "+ phansonguyen +" Experience: "+exp+"%"+expss+" " x[y].innerHTML +="" + stats} else{x[y].innerHTML +="Unknown ("+repts[nic]+" points)"}}} } A1level();