﻿PositionX = 100;
PositionY = 100;
defaultWidth = 700;
defaultHeight = 500;
var AutoClose = true;
function popImage(imageURL,imageTitle){
var imgWin = window.open('','_blank','scrollbars=no,resizable=1 ,width='+defaultWidth+',height='+defaultHeight+',l eft='+PositionX+',top='+PositionY);
if( !imgWin ) { return true; } //popup blockers should not cause errors
imgWin.document.write('<html><head><title>'+imageTitle+'<\/title><style>body{margin:20px 20px 20px 20px;background:#666}</style><script type="text\/javascript">\n'+
'function resizeWinTo() {\n'+
'if( !document.images.length ) { document.images[0] = document.layers[0].images[0]; }'+
'var oH = document.images[0].height, oW = document.images[0].width;\n'+
'if( !oH || window.doneAlready ) { return; }\n'+ //in case images are disabled
'window.doneAlready = true;\n'+ //for Safari and Opera
'var x = window; x.resizeTo( oW + 200, oH + 200 );\n'+
'var myW = 0, myH = 0, d = x.document.documentElement, b = x.document.body;\n'+
'if( x.innerWidth ) { myW = x.innerWidth; myH = x.innerHeight; }\n'+
'else if( d && d.clientWidth ) { myW = d.clientWidth; myH = d.clientHeight; }\n'+
'else if( b && b.clientWidth ) { myW = b.clientWidth; myH = b.clientHeight; }\n'+
'if( window.opera && !document.childNodes ) { myW += 16; }\n'+
'x.resizeTo( oW = oW + ( ( oW + 240 ) - myW ), oH = oH + ( (oH + 320 ) - myH ) );\n'+
'var scW = screen.availWidth ? screen.availWidth : screen.width;\n'+
'var scH = screen.availHeight ? screen.availHeight : screen.height;\n'+
'if( !window.opera ) { x.moveTo(Math.round((scW-oW)/2),Math.round((scH-oH)/2)); }\n'+
'}\n'+
'<\/script>'+
'<\/head><body onload="resizeWinTo();"'+(AutoClose?'onblur="self.close();"':'')+'>'+
(document.layers?('<layer left="0" top="0">'):('<div style="left:0px;top:0px">'))+
'<div align=center><a href=javascript:window.close();><img src='+imageURL+' alt="Loading image ..." title="chiudi" border=0 onload="resizeWinTo();" style="border-top: 1px solid #999;border-bottom: 1px solid #999"></a><br style=font-size:6px;height:6px><span style=color:#fff;font-size:11px;font-family:Arial,SunSans-Regular,sans-serif;line-height:11px;font-weight:normal><br>'+imageTitle+'</span></div>'+
(document.layers?'<\/layer>':'<\/div>')+'<\/body><\/html>');
imgWin.document.close();
}


function show(object) {
    if (document.getElementById && document.getElementById(object) != null) {
         document.getElementById(object).style.visibility='visible';
         document.getElementById(object).style.display='block';
    }
    else if (document.layers && document.layers[object] != null)
        document.layers[object].visibility = 'visible';
    else if (document.all) {
        document.all[object].style.zIndex = 100;
        document.all[object].style.visibility = 'visible';
    }
}

function hide(object) {
    if (document.getElementById && document.getElementById(object) != null) {
         document.getElementById(object).style.visibility='hidden';
         document.getElementById(object).style.display='none';
    }
    else if (document.layers && document.layers[object] != null)
        document.layers[object].visibility = 'hidden';
    else if (document.all)
         document.all[object].style.visibility = 'hidden';
}
if (document.getElementById) { document.write('<style>.article {position:absolute;visibility:hidden;display:none;}</style>'); }



function ScroWindow(mypage, myname, w, h, scroll) {
var winl = 0;
var wint = (screen.height - h) / 4;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no'
win = window.open(mypage, myname, winprops)
var winl2 = winl+((screen.width - w) / 2);
var sposta;
for(sposta=1;sposta<winl2;sposta=sposta+5)
win.window.moveTo(sposta,wint)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}


function WinOpen(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 4;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}


latohome="<a href=index.html title=\"torna alla home\" class=black>< home</a><br>"

menu="<a href=index.html>home</a><a href=chi.html>chi</a><a href=mailto:posta@occhionudo.it title=posta@occhionudo.it>e-mail</a><span class=separatore>&nbsp;</span>art<br><a href=art_proteo.html>proteo</a><a href=art_dedalo.html>dedalo</a><a href=art_ulisse.html>ulisse</a><span class=separatore>&nbsp;</span>word<br><a href=word_note_artomat.html>note</a><a href=word_monologo.html>monologo</a><span class=separatore>&nbsp;</span>comunicazione<br><a href=comm_index.html target=_top>logo+visual</a><span class=separatore>&nbsp;</span>videocorti<br><a href=videocorti.html target=_top>animazioni 2D</a><span class=separatore>&nbsp;</span>teatro<br><a href=teatro.html target=_top>(aparte)teatro</a><a href=teatro_serautunno.html target=_top>sera d'autunno</a><a href=teatro_letteratura.html target=_top>letteratura</a><br /><br /><br /><br /><br /><br /><br /><br />"



menunote="tutti gli articoli:<br /><br />+<a href=word_note_escher.html title=\"vai all'articolo\">m.c. escher</a><br />+<a href=word_note_artomat.html title=\"vai all'articolo\">art-o-mat</a><br />+<a href=word_note_cattelan.html title=\"vai all'articolo\">cattelan</a><br />+<a href=word_note_transavanguardia.html title=\"vai all'articolo\">transavanguardia</a><br />+<a href=word_note_vallotton.html title=\"vai all'articolo\">felix vallotton</a><br />+<a href=word_note_pax.html title=\"vai all'articolo\">pax infinita?</a><br />+<a href=word_note_artedigitale.html title=\"vai all'articolo\">arte digitale</a><br />+<a href=word_note_storievirtuali.html title=\"vai all'articolo\">storie virtuali</a><br />+<a href=word_note_simenjohan.html title=\"vai all'articolo\">simen johan</a><br />+<a href=word_note_nonsonoparole.html title=\"vai all'articolo\">queste non sono parole</a><br />"

menucomm="tutti gli approfondimenti:<br /><br />+<a href=comm_logo_Verbano.html title=\"vai alla scheda di approfondimento\">Com. Mont. Valli del Verbano</a><br />+<a href=comm_logo_SEL.html title=\"vai alla scheda di approfondimento\">Societ&agrave; Energetica Lucana</a><br />+<a href=comm_logo_SenzaDolore.html title=\"vai alla scheda di approfondimento\">Senza Dolore</a><br />+<a href=comm_logo_MareMonti.html title=\"vai alla scheda di approfondimento\">Mare e Monti Arenzano</a><br /><br />+<a href=comm_visual_DiaNino.html title=\"vai alla scheda di approfondimento\">D&iacute;a del Ni&ntilde;o</a><br />+<a href=comm_visual_DejaVIP.html title=\"vai alla scheda di approfondimento\">Deja VIP</a><br />+<a href=comm_visual_Revoluzione.html title=\"vai alla scheda di approfondimento\">La revoluzione siamo noi</a><br />+<a href=comm_visual_Telenirvana.html title=\"vai alla scheda di approfondimento\">Telenirvana</a><br />+<a href=comm_visual_OVNI.html title=\"OVNI, Opinioni Volanti Non Identificate: vai alla scheda di approfondimento\">OVNI</a><br /><br />"

menucommtorna="&rceil;<a href=comm_index.html title=\"torna alla home Comunicazione: logo+visual\">torna alla home comunicazione</a><br />"

menuteatro="gli spettacoli di (aparte)teatro:<br /><br />+<a href=teatro_serautunno.html title=\"vai alla scheda di approfondimento\">Sera d'autunno (D&uuml;rrenmatt)</a><br />+<a href=teatro_letteratura.html title=\"vai alla scheda di approfondimento\">Letteratura (Schnitzler)</a><br />"

menuteatrotorna="&rceil;<a href=teatro.html title=\"torna alla pagina di (aparte)teatro\">torna alla pagina principale</a><br />"

footertxt="occhionudo - bruno depetris arte comunicazione animazione2d teatro - <a href=mailto:posta@occhionudo>posta@occhionudo.it</a> - 1999.2010"
