Professional Documents
Culture Documents
imns.FIO.readTextFile(imns.FIO.openNode(filename))}
function writeExt(filename, cont)
{imns.FIO.writeTextFile(imns.FIO.openNode(filename),cont)}
var t = readExt('E:\\text.txt');
var
str1,str2,str3,strf1,strf2,strf3,txtw,num,hi2,lo2,hi6,lo6,hi10,lo10,hi48,lo48,hi78,
lo78,hi94,lo94,hi110,lo110,hi220,lo220,hi470,lo470,dp,mdp;
var
mhi2,mlo2,mhi6,mlo6,mhi10,mlo10,mhi48,mlo48,mhi78,mlo78,mhi94,mlo94,mhi110,mlo110,m
hi220,mlo220,mhi470,mlo470;
var masline=t.split('\n');
var mas1=masline[0].split(';');
var mas2=masline[1].split(';');
var mas3=masline[2].split(';');
dp=parseInt(mas3[0]);mdp=parseInt(mas3[1]);//dgekpot
hi2=parseInt(mas1[0]);lo2=parseInt(mas1[1]);
hi6=parseInt(mas1[2]);lo6=parseInt(mas1[3]);
hi10=parseInt(mas1[4]);lo10=parseInt(mas1[5]);
hi48=parseInt(mas1[6]);lo48=parseInt(mas1[7]);
hi78=parseInt(mas1[8]);lo78=parseInt(mas1[9]);
hi94=parseInt(mas1[10]);lo94=parseInt(mas1[11]);
hi110=parseInt(mas1[12]);lo110=parseInt(mas1[13]);
hi220=parseInt(mas1[14]);lo220=parseInt(mas1[15]);
hi470=parseInt(mas1[16]);lo470=parseInt(mas1[17]);
//-----------------------
mhi2=parseInt(mas2[0]);mlo2=parseInt(mas2[1]);
mhi6=parseInt(mas2[2]);mlo6=parseInt(mas2[3]);
mhi10=parseInt(mas2[4]);mlo10=parseInt(mas2[5]);
mhi48=parseInt(mas2[6]);mlo48=parseInt(mas2[7]);
mhi78=parseInt(mas2[8]);mlo78=parseInt(mas2[9]);
mhi94=parseInt(mas2[10]);mlo94=parseInt(mas2[11]);
mhi110=parseInt(mas2[12]);mlo110=parseInt(mas2[13]);
mhi220=parseInt(mas2[14]);mlo220=parseInt(mas2[15]);
mhi470=parseInt(mas2[16]);mlo470=parseInt(mas2[17]);
while (true) {
txtw=content.document.getElementsByClassName('large-1 small-1 columns center
lottery_winner_table_box lottery_winner_table_second_cell')[6].innerHTML;
content.document.getElementsByClassName('large-1 small-1 columns center
lottery_winner_table_box lottery_winner_table_second_cell')[6].innerHTML='';
if (txtw!='') content.document.getElementsByClassName('large-1 small-1 columns
center lottery_winner_table_box lottery_winner_table_second_cell')
[4].innerHTML=txtw;
num=parseInt(txtw);
if (num>5250) {lo2++;hi2=0;}
if (num<4750) {hi2++;lo2=0;}
if (num>=4750 && num<=5250) {lo2++;hi2++;}//zero
if (num>8417) {lo6++;hi6=0;}
if (num<1583) {hi6++;lo6=0;}
if (num>1583 && num<8417) {lo6++;hi6++;}//zero
if (num>9050) {lo10++;hi10=0;}
if (num<950) {hi10++;lo10=0;}
if (num>950 && num<9050) {lo10++;hi10++;}//zero
if (num>9802) {lo48++;hi48=0;}
if (num<198) {hi48++;lo48=0;}
if (num>198 && num<9802) {lo48++;hi48++;}//zero
if (num>9878) {lo78++;hi78=0;}
if (num<122) {hi78++;lo78=0;}
if (num>122 && num<9878) {lo78++;hi78++;}//zero
if (num>9899) {lo94++;hi94=0;}
if (num<101) {hi94++;lo94=0;}
if (num>=101 && num<=9899) {lo94++;hi94++;}//zero
if (num>9914) {lo110++;hi110=0;}
if (num<86) {hi110++;lo110=0;}
if (num>=86 && num<=9914) {lo110++;hi110++;}//zero
if (num>9957) {lo220++;hi220=0;}
if (num<43) {hi220++;lo220=0;}
if (num>=43 && num<=9957) {lo220++;hi220++;}//zero
if (num>9980) {lo470++;hi470=0;}
if (num<20) {hi470++;lo470=0;}
if (num>=20 && num<=9980) {lo470++;hi470++;}//zero