Forum Moderators: open
<head>
<script type="text/javascript">
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if((bName == "Netscape" && bVer >=3) ¦¦
(bName == "Microsoft Internet Explorer" && bVer >= 4)) br = "n3";
else br = "n2";
if (br =="n3") {
boardNum = 0;
boardspeed = 2000; /* 1000 equals 1 second */
billboards = new Array(); /* You can add as many images as you want */
bilboards[0] = new Image();
billboards[0].src = "new_image.gif";
bilboards[1] = new Image();
billboards[1].src = "new_image_1.gif";
bilboards[2] = new Image();
billboards[2].src = "new_image_2.gif";
url = new Array(); /* You can add this if you want the images to link to pages */
url[0] = "url.htm";
url[1] = "url.htm";
url[2] = "url.htm";
}
function rotateBoard() {
if (boardNum < billboards.length - 1) boardNum++;
else boardNum = 0;
document.billboard.src = billboards[boardNum].src;
setTimeout('rotateBoard()', boardSpeed);
}
function jumpBillboard() { /* This is for the link if used */
window.location.href = url[boardNum];
}
</script>
</head>
<body onload="if(br=='n3') setTimeout('rotateBoard()',boardSpeed)">
<!-- The billboard image and link NOTE All images have to be the same size -->
<a href="javascript:jumpBillboard()"><img name="billboard" src="new_image.gif border="0" height="n" width="n"></a>
<script language="JavaScript">
<!--
var how_many_ads = 6;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {
alt="PRIME definition"; banner="images/photos/prime1.gif";
width="400";
height="250";
}
if (ad==2) {
alt="PRIME definition"; banner="images/photos/prime2.gif";
width="400";
height="250";
}
if (ad==3) {
alt="PRIME definition";
banner="images/photos/prime3.gif"; width="400"; height="250";
}
if (ad==4) {
alt="PRIME definition";
banner="images/photos/prime4.gif";
width="400";
height="250";
}
if (ad==5) {
alt="PRIME definition";
banner="images/photos/prime5.gif";
width="400";
height="250";
}
if (ad==6) {
alt="PRIME definition";
banner="images/photos/prime6.gif";
width="400";
height="250";
}
document.write('<center>');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0><br>');
document.write('</center>');
// -->
</script>