var NS4;var NS6;var IE4;var MAC;if(navigator.platform=="MacPPC"){MAC=1;}else{MAC=0;}if(navigator.appName.indexOf("Netscape")>=0&&parseFloat(navigator.appVersion)>=4&&parseFloat(navigator.appVersion)<5){NS4=1;}else{NS4=0;}if(navigator.appName.indexOf("Netscape")>=0&&parseFloat(navigator.appVersion)>=5){NS6=1;}else{NS6=0;}if(document.all){IE4=1;}else{IE4=0;}function moveLayerTo(_1,x,y){if(NS4){_1.moveTo(x,y);}if(IE4){_1.style.left=x;_1.style.top=y;}if(NS6){_1.style.left=parseInt(x)+"px";_1.style.top=parseInt(y)+"px";}}function moveLayerBy(_4,dx,dy){if(NS4){_4.moveBy(dx,dy);}if(IE4){_4.style.pixelLeft+=dx;_4.style.pixelTop+=dy;}if(NS6){_4.style.left=parseInt(_4.style.left)+dx+"px";_4.style.top=parseInt(_4.style.top)+dy+"px";}}function getLeft(_7){if(NS4){return _7.left;}if(IE4){return _7.style.pixelLeft;}if(NS6){return _7.style.left;}return -1;}function getTop(_8){if(NS4){return _8.top;}if(IE4){return _8.style.pixelTop;}if(NS6){return _8.style.top;}return -1;}function getRight(_9){if(NS4){return _9.left+getWidth(_9);}if(IE4){return _9.style.pixelLeft+getWidth(_9);}if(NS6){return parseInt(_9.style.left)+getWidth(_9);}return -1;}function getBottom(_a){if(NS4){return _a.top+getHeight(_a);}if(IE4){return _a.style.pixelTop+getHeight(_a);}if(NS6){return parseInt(_a.style.top)+getHeight(_a);}return -1;}function getPageLeft(_b){var x;if(NS4){return _b.pageX;}if(IE4||NS6){x=0;while(_b.offsetParent!=null){x+=_b.offsetLeft;_b=_b.offsetParent;}x+=_b.offsetLeft;return x;}return -1;}function getPageTop(_d){var y;if(NS4){return _d.pageY;}if(IE4||NS6){y=0;while(_d.offsetParent!=null){y+=_d.offsetTop;_d=_d.offsetParent;}y+=_d.offsetTop;return y;}return -1;}function getWidth(_f){if(NS4){if(_f.document.width){return _f.document.width;}else{return _f.clip.right-_f.clip.left;}}if(IE4){if(_f.style.pixelWidth){return _f.style.pixelWidth;}else{return _f.clientWidth;}}if(NS6){return parseInt(_f.style.width);}return -1;}function getHeight(_10){if(NS4){if(_10.document.height){return _10.document.height;}else{return _10.clip.bottom-_10.clip.top;}}if(IE4){if(_10.style.pixelHeight){return _10.style.pixelHeight;}else{return _10.clientHeight;}}if(NS6){return parseInt(_10.style.height);}return -1;}function getzIndex(_11){if(NS4){return _11.zIndex;}if(IE4||NS6){return _11.style.zIndex;}return -1;}function setzIndex(_12,z){if(NS4){_12.zIndex=z;}if(IE4||NS6){_12.style.zIndex=z;}}function hideLayer(_14){if(NS4){_14.visibility="hide";}if(IE4||NS6){_14.style.visibility="hidden";}}function showLayer(_15){if(NS4){_15.visibility="show";}if(IE4||NS6){_15.style.visibility="visible";}}function inheritLayer(_16){if(NS4){_16.visibility="inherit";}if(IE4||NS6){_16.style.visibility="inherit";}}function getVisibility(_17){if(IE4||NS6){return _17.style.visibility;}if(NS4){if(_17.visibility=="show"){return "visible";}if(_17.visibility=="hide"){return "hidden";}return _17.visibility;}return "";}function scrollLayerTo(_18,x,y,_1b){var dx=getClipLeft(_18)-x;var dy=getClipTop(_18)-y;scrollLayerBy(_18,-dx,-dy,_1b);}function scrollLayerBy(_1e,dx,dy,_21){var cl=getClipLeft(_1e);var ct=getClipTop(_1e);var cr=getClipRight(_1e);var cb=getClipBottom(_1e);if(_21){if(cl+dx<0){dx=-cl;}else{if(cr+dx>getWidth(_1e)){dx=getWidth(_1e)-cr;}}if(ct+dy<0){dy=-ct;}else{if(cb+dy>getHeight(_1e)){dy=getHeight(_1e)-cb;}}}clipLayer(_1e,cl+dx,ct+dy,cr+dx,cb+dy);moveLayerBy(_1e,-dx,-dy);}function getLayer(_26){if(IE4){return eval("document.all."+_26);}if(NS4){return findLayer(_26,document);}if(NS6){return eval("document.getElementById('"+_26+"')");}return null;}function findLayer(_27,doc){var i;var _2a;for(i=0;i<doc.layers.length;i++){_2a=doc.layers[i];if(_2a.name==_27){return _2a;}if(_2a.document.layers.length>0){if((_2a=findLayer(_27,_2a.document))!=null){return _2a;}}}return null;}function sostituisciTestoLayer(_2b,_2c){var _2d=getLayer(_2b);if(NS4){_2d.document.open();_2d.document.write(_2c);_2d.document.close();}if(IE4||NS6){_2d.innerHTML=_2c;}}function clipLayer(_2e,_2f,top,_31,_32){if(NS4){_2e.clip.left=_2f;_2e.clip.top=top;_2e.clip.right=_31;_2e.clip.bottom=_32;}if(IE4||NS6){_2e.style.clip="rect("+top+" "+_31+" "+_32+" "+_2f+")";}}function getClipLeft(_33){var str;var _35;if(NS4){return _33.clip.left;}if(IE4||NS6){str=_33.style.clip;if(!str){return 0;}_35=getIEClipValues(_33.style.clip);return (_35[3]);}return -1;}function getClipTop(_36){var str;var _38;if(NS4){return _36.clip.top;}if(IE4||NS6){str=_36.style.clip;if(!str){return 0;}_38=getIEClipValues(_36.style.clip);return _38[0];}return -1;}function getClipRight(_39){var str;var _3b;if(NS4){return _39.clip.right;}if(IE4||NS6){str=_39.style.clip;if(!str){return _39.style.pixelWidth;}_3b=getIEClipValues(_39.style.clip);return _3b[1];}return -1;}function getClipBottom(_3c){var str;var _3e;if(NS4){return _3c.clip.bottom;}if(IE4||NS6){str=_3c.style.clip;if(!str){return _3c.style.pixelHeight;}_3e=getIEClipValues(_3c.style.clip);return _3e[2];}return -1;}function getClipWidth(_3f){if(IE4||NS6){var str=_3f.style.clip;var _41=getIEClipValues(_3f.style.clip);if(!str){return _3f.style.pixelWidth;}return _41[1]-_41[3];}if(NS4){return _3f.clip.width;}return -1;}function getClipHeight(_42){if(IE4||NS6){var str=_42.style.clip;var _44=getIEClipValues(_42.style.clip);if(!str){return _42.style.pixelHeight;}return _44[2]-_44[0];}if(NS4){return _42.clip.height;}return -1;}function getIEClipValues(str){var _46=new Array();var i;i=str.indexOf("(");_46[0]=parseInt(str.substring(i+1,str.length),10);i=str.indexOf(" ",i+1);_46[1]=parseInt(str.substring(i+1,str.length),10);i=str.indexOf(" ",i+1);_46[2]=parseInt(str.substring(i+1,str.length),10);i=str.indexOf(" ",i+1);_46[3]=parseInt(str.substring(i+1,str.length),10);return _46;}function getWindowWidth(){if(IE4){return document.body.clientWidth;}if(NS4||NS6){return window.innerWidth;}return -1;}function getWindowHeight(){if(IE4){return document.body.clientHeight;}if(NS4||NS6){return window.innerHeight;}return -1;}function getPageWidth(){if(IE4){return document.body.scrollWidth;}if(NS4){return document.width;}if(NS6){return window.outerWidth;}return -1;}function getPageHeight(){if(IE4){return document.body.scrollHeight;}if(NS4){return document.height;}if(NS6){return window.outerHeight;}return -1;}function getPageScrollX(){if(IE4){return document.body.scrollLeft;}if(NS4||NS6){return window.pageXOffset;}return -1;}function getPageScrollY(){if(IE4){return document.body.scrollTop;}if(NS4||NS6){return window.pageYOffset;}return -1;}function getImage(_48){if(IE4){return eval("document.all."+_48);}if(NS4||NS6){return findImage(_48,document);}return null;}function findImage(_49,doc){var i;var img;for(i=0;i<doc.images.length;i++){if(doc.images[i].name==_49){return doc.images[i];}}for(i=0;i<doc.layers.length;i++){if((img=findImage(_49,doc.layers[i].document))!=null){img.container=doc.layers[i];return img;}}return null;}function getImagePageLeft(img){var x;var obj;if(IE4||NS6){x=0;obj=img;while(obj.offsetParent!=null){x+=obj.offsetLeft;obj=obj.offsetParent;}x+=obj.offsetLeft;return x;}if(NS4){if(img.container!=null){return img.container.pageX+img.x;}else{return img.x;}}return -1;}function getImagePageTop(img){var y;var obj;if(IE4||NS6){y=0;obj=img;while(obj.offsetParent!=null){y+=obj.offsetTop;obj=obj.offsetParent;}y+=obj.offsetTop;return y;}if(NS4){if(img.container!=null){return img.container.pageY+img.y;}else{return img.y;}}return -1;}function setBgColor(_53,_54){if(IE4||NS6){_53.style.backgroundColor=_54;}if(NS4){_53.bgColor=_54;}}function setBgImage(_55,src){if(IE4||NS6){_55.style.backgroundImage="url("+src+")";}if(NS4){_55.background.src=src;}}