home *** CD-ROM | disk | FTP | other *** search
- <script language="Javascript">
- <!--
- // original content taken from Nic's JavaScript Page with permission
- // lack of these three lines will result in copyright infringment
- // made by: Nic's JavaScript Page - http://www.javascript-page.com
-
- var currentdate = 0
- var core = 0
-
- function StringArray (n) {
- this.length = n;
- for (var i =1; i <= n; i++) {
- this[i] = ' '
-
- }
- }
-
- image = new StringArray(4)
- image[0] = '#IMAGE1#'
- image[1] = '#IMAGE2#'
- image[2] = '#IMAGE3#'
- image[3] = '#IMAGE4#'
-
- var ran = 60/image.length
-
- function ranimage() {
- currentdate = new Date()
- core = currentdate.getSeconds()
- core = Math.floor(core/ran)
- return(image[core])
- }
-
- document.write("<img src='" +ranimage()+ "'>")
-
- //-->
- </script>
-
-