// RICORDATI CHE JAVASCRIPT E' CASE-SENSITIVE! function Is() { var agent = navigator.userAgent.toLowerCase(); this.major = parseInt(navigator.appVersion); this.minor = parseFloat(navigator.appVersion); this.ns = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible') == -1))); this.ns2 = (this.ns && (this.major == 2)); this.ns3 = (this.ns && (this.major == 3)); this.ns4b = (this.ns && (this.minor < 4.04)); this.ns4 = (this.ns && (this.major >= 4)); this.ie = (agent.indexOf("msie") != -1); this.ie3 = (this.ie && (this.major == 2)); this.ie4 = (this.ie && (this.major >= 4)); this.op3 = (agent.indexOf("opera") != -1); this.win = (agent.indexOf("win")!=-1); this.mac = (agent.indexOf("mac")!=-1); this.unix = (agent.indexOf("x11")!=-1); } var tries = 0; var is = new Is(); var b1,b2,b3,b4,b5,b6,b7,b8,b9; if(is.ns4) { doc = "document"; sty = ""; htm = ".document"; } else if(is.ie4) { doc = "document.all"; sty = ".style"; htm = ""; } function onerror() { document.location.href = "javascript:"; } function changebutton (objnum, action) { temp = eval(doc + '["Pannello"]' + '.document.bottone'+objnum); temp.src = '../../shared/triangolo'+objnum+action+'.gif'; } function rimanda(dest) { iwin = window.open(dest,"IWIN","status=yes,toolbar=yes,location=yes,menu=yes"); } function rimanda2(dest, number) { iwin = window.open(dest,"IWIN","status=no,toolbar=no,location=no,menu=no,resize=no,width=400,height=396"); iwin.changeimage(number); } function changeScreen (dest, src) { temp = eval(doc + '["Pannello"]' + '.document.t'+dest); temp2 = eval(doc + '["Pannello"]' + '.document.t'+src); backup = temp.src; temp.src = temp2.src; } function restoreScreen (dest) { temp = eval(doc + '["Pannello"]' + '.document.t'+dest); temp.src = backup; }