
<!-- This script has been in the http://www.JavaScripts.com Javascript Public Library! -->
<!-- Note that though this material may have been in a public depository, certain author copyright restrictions may apply. -->
<!--
//*******************************************************//
//                Random Banners                         //
//   by Langami   langami@bigfoot.com                    //
//   http://hem.passagen.se/fredwald/langami/index.html  //
//*******************************************************

a = 1 // a=numbers of banners
var slump = Math.random();
var talet = Math.round(slump * (a-1))+1;

function create() {

    this.width = ''
    this.height = ''
    this.src = ''
    this.href = ''
	this.border = ''
	this.alt = ''
	this.under = ''
}

b = new Array()
for(var i=1; i<=a; i++) { b[i] = new create() }


b[1].src    = ""
b[1].href   = ""
b[1].width  = "468"
b[1].height = "60"
b[1].border = "0"
b[1].alt    = ""
b[1].under  = '<font size=1><a href="" target="_top">Banner Ad</a></font>'



var visa = "";

visa += '<a href="'+b[talet].href+'">'
visa += '<img src="'+b[talet].src+'" height='+b[talet].height
visa += ' width='+b[talet].width+' border='+b[talet].border+' alt='+b[talet].alt+'>';
visa += '</a>'

function WriteBanner(doc){

doc.write('<A name="top"></A>')
doc.write('<TABLE width="750" cellspacing="0" cellpadding="0" border="0">');
	doc.write('<TR>');
		doc.write('<td width="125" align="center" valign="middle" height="80"><img src="http://www.cyberpub.co.uk/cyberpub/images/general/logo_100x50 red.gif" width="100" height="50" border="0" alt="Cyberpub"></td>');
		doc.write('<td width="50" align="center" valign="baseline" height="80">&nbsp;</td>');
  		doc.write('<TD width="575" align="center" valign="baseline" height="80" colspan="2">');

 		//doc.write('<CENTER>'+visa+'<br>');
		//doc.write(b[talet].under+'</center>');

		doc.write('</td>');
	doc.write('</tr>');
doc.write('</table>');


}
//-->
	
<!-- Tommy Raven (Min) says Moo. -->

