Code:
<script language="Javascript">
<!--
var currentdate = 0;
var core = 0;
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
}
}
link = new initArray(
"http://yoururl.com/38666/pr/rev/1.html",
"http://yoururl.com/38666/pr/rev/2.html",
"http://yoururl.com/38666/pr/rev/3.html"
);
image = new initArray(
"http://domain.com/images/ls/pic1.gif",
"http://domain.com/images/ls/pic2.gif",
"http://domain.com/images/ls/pic3.jpg"
);
text = new initArray(
"description text for image 1",
"description text for image 2",
"description text for image 3"
);
var currentdate = new Date();
var core = currentdate.getSeconds() % image.length;
var ranlink = link[core];
var ranimage = image[core];
var rantext = text[core];
document.write('<a href=\"' +ranlink+ '\" target=\"_blank\"><img src=\"'+ranimage+'\" border="0" alt=\"'+rantext+'\"></a>');
//-->
</SCRIPT>
you can add more by simply copy/paste new lines where needed.
