aboutsummaryrefslogtreecommitdiff
path: root/ring/rand.html
diff options
context:
space:
mode:
Diffstat (limited to 'ring/rand.html')
-rw-r--r--ring/rand.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/ring/rand.html b/ring/rand.html
new file mode 100644
index 0000000..a105cec
--- /dev/null
+++ b/ring/rand.html
@@ -0,0 +1,17 @@
+<HTML><HEAD></HEAD>
+<BODY>
+ <script>
+ function activate() {
+ var targets=new Array();
+ for (var i=0;i<urls.length;i++){
+ if (i!=id && urls[i]!="") targets.push(i);
+ }//next
+
+ targetid=Math.floor(Math.random() * targets.length)
+
+ location.href=urls[targetid];
+ }//
+ </script>
+ <script src="getid.js"></script>
+</BODY>
+</HTML> \ No newline at end of file