function controlla(f){if(f.checked){(document.getElementById("altro").style.visibility="visible");}
else{(document.getElementById("altro").style.visibility="hidden");}}
function MyShowImage(imagepath,imagewidth,imageheight)
{imgWindow=window.open(imagepath,"","width="+imagewidth+",height="+eval(imageheight+1)+",scrollbars=no,toolbar=no,titlebar=no")
imgWindow.document.write("<html><head><title>Clicca sulla foto per chiudere</title>")
imgWindow.document.write("<script type=text/javaScript>")
imgWindow.document.write("function ApriMenuTxDx() {")
imgWindow.document.write("var menu = document.getElementById('MenuTxDx');")
imgWindow.document.write("menu.style.top = window.event.clientY;")
imgWindow.document.write("menu.style.left = window.event.clientX;")
imgWindow.document.write("menu.style.visibility = 'Visible'; }")
imgWindow.document.write("function ChiudiMenuTxDx() {")
imgWindow.document.write("var menu = document.getElementById('MenuTxDx');")
imgWindow.document.write("menu.style.visibility = 'Hidden'; }")
imgWindow.document.write("function clickIE() {if (document.all) {(message); return false}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) {if (e.which==2||e.which==3) {(message); return false}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS} else {document.onmouseup=clickNS; document.oncontextmenu=clickIE} document.oncontextmenu=new Function('return false')")
imgWindow.document.write("</"+"script"+">")
imgWindow.document.write("</head>")
imgWindow.document.write("<body leftmargin=0 marginwidth=0 topmargin=0 marginheight=0 bgcolor=0060a0 BACKGROUND="+"bckg.jpg"+" oncontextmenu='ApriMenuTxDx(); return false;' onclick='ChiudiMenuTxDx()'>")
imgWindow.document.write("<div id='MenuTxDx'>")
imgWindow.document.write("</div>")
imgWindow.document.write("<table align=center height=550><td valign=center><a href="+"javascript:window.close()"+">"+"<img src="+imagepath+" border=0></a></td></table>")
imgWindow.document.write("</body></html>")}
function MyShowImage2(imagepath,imagewidth,imageheight)
{imgWindow=window.open(imagepath,"","width="+imagewidth+",height="+eval(imageheight+1)+",scrollbars=no,toolbar=no,titlebar=no")
imgWindow.document.write("<html><head><title>Clicca sulla foto per chiudere</title>")
imgWindow.document.write("<script type=text/javaScript>")
imgWindow.document.write("function ApriMenuTxDx() {")
imgWindow.document.write("var menu = document.getElementById('MenuTxDx');")
imgWindow.document.write("menu.style.top = window.event.clientY;")
imgWindow.document.write("menu.style.left = window.event.clientX;")
imgWindow.document.write("menu.style.visibility = 'Visible'; }")
imgWindow.document.write("function ChiudiMenuTxDx() {")
imgWindow.document.write("var menu = document.getElementById('MenuTxDx');")
imgWindow.document.write("menu.style.visibility = 'Hidden'; }")
imgWindow.document.write("function clickIE() {if (document.all) {(message); return false}} function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) {if (e.which==2||e.which==3) {(message); return false}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS} else {document.onmouseup=clickNS; document.oncontextmenu=clickIE} document.oncontextmenu=new Function('return false')")
imgWindow.document.write("</"+"script"+">")
imgWindow.document.write("</head>")
imgWindow.document.write("<body leftmargin=0 marginwidth=0 topmargin=0 marginheight=0 bgcolor=0060a0 BACKGROUND="+"bckg.jpg"+" oncontextmenu='ApriMenuTxDx(); return false;' onclick='ChiudiMenuTxDx()'>")
imgWindow.document.write("<div id='MenuTxDx'>")
imgWindow.document.write("</div>")
imgWindow.document.write("<table align=center height=550><td valign=center><a href="+"javascript:window.close()"+">"+"<img src="+imagepath+" border=0></a></td></table>")
imgWindow.document.write("</body></html>")}
function ApriMenuTxDx()
{var menu=document.getElementById("MenuTxDx");menu.style.top=window.event.clientY;menu.style.left=window.event.clientX;menu.style.visibility="Visible";}
function ChiudiMenuTxDx()
{var menu=document.getElementById("MenuTxDx");menu.style.visibility="Hidden";}
function ShowMenu(URL,WinTitle,WinWidth,WinHeight,WinLeft,WinTop){attr="resizable=no,width="+WinWidth+",height="+WinHeight+",screenX="+WinLeft+",screenY="+WinTop+",left="+WinLeft+",top="+WinTop+"";msgWindow=open(URL,WinTitle,attr);if(msgWindow.opener==null)msgWindow.opener=self;}
var message="";function clickIE(){if(document.all)
{(message);return false}}
function clickNS(e)
{if(document.layers||(document.getElementById&&!document.all))
{if(e.which==2||e.which==3)
{(message);return false}}}
if(document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS}
else
{document.onmouseup=clickNS;document.oncontextmenu=clickIE}
document.oncontextmenu=new Function("return false")
function blinker(farbe1,farbe2,tempo){faktor=0;heller=1;rot1=farbe1.substr(0,2);gruen1=farbe1.substr(2,2);blau1=farbe1.substr(4,2);rot1=parseInt(rot1,16);gruen1=parseInt(gruen1,16);blau1=parseInt(blau1,16);rot2=farbe2.substr(0,2);gruen2=farbe2.substr(2,2);blau2=farbe2.substr(4,2);rot2=parseInt(rot2,16);gruen2=parseInt(gruen2,16);blau2=parseInt(blau2,16);rot_diff=rot2-rot1;gruen_diff=gruen2-gruen1;blau_diff=blau2-blau1;tempo_verlauf=tempo;blinker_verlauf();}
function blinker_verlauf(){rot_neu=rot1+rot_diff/100*faktor;gruen_neu=gruen1+gruen_diff/100*faktor;blau_neu=blau1+blau_diff/100*faktor;rot_neu=Math.floor(rot_neu);gruen_neu=Math.floor(gruen_neu);blau_neu=Math.floor(blau_neu);if(heller==0){faktor+=10;}else{faktor-=10;}
if(faktor>=100){heller=1;}
if(faktor<=0){heller=0;}
for(i=0;i<document.getElementsByTagName("span").length;i++){if(document.getElementsByTagName("span")[i].className=="blink")document.getElementsByTagName("span")[i].style.color="rgb("+rot_neu+", "+gruen_neu+", "+blau_neu+")";}
window.setTimeout("blinker_verlauf()",tempo_verlauf);}
function Disabilita(btnradio,obj_textarea)
{if(parseInt(btnradio.value))
{obj_textarea.disabled=true;}
else
{obj_textarea.disabled=false;}}