Codice HTML:
<!-- BEGIN AV_TOOLBAR -->
<!-- <EdNoIndex> -->
<div id="av_toolbar_regdiv" style="padding:0;margin:0;position:absolute;height:32px;width:100px;z-index:10001">
<div class="av_site"><a target="_blank" href="http://en.altervista.org/" title="Sites, blogs and web hosting gratis">Get a site</a></div>
</div>
<script type="text/javascript">
// <![CDATA[
AVToolbar = {
count: 10,
lw:0,
s:['width','marginLeft','marginRight','paddingLeft','paddingRight','borderLeftWidth','borderRightWidth'],
parse: function(i) { return isNaN(parseInt(i))?0:parseInt(i) },
msie: 0,
resize: function() {
var w=0,s;
if(this.count==0)this.count=3;
if (this.msie) {
if (this.msie<6||(this.msie>=6&&document.compatMode!='CSS1Compat')) {
this.iframe.style.width = document.body.clientWidth+'px';
this.crea.style.left=(document.body.clientWidth-101)+'px';
if(--this.count>0)setTimeout('AVToolbar.resize()',250);
return
}
else if (this.msie==6) w = document.documentElement.clientWidth-1;
else w = document.documentElement.clientWidth;
} else {
for(s in this.s)w+=this.style(this.b,this.s[s]);
}
if(this.lw!=w) {
this.iframe.style.left=(-this.style(this.b,'borderLeftWidth')-this.style(this.b,'marginLeft'))+'px';
this.crea.style.right=(-this.style(this.b,'borderRightWidth')-this.style(this.b,'marginRight'))+'px';
this.iframe.style.width=w+'px';
this.lw=w;
}
if(--this.count>0)setTimeout('AVToolbar.resize()',250);
},
style: function(el,pr,m) { // Passare le proprieta` CSS col nome javascript-like (es. marginLeft)
var v;
if(!el)return 0;
if (document.defaultView&&document.defaultView.getComputedStyle)v=document.defaultView.getComputedStyle(el,null)[pr];
else if(el.currentStyle)v=el.currentStyle[pr];
else v=el.style[pr];
return(m?v:this.parse(v));
},
init: function() {
this.crea=document.getElementById('av_toolbar_regdiv');
if((window.parent!=window&&typeof(av_toolbar_force)=='undefined'&&window.name!='XYZZY2')||typeof(av_toolbar_off)!='undefined'){this.crea.style.display='none';return}
var b,c=0,i,my,u,p;
this.b=document.getElementsByTagName('body')[0];
if (i=navigator.userAgent.match(/MSIE (\d+)/))this.msie=i[1];
if (this.msie&&document.compatMode!='CSS1Compat') {
document.write('<'+'div style="border:0;padding:0;margin:0;visibility:hidden;height:32px"><'+'/div>');
this.crea.style.top=my=0;
} else {
this.b.style.position='relative';
this.b.style.paddingTop=(this.style(this.b,'marginTop')+this.style(this.b,'paddingTop'))+'px';
this.b.style.marginTop='32px';
var bpym, bpyv, bpy;
if (this.msie) {
bpy=this.style(this.b,'backgroundPositionY',true);
if(bpy&&(bpyv=bpy.match(/^(\d+)px$/))&&(bpyv[1]==0))this.b.style.backgroundPositionY=(parseInt(bpyv[1])+32)+'px';
} else if (navigator.userAgent.search(/Firefox/)>=0) {
bpy=this.style(this.b,'backgroundPosition',true);
if(bpy&&(bpym=bpy.match(/^([\w%]+) ([\w%]+)$/))&&(bpyv=bpym[2].match(/^(\d+)(px|%)$/))&&(bpyv[1]==0))this.b.style.backgroundPosition=bpym[1]+' '+(parseInt(bpyv[1])+32)+'px';
}
this.b.style.paddingLeft=(this.style(this.b,'marginLeft')+this.style(this.b,'paddingLeft'))+'px';
this.b.style.paddingRight=(this.style(this.b,'marginRight')+this.style(this.b,'paddingRight'))+'px';
this.b.style.marginLeft=this.b.style.marginRight=0;
if (navigator.userAgent.search(/Opera/)>-1&&document.compatMode!='CSS1Compat')my=this.crea.style.top='-32px';
else my=this.crea.style.top=(-this.style(this.b,'borderTopWidth')-32)+'px';
}
if (u=document.location.host.match(/([a-zA-Z0-9]+)\.altervista\.org$/)){
u=u[1];
for(i=0;i<u.length;i++)c+=u.charCodeAt(i);
p='tb_html/'+(c%255)+'/tb_'+u;
c='tb_css/'+(c%255)+'/st_'+u;
} else {
u=(document.location.host.match(/[a-zA-Z0-9_-]+\.[a-zA-Z]{2,3}$/))[0];
for(i=0;i<u.length;i++)c+=u.charCodeAt(i);
p='tb_dom_html/'+(c%255)+'/'+u;
c='tb_dom_css/'+(c%255)+'/'+u;
}
document.write('<'+'iframe id="av_toolbar_iframe" src="http://tb.altervista.org/'+p+'.html" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" style="height:32px;border:0;position:absolute;left:0;top:'+my+';z-index:10000"><'+'/iframe>');
this.iframe=document.getElementById('av_toolbar_iframe');
this.resize();
if (!window.onresize)window.onresize=function(){AVToolbar.resize()};
var css=document.createElement("link");
css.setAttribute("rel", "stylesheet");
css.setAttribute("type", "text/css");
css.setAttribute("href", "http://tb.altervista.org/"+c+".css");
document.getElementsByTagName("head")[0].appendChild(css);
}
};
AVToolbar.init();
// ]]>
</script>
<!-- </EdNoIndex> -->
<!-- END AV_TOOLBAR -->
(a me dà questo essendo che mi sono registrato dalla germania)