//*******************************************************//
//                Random Banners                         //
//   by Langami   langami@bigfoot.com                    //
//   http://hem.passagen.se/fredwald/langami/index.html  //
//*******************************************************

a = 2 // 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 = ''
	this.scr2 = ''
	this.href2 = ''
        this.width2 = ''
        this.height2 = ''
}

b = new Array()
for(var i=1; i<=a; i++) { b[i] = new create() }

b[1].src    = "http://ads20.bpath.com/gif.cfm?ID=41842&Page=0&Ver=32"
b[1].href   = "http://ads20.bpath.com/url.cfm/ID=41842&Page=0&Ver=32&Pos="
b[1].width  = "468"
b[1].height = "60"
b[1].border = "0"
b[1].alt    = "Italia Bpath Network"
b[1].src2   = "http://ads20.bpath.com/bar.dll?ID=41842&Page=0&Ver=32"
b[1].href2  = "http://ads20.bpath.com/barurl.dll/ID=41842&Page=0&Ver=32&barpos="
b[1].width2  = "468"
b[1].height2 = "15"

b[2].src    = "http://www.pubblicitaonline.it/banner/banner.asp?action=display&COD=1&RIC=5"
b[2].href   = "http://www.pubblicitaonline.it/banner/banner.asp?action=go"
b[2].width  = "468"
b[2].height = "60"
b[2].border = "0"
b[2].alt    = "Italia Bpath Network"
b[2].src2   = "http://www.pubblicitaonline.it/banner/images/logo_pol.jpg"
b[2].href2  = "http://www.pubblicitaonline.it/scambio.htm"
b[2].width2  = "29"
b[2].height2 = "18"

var visa = "";
visa += '<TABLE CELLSPACING=1 CELLPADDING=0 BORDER=0><TR><TD align="center">'
visa += '<a href="'+b[talet].href+'" target="_blank">'
visa += '<img ISMAP HSPACE=0 VSPACE=0 src="'+b[talet].src+'" height='+b[talet].height
visa += ' width='+b[talet].width+' border='+b[talet].border+' alt='+b[talet].alt+'>'
visa += '</a></TD></TR><TR><TD align="center">'
visa += '<a href="'+b[talet].href2+'" target="_blank">'
visa += '<img ISMAP HSPACE=0 VSPACE=0 src="'+b[talet].src2+'" height='+b[talet].height2
visa += ' width='+b[talet].width2+' border='+b[talet].border+' alt='+b[talet].alt+'>'
visa += '</A></TD></TR>'
visa += '</TABLE>'