Added some class="" to pagelist code
[specialops2.git] / js / global.js
blob804c04107c679b02ca031fd76ea18ee9ebf7781c
1 /* © Special Ops 2006
2  * See the included COPYING file for licencing terms.
3  * $Id$
5 [20:32:29] <&Timrod> So
6 [20:32:42] <&Timrod> I heard there's discussion over Ant P's sexual orientation
7 [20:33:27] <+tanook1rby7> fur
8  */
10 var timers = {
11         // default loop delay in ms
12         rate: 15000,
13         
14         // functions to be called go into this array
15         things: Array(),
16         
17         // calls all of the array functions
18         update: function() {
19                 for ( var i = 0; i < timers.things.length; i++ ) {
20                         timers.things[i]();
21                 }
22                 setTimeout(timers.update, timers.rate);
23         }
26 // start update loop
27 window.onload = setTimeout(timers.update, timers.rate);