ToFILE
stt=false;
function rBt(){
if(stt){
clearTimeout(TI);
document.FF.Bt.value=' ';
location.href=document.FF.adr.value
}else{
stt=true;
document.FF.Bt.value=' ';
Rle()
}
}
function Rle(){
nam=new Array();
adr=new Array();
nam[0]=' ';
adr[0]=' ';
nam[1]=' ';
adr[1]=' ';
nam[2]=' ';
adr[2]=' ';
nam[3]=' ';
adr[3]=' ';
nam[4]=' ';
adr[4]=' ';
rnd=Math.floor(Math.random()* );
document.FF.nm.value=nam[rnd];
document.FF.adr.value=adr[rnd];
TI=setTimeout('Rle()', )
}
ToHEAD
<SCRIPT SRC="sta.js" LANGUAGE="JavaScript" TYPE="text/javascript"></SCRIPT>
ToBODY
<FORM ACTION="#" NAME="FF">
<INPUT TYPE="text" NAME="nm" VALUE=" ">
<INPUT TYPE="hidden" NAME="adr" VALUE="">
<INPUT TYPE="button" NAME="Bt" VALUE=" " onClick="rBt() " onKeyPress="rBt() ">
</FORM>
|