This script moves people to a random link when they click a button. You pick what links are available. It's done by putting this where you want the links to appear. You can have more than two:
<SCRIPT language="JavaScript"><!-- Script Segment numlinks = 2 // Set this to the # of links you have LinkLocation = new MakeArray(numlinks); LinkText = new MakeArray(numlinks); LinkLocation[1] = "Link 1 URL" LinkLocation[2] = "Link 2 URL" LinkText[1] = "Link 1 Name" LinkText[2] = "Link 2 name" var now = new Date() var sec = now.getSeconds() linknum = (sec % numlinks+1) document.write ("<A href=\"" + LinkLocation[linknum] + "\">" + LinkText[linknum] + "") function MakeArray(n) { this.length = n; for (var i = 1; i <= n; i++) { this[i] = 0 } return this } // End Script --></SCRIPT>
Mail me at tkeer@cvn.net.