
a = 4 // a=banner数目
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 = "photos/freeaccesshdr.gif"
b[1].href = "#"
b[1].width = "459"
b[1].height = "68"
b[1].border = "0"
b[1].alt = "丸吉船舶交易平台"
b[1].under = '丸吉船舶交易平台'

b[2].src = "photos/10040.gif"
b[2].href = "#"
b[2].width = "453"
b[2].height = "50"
b[2].border = "0"
b[2].alt = "丸吉船舶交易平台"
b[2].under = '丸吉船舶交易平台'

b[3].src = "http://www.qwide.com/images/qwide.gif"
b[3].href = "http://www.qwide.com"
b[3].width = "480"
b[3].height = "60"
b[3].border = "0"
b[3].alt = "钱宽手机游戏网"
b[3].under = '钱宽手机游戏网'


b[4].src = "http://www.qwide.com/images/top.gif"
b[4].href = "http://www.qwide.com"
b[4].width = "468"
b[4].height = "60"
b[4].border = "1"
b[4].alt = "钱宽手机游戏网"
b[4].under = '钱宽手机游戏网'  //依此类推

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 MM_openBrWindow(theURL,winName,features) { //v2.0

window.open(theURL,winName,features);

}
