<script LANGUAGE="JavaScript1.2"> <!-- var WhereTo = null; var TimerID = null; var now = new Date(); var pos = 0; var StartTime = null; var PauseTime = 3000; // Change the PauseTime value (in milliseconds) to // change the speed at which the button URLs rotate. function InitializeArray() { this.length = InitializeArray.arguments.length for (var i = 0; i < this.length; i++) { this[i+1] = InitializeArray.arguments[i] } } function ParseString(data,num) { for(var i=0;i<data.length;i++) { if(data.substring(i,i+1)=="|") break; } if (num==0) return(data.substring(0,i)); else return(data.substring(i+1,data.length)); } function StartTimer() { now = new Date(); StartTime=now.getTime(); StopTimer(); WhereTo = new InitializeArray("Пориал WebMaser|http://webmaster.game-s.ru", "WaRcarft 3|http://wc3.game-s.ru", "WarCraft 3|http://wc3.p0.ru", "Эро-фотки|http://www.x-star.ru", "Rambler|http://www.rambler.ru", "Yandex|http://www.yandex.ru", "Aport|http://www.aport.ru", "Kinder|http://www.kinder.ru", "KM|http://www.km.ru", "Admin|mailto:kirukin@mail.ru"); ShowTimer(); } function StopTimer() { TimerID = null; WhereTo = null; } function ShowTimer() { pos= (pos == WhereTo.length) ? 1 : pos + 1; document.forms[0].elements[0].value=ParseString(WhereTo[pos],0); TimerID=window.setTimeout('ShowTimer()',PauseTime); } function DestinationUrl() { this.location=ParseString(WhereTo[pos],1); return (false); } //--> </script>