<!--
var totale = 0;
for (i=0;i<lista.length;i++)
  totale += lista[i].peso;
c = Math.floor(Math.random()*totale) + 1;
n = 0;
while(lista[n].peso<c) {
  c -= lista[n].peso;
  n++;
}
var code = '';
code += '<a href="' + lista[n].url + '" target="' + lista[n].target + '">';
code += '<img src="' + lista[n].img + '" border="0">';
code += '</a>';
document.write(code);
// -->
