<!--
var dragapproved=false
var minrestore=0
var initialwidth,initialheight
var ie5=document.all&&document.getElementById
var ns6=document.getElementById&&!document.all

//catalogo

function cancella_articolo(bottone,elenco_art)
{
bottone.form.operazione.value="cancella";
bottone.form.elenco_tano.value=elenco_art;
bottone.form.submit();
}




function iecompattest(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function drag_drop(e){
if (ie5&&dragapproved&&event.button==1){
document.getElementById("dwindow").style.left=tempx+event.clientX-offsetx+"px"
document.getElementById("dwindow").style.top=tempy+event.clientY-offsety+"px"
}
else if (ns6&&dragapproved){
document.getElementById("dwindow").style.left=tempx+e.clientX-offsetx+"px"
document.getElementById("dwindow").style.top=tempy+e.clientY-offsety+"px"
}
}

function initializedrag(e){
offsetx=ie5? event.clientX : e.clientX
offsety=ie5? event.clientY : e.clientY
document.getElementById("dwindowcontent").style.display="none" //extra
tempx=parseInt(document.getElementById("dwindow").style.left)
tempy=parseInt(document.getElementById("dwindow").style.top)

dragapproved=true
document.getElementById("dwindow").onmousemove=drag_drop
}

function loadwindow(url,width,height){
if (!ie5&&!ns6)
window.open(url,"","width=width,height=height,scrollbars=1")
else{
document.getElementById("dwindow").style.display=''
document.getElementById("dwindow").style.width=initialwidth=width+"px"
document.getElementById("dwindow").style.height=initialheight=height+"px"
document.getElementById("dwindow").style.left="50px"
document.getElementById("dwindow").style.top=ns6? window.pageYOffset*1+50+"px" : iecompattest().scrollTop*1+50+"px"
document.getElementById("cframe").src=url
}
}

function closeit(){
document.getElementById("dwindow").style.display="none"
}

function stopdrag(){
dragapproved=false;
document.getElementById("dwindow").onmousemove=null;
document.getElementById("dwindowcontent").style.display="" //extra
}

//inizio

function aprihelp()
{
//if (!ie5&&!ns6)
//window.open(url,"","width=width,height=height,scrollbars=1")
//else{
document.getElementById("help").style.display=''
//document.getElementById("help").style.width=initialwidth=width+"px"
//document.getElementById("help").style.height=initialheight=height+"px"
//document.getElementById("help").style.left="50px"
//document.getElementById("help").style.top=ns6? window.pageYOffset*1+50+"px" : iecompattest().scrollTop*1+50+"px"
//document.getElementById("cframehelp").src=url
//}
}
function chiudihelp(){
document.getElementById("help").style.display="none"
}
//fine
function pop(par, par2,didascalia)
{
   var popupWin = window.open('', '',par2);
   popupWin.document.write('<html><head><title>Virustango');
   //popupWin.document.write(didascalia);
   popupWin.document.write('</title></head>');
   popupWin.document.write('<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">');
   popupWin.document.write('<center><a href="javascript:this.window.close();"><img src="'+par+'" name="immagine" border="0"></a></center></body></html>');
   //popupWin.document.write('<html><head></head><body><center><img src='+par+' name=\'immagine\'></center></body></html>');
   //popupWin.resizeTo(popupWin.document.immagine.width+160,popupWin.document.immagine.height+120);
}
function pop2(par, par2,didascalia)
{
   var popupWin = window.open('', '','resizable,scrollbars,'+par2);
   popupWin.document.write('<html><head><title>Virustango');
   //popupWin.document.write(didascalia);
   popupWin.document.write('</title></head>');
   popupWin.document.write('<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">');
   popupWin.document.write('<center><a href="javascript:this.window.close();"><img src="'+par+'" name="immagine" border="0"></a></center></body></html>');
   //popupWin.document.write('<html><head></head><body><center><img src='+par+' name=\'immagine\'></center></body></html>');
   //popupWin.resizeTo(popupWin.document.immagine.width+160,popupWin.document.immagine.height+120);
}

function pop3(par)
{
   //var popupWin = window.open('', '',par2);
   
   immagine = new Image()
   immagine.src = par;
 
   var popupWin = window.open('', '','toolbar=no,width='+immagine.width+',height='+immagine.height);
   popupWin.document.write('<html><head><title>Virustango');
   //popupWin.document.write(didascalia);
   popupWin.document.write('</title></head>');
   popupWin.document.write('<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">');
   popupWin.document.write('<center><a href="javascript:this.window.close();"><img src="'+par+'" name="immagine" border="0"></a></center></body></html>');
   //popupWin.document.write('<html><head></head><body><center><img src='+par+' name=\'immagine\'></center></body></html>');
   //popupWin.resizeTo(popupWin.document.immagine.width+160,popupWin.document.immagine.height+120);
}
/*function pop(par, par2,didascalia)
{
id=87;
op=125
//   var popupWin = window.open('', '',par2);
   var popupWin = window.open('', '','');
  
   popupWin.document.write('<html><head><title>');
   popupWin.document.write(didascalia);
   popupWin.document.write('</title></head>');
   popupWin.document.write('<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">');
   popupWin.document.write('<center><img src="'+par+'" name="immagine" border="0">');
   script="http:\\\\cincotta\/popup.php?id=" + id + "&amp;op=" + op ;
   popupWin.document.write('<br><a href="javascript:window.location=\''+ script +'\';"> back </a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href=""> next </a> ');
   popupWin.document.write('</center></body></html>');
   
}
*/
function pop_gallery(op,id)
{

window.open('popup.php?op=' + op + '&amp;id=' + id , 90 , "width=900,height=560" );
}
function pop_progetti(op,id,fase,gal)
{

window.open('pop_progetti.php?op=' + op + '&amp;id=' + id + '&amp;fase='+fase+'&amp;gal=' + gal , 90 , "width=900,height=560" );
}

function credits()
{
	LeftPosition = (screen.width) ? (screen.width-400)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-400)/2 : 0;

   var popupWin = window.open('', '','width=400,height=400,top='+TopPosition+',left='+LeftPosition);
   popupWin.document.write('<html><head><title>');
   popupWin.document.write('.:: Credits ::.');
   popupWin.document.write('</title><link rel="stylesheet" type="text/css" href="stili.css" media="all"></head>');
   popupWin.document.write('<body bgcolor="#000000" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">');
   popupWin.document.write('<center>Il nome "InDesign", il logo, i testi, la grafica, i contenuti presenti sul sito www.indesigncincotta.it, ');
	 popupWin.document.write('sono di propriet&agrave; dello Studio Cincotta. ');
	 popupWin.document.write('E&rsquo; vietato riprodurre con alcun mezzo, i contenuti di detto sito, anche parzialmente, senza il ');
	 popupWin.document.write('consenso scritto della societ&agrave; proprietaria. E&rsquo; consentita l&rsquo;archiviazione elettronica e la stampa dei contenuti ');
	 popupWin.document.write('di indesigncincotta.it solo ad uso personale. E&rsquo; precluso l&rsquo;utilizzo a scopo commerciale dei contenuti del ');
   popupWin.document.write('suddetto sito da parte di terzi, senza il consenso scritto della societ&agrave; proprietaria.<br><a href="javascript:this.window.close();">chiudi</a></center></body></html>');

}

function copyright()
{
	LeftPosition = (screen.width) ? (screen.width-400)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-400)/2 : 0;

   var popupWin = window.open('', '','width=400,height=400,top='+TopPosition+',left='+LeftPosition);
   popupWin.document.write('<html><head><title>');
   popupWin.document.write('.:: Credits ::.');
   popupWin.document.write('</title><link rel="stylesheet" type="text/css" href="stili.css" media="all"></head>');
   popupWin.document.write('<body bgcolor="#000000" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">');
   popupWin.document.write('<center>Il nome "InDesign", il logo, i testi, la grafica, i contenuti presenti sul sito www.indesigncincotta.it, ');
	 popupWin.document.write('sono di propriet&agrave; di InDesign Studio Cincotta. ');
	 popupWin.document.write('E&rsquo; vietato riprodurre con alcun mezzo, i contenuti di detto sito, anche parzialmente, senza il ');
	 popupWin.document.write('consenso scritto della societ&agrave; proprietaria. E&rsquo; consentita l&rsquo;archiviazione elettronica e la stampa dei contenuti ');
	 popupWin.document.write('di indesigncincotta.it solo ad uso personale. E&rsquo; precluso l&rsquo;utilizzo a scopo commerciale dei contenuti del ');
   popupWin.document.write('suddetto sito da parte di terzi, senza il consenso scritto della societ&agrave; proprietaria.<br><a href="javascript:this.window.close();">chiudi</a></center></body></html>');

}

function privacy()
{
	LeftPosition = (screen.width) ? (screen.width-400)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-400)/2 : 0;

   var popupWin = window.open('', '','width=400,height=400,top='+TopPosition+',left='+LeftPosition);
   popupWin.document.write('<html><head><title>.:: Privacy L.675/96 ::.</title><link rel="stylesheet" type="text/css" href="stili.css" media="all">\n');
   popupWin.document.write('</head><body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">\n');
   popupWin.document.write('<div id="nomediv"><table border="0" cellspacing="0" celspadding="0"><tr><td align="justify"><b>Legge sulla Privacy L. 675/96</b>:\n');
   popupWin.document.write('<br>Gentile utente,\n');
   popupWin.document.write('<br>Desideriamo informarLa che i Suoi dati personali saranno utilizzati da parte di <b>InDesign Studio Cincotta</b> e comunicati\n');
   popupWin.document.write('ad altri enti e societ&agrave; esterne ad essa collegate, nel pieno rispetto dei principi fondamentali, dettati:\n');
   popupWin.document.write('<li>dal decreto legislativo 196 del 30.06.2003;</li>\n');
   popupWin.document.write('<li>dalla direttiva 95/46/CE e dalla Legge 675/96 per la protezione dei dati personali;</li>\n');
   popupWin.document.write('<li>dalla direttiva 97/66/CE e dal D. Lgs. 171/98 per la tutela della privacy nelle telecomunicazioni;</li>\n');
   popupWin.document.write('<li>dalla direttiva 97/7/CE e dal D. Lgs. 185/99 per la protezione dei consumatori nei contratti a distanza;</li>\n');
   popupWin.document.write('<li>dalla direttiva CE del 4 maggio 2000 per il commercio elettronico.</li>\n');
   popupWin.document.write('<br><br><b>TITOLARE E RESPONSABILE DEL TRATTAMENTO</b>\n');
   popupWin.document.write('<br>Il titolare del trattamento dei dati personali &egrave; <b>InDesign Studio Cincotta</b> con sede legale in via G. La Farina, 11\n');
   popupWin.document.write('90141 Palermo - Email: contatto@indesigncincotta.it. Responsabile del trattamento dei dati personali &egrave;\n');
   popupWin.document.write('l&rsquo;Arch. Gianluigi Cincotta, amministratore unico di <b>InDesign Studio Cincotta</b>.\n');
   popupWin.document.write('<br><a href="javascript:this.window.close();">chiudi</a>\n');
   popupWin.document.write('</td></tr></table></div></body></html>\n');

}

function stile(par,par2)
{
	if (par.className!=par2) par.className=par2;
}
-->