function avvio(q,t) { with (document) { getElementById('').style.display = "block"; getElementById('capo').style.visibility = "visible"; } tsx = document.getElementById('barrasx').clientHeight+365; tcont = document.getElementById('contenitore').clientHeight+84; with (document.getElementById('coda').style) { if (tsx>tcont) top = tsx; else top = tcont; height = document.getElementById('coda').clientHeight; visibility = "visible" } with (document.getElementById('barradx').style) { if (tsx>tcont) height = document.getElementById('barrasx').clientHeight+280; else height = document.getElementById('contenitore').clientHeight; visibility = "visible" } if (q == "v") { document.getElementById('vola').style.visibility = "visible"; flst = 352; window.setTimeout("dovesei(flst)",1); } } function dovesei(x) { mv = x; ora = document.body.scrollTop; gap = ora-mv; if (ora<=mv) { document.getElementById('vola').style.top = 352; } else { document.getElementById('vola').style.top = 352+gap; } window.setTimeout("dovesei(mv)",1); } function chiudivola() { document.getElementById('vola').style.visibility = "hidden"; } function apriliv(x) { document.getElementById(''+x).style.visibility = "visible"; } function chiudi(x) { document.getElementById(''+x).style.visibility = "hidden"; } function aprigallery(q) { window.open('./gallery.htm?tipo='+q,'galleria','width=342,height=315,scrollbars=no,resizable=no'); } function vai(dove) { document.location=""+dove; } function cover(t,n) { window.parent.document.location="./dettaglio.htm?tipo="+t+"&quale="+n; } function avviarc() { document.forms["motore"].submit(); }