/* Bandwidth calculator (credit must stay enclosed) Nếu bạn là một Wapmaster thực thụ, khi Copy nhớ ghi bản quyền thuộc về chúng tôi nhé! Bản quyền thuộc về http://Freevn.Tk */ var bytevalue=0 function calculate(){ var invalue=document.bandwidth.original.value var selectunit=document.bandwidth.units.options[document.bandwidth.units.selectedIndex].value if (selectunit=="Bytes") bytevalue=invalue else if (selectunit=="Kb") bytevalue=invalue*1024 else if (selectunit=="Mb") bytevalue=invalue*1024*1024 else if (selectunit=="Gb") bytevalue=invalue*1024*1024*1024 alert (invalue+" "+selectunit+" sẽ bằng (=):\n\n- "+bytevalue+" Bytes\n- "+Math.round(bytevalue/1024)+" Kb\n- "+Math.round(bytevalue/1024/1024)+" Mb\n- "+Math.round(bytevalue/1024/1024/1024)+" Gb\n Bản Quyền Chương Trình Thuộc Về: Freevn.Tk") }