function id2obj(id){
	return document.all?document.all[id]:document.getElementById?document.getElementById(id):undefined;
}
function gesterrore(msg, url, lno){
    //alert("msg:"+msg+"\nurl:"+url+"\nlno:"+lno);
    return true;
}
function carica(){
    if(self!=top)top.location=self.location;
    //id2obj("loghiSubColl").style.overflow="hidden";
   	//posizionaLoad();
    try{recuperamsginfo()}catch(e){}
    try{auxload()}catch(e){}
}
function onContent(f){
var b=navigator.userAgent,d=document,w=window,
c="__onContent__",e="addEventListener",o="opera",r="readyState",
s="<scr".concat("ipt defer src='/","/:' on",r,"change='if(this.",r,"==\"complete\"){this.parentNode.removeChild(this);",c,"()}'></scr","ipt>");
w[c]=(function(o){return function(){w[c]=function(){};f(o?o():o)}})(w[c]);
if(d[e])d[e]("DOMContentLoaded",w[c],false);
if(/WebKit|Khtml/i.test(b)||(w[o]&&parseInt(w[o].version())<9))
(function(){/loaded|complete/.test(d[r])?w[c]():setTimeout(arguments.callee,1)})();
else if(/MSIE/i.test(b))d.write(s);
};


//Funzioni globali

//window.onload=carica;
onContent(carica);
window.onerror=gesterrore;
//window.onunload=scarica;
//window.onresize=resizeFunc;
//window.onscroll=scrollFunc;

