try{document.getElementById('banner-top').innerHTML = '<iframe id="banner-top-frame" src="http://www.ilmeteo.it/portale/files/banners/banner-top-NEWS.HOME.html" width="728" height="90" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>';}catch(e){}
try{document.getElementById('banner-left').innerHTML = '<iframe id="banner-left-frame" src="http://www.ilmeteo.it/portale/files/banners/banner-left-NEWS.HOME.html" width="300" height="250" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>';}catch(e){}
try{document.getElementById('banner-strip').innerHTML = '<iframe id="banner-strip-frame" src="http://www.ilmeteo.it/portale/files/banners/banner-strip-NEWS.HOME.html" width="620" height="30" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>';}catch(e){}
try{document.getElementById('banner-quad').innerHTML = '<iframe id="banner-quad-frame" src="http://www.ilmeteo.it/portale/files/banners/banner-quad-NEWS.HOME.html" width="125" height="125" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>';}catch(e){}
try{document.getElementById('bacheca-tiscali').innerHTML = '<iframe id="bacheca-tiscali-frame" src="http://www.ilmeteo.it/portale/files/banners/bacheca-NEWS.HOME.html" width="147" height="320" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe>';}catch(e){}
try{document.getElementById('banner-left3').innerHTML = '<iframe id="banner-left3-frame" src="http://www.ilmeteo.it/portale/files/banners/adv-comingsoon.html" width="100%" height="225" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>';}catch(e){}
try{document.getElementById('banner-left2').innerHTML = autopromoh();}catch(e){}
function autopromoh()
{
var b='http://web.tiscali.it/cartemeteo/portale/files/banners/'
var r=Math.random()*100
/*if(r < 10) url='meteoNeve300x250.swf?clickTag=http://www.ilmeteo.it/portale/neve'
else*/ if(r < 5) url='forum300x250.swf?clickTag=http://forum.ilmeteo.it/'
else if(r < 20) url='mappeMeteo300x250.swf?clickTag=http://www.ilmeteo.it/portale/mappe-meteo'
else if(r < 25) url='meteoComuni300x250.swf?clickTag=http://www.ilmeteo.it/meteo/'
else if(r < 30) url='meteoEuropa300x250.swf?clickTag=http://www.ilmeteo.it/portale/meteo-europa'
else if(r < 35) url='meteoMobile300x250.swf?clickTag=http://mobile.ilmeteo.it/'
else if(r < 40) url='newsletter300x250.swf?clickTag=http://www.ilmeteo.it/portale/newsletter-iscrizione'
else if(r < 45) url='previsioni15giorni300x250.swf?clickTag=http://www.ilmeteo.it/portale/meteo-lungo-termine'
else if(r < 50) url='serviziWeb300x250.swf?clickTag=http://www.ilmeteo.it/portale/webscript'
else if(r < 55) url='smsMeteo300x250.swf?clickTag=http://www.ilmeteo.it/sms'
else if(r < 95) url='ventiMari300x250.swf?clickTag=http://www.ilmeteo.it/portale/marine'
//else if(r < 95) url='webCam300x250.swf?clickTag=http://www.ilmeteo.it/portale/webcam'
else return '<iframe id="banner-left2-frame" src="http://www.ilmeteo.it/portale/files/banners/banner-left-offerta.html" width="300" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" allowtransparency="true"></iframe>'
return '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" id="bautop" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="'
+b+url+'" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="'
+b+url+'" quality="high" bgcolor="#ffffff" width="100%" height="90%" name="bautop" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>'
}

