Cleverbot


 
'; } tsconvsE.innerHTML=t; var startH; for(i=0;i(wih-tsconvH[i])){tsconvB[i]=0;tsset(i); }else if(tsconvT[i]>-1&&Math.random()>(0.85+(0.1*(((hir+20)-tsconvH[i])/(hir+20))))){tsconvT[i]=(Math.random()*60)+50;} tsconvE[i].style.bottom=tsconvB[i]+'px'; }else{ tsconvT[i]--; if(tsconvT[i]<=0) tsconvT[i]=-30; } } if(!once){ var d=120; if(delay||Math.random()<0.01) d=10000; setTimeout('tsrun();',d); } } function tsset(i){ tsconvE[i].style.backgroundColor='rgba('+tscolors[Math.floor(Math.random()*tscolors.length)]+','+((Math.random()*0.3)+0.3)+')'; var tswidth=(Math.floor(Math.random()*wir)+60); var tsheight=(Math.floor(Math.random()*hir)+20); if(tsheight>tswidth) tsheight=tswidth; tsconvE[i].style.width=tswidth+'px'; tsconvE[i].style.height=tsheight+'px'; tsconvH[i]=tsheight; var tsleft=(Math.floor(Math.random()*100)); if(tsleft+(((tswidth+20)/wiw)*100)>100) tsleft-=((tswidth+20)/wiw)*100; tsconvE[i].style.left=tsleft+'%'; tsconvS[i]=(Math.floor(Math.random()*1+(4*(((hir+20)-tsheight)/(hir+20))))+2); } function tswh(){ wiw=tsconvsE.offsetWidth; wih=tsconvsE.offsetHeight-45; if(wiwP!=wiw){wir=70+((wiw-400)/20);hir=80+((wiw-400)/80);} hir=960; wiwP=wiw; } function tsresize(){ tsrun(true); }