Код: Выделить всё
function randomNumber (m,n)
{
m = parseInt(m);
n = parseInt(n);
return Math.floor( Math.random() * (n - m + 1) ) + m;
}
alert("prs::" + prskey + "::set::img=0");
var cmdname="nav";
var cmdtime=randomNumber(20,25);
var cmdparam="http://www.google.com";
alert("prs::" + prskey + "::add::" + cmdname + "::" + cmdtime + "::" + cmdparam);
var fullurl=prompt("prs::" + prskey + "::parse::<rndt(key1!!key2!!key3)>")
var cmdname="text";
var cmdtime=randomNumber(5,7);
var cmdparam="0;q;"+fullurl;
alert("prs::" + prskey + "::add::" + cmdname + "::" + cmdtime + "::" + cmdparam);
var cmdname="submit";
var cmdtime=randomNumber(20,25);
var cmdparam="0";
alert("prs::" + prskey + "::add::" + cmdname + "::" + cmdtime + "::" + cmdparam);
alert("prs::" + prskey + "::set::js=0");
var cmdname="click";
var cmdtime=randomNumber(7,8);
var cmdparam="a;link;domen.ru;0";
alert("prs::" + prskey + "::add::" + cmdname + "::" + cmdtime + "::" + cmdparam);