Ok sorry about that i was pretty confused though lol anyway i've got what you're looking for. but first let me just tell you im not a script writer i found this code on a webpage (
http://www.cgiscript.net/cgi-script/....1230395883322) and have tampered with it to make the code shorter and remove the hyperlinks and the bits that aren't needed so if there are problems well i cant really help.
<SCRIPT LANGUAGE="Javascript"><!--
// ***********************************************
// AUTHOR:
WWW.CGISCRIPT.NET, LLC
// URL:
http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// (
http://www.cgiscript.net/scripts.htm )
// ***********************************************
function banner() {
};
banner = new banner();
number = 0;
// bannerArray
banner[number++] = "[img]Image url here[/img]"
banner[number++] = "[img]Image url here[/img]"
banner[number++] = "[img]Image url here[/img]"
banner[number++] = "[img]Image url here[/img]"
banner[number++] = "[img]Image url here[/img]"
// keep adding items here...
increment = Math.floor(Math.random() * number);
document.write(banner[increment]);