// Pacchetto Funzioni
//Risoluzione-------------------------------------
var frw=screen.width/800;
var fre=screen.height/600;
//stili
function stili()
{
//caratteri standard
var xlarge=16*frw+"px";
var large=14*frw+"px";
var medium=13*frw+"px";
var nsmall=12*frw+"px";
var xsmall=10*frw+"px";
var xxsmall=8*frw+"px";
document.write( '<style type="text/css">');
document.write( '<!--');
document.write( 'BODY {');
document.write( 'scrollbar-face-color: #FFCC00;');
//document.write( 'scrollbar-highlight-color: #FFCC00;');
//document.write( 'scrollbar-shadow-color: #FFCC00;');
//document.write( 'scrollbar-3dlight-color: #FFCC00;');
//document.write( 'scrollbar-arrow-color: #FFCC00;');
//document.write( 'scrollbar-track-color: #FFCC00;');
//document.write( 'scrollbar-darkshadow-color: #FFCC00');
document.write( '}');
document.write( '.testo1 {');
document.write( '         ');
document.write( '	font-family: "Times New Roman", Times, serif; ');
document.write( '	font-size: '+medium+'; ');
document.write( '	color: #666666;  ');
document.write( '	text-decoration: none; ');
document.write( '}             ');
document.write( '.testo2 {    ');
document.write( '	font-family: "Times New Roman", Times, serif;   ');
document.write( '	font-size: '+nsmall+';            ');
document.write( '	color: #333333; ');
document.write( '	text-decoration: none;');
document.write( '	margin-left: 0em;');
document.write( '}      ');
document.write( '.testo3 {   ');
document.write( '           ');
document.write( '	font-family: "Times New Roman", Times, serif;');
document.write( '	font-size: '+xsmall+'; ');
document.write( '	color: #666666; ');
document.write( '	text-decoration: none; ');
document.write( '}           ');
document.write( '.testo4 { ');
document.write( '            ');
document.write( '	font-family: "Times New Roman", Times, serif;  ');
document.write( '	font-size: '+xxsmall+';  ');
document.write( '	color: #666666;    ');
document.write( '	text-decoration: none; ');
document.write( '}          ');
document.write( '.titolo {  ');
document.write( '                         ');
document.write( '	font-family: Georgia, "Times New Roman", Times, serif;  ');
document.write( '	font-size: '+xlarge+';    ');
document.write( '	font-style: normal;  ');
document.write( '	font-weight: bold;  ');
document.write( '	color: #FFCC00;   ');
document.write( '	text-decoration: none; ');
document.write( '	border-top-style: none; ');
document.write( '	border-top-color: #FFCC00; ');
document.write( '	border-right-color: #FFCC00; ');
document.write( '	border-bottom-color: #FFCC00;   ');
document.write( '	border-left-color: #FFCC00;  ');
document.write( '	text-align: center; ');
document.write( '}                ');
document.write( '.titolo1 {  ');
document.write( '                         ');
document.write( '	font-family: Georgia, "Times New Roman", Times, serif;  ');
document.write( '	font-size: '+large+';    ');
document.write( '	font-style: normal;  ');
document.write( '	font-weight: bold;  ');
document.write( '	color: #000000;   ');
document.write( '	text-decoration: none; ');
document.write( '	border-top-style: none; ');
document.write( '	border-top-color: #FFCC00; ');
document.write( '	border-right-color: #FFCC00; ');
document.write( '	border-bottom-color: #FFCC00;   ');
document.write( '	border-left-color: #FFCC00;  ');
document.write( '	text-align: center; ');
document.write( '}                ');
document.write( '.titolo2 {      ');
document.write( '	font-family: Georgia, "Times New Roman", Times, serif; ');
document.write( '	font-size: '+medium+';    ');
document.write( '	font-style: normal;  ');
document.write( '	font-weight: bold; ');
document.write( '	color: #666666;  ');
document.write( '	text-decoration: none;  ');
document.write( '	border-top-style: none; ');
document.write( '	border-top-color: #FFCC00;');
document.write( '	border-right-color: #FFCC00; ');
document.write( '	border-bottom-color: #FFCC00;');
document.write( '	border-left-color: #FFCC00; ');
document.write( '                ');
document.write( '}        ');
document.write( '.titolo3 {');
document.write( '                          ');
document.write( '	font-family: Georgia, "Times New Roman", Times, serif;  ');
document.write( '	font-size: '+nsmall+';  ');
document.write( '	font-style: oblique;');
document.write( '	font-weight: bold; ');
document.write( '	color: #333333;  ');
document.write( '	text-decoration: none; ');
document.write( '	border-top-style: none;  ');
document.write( '	border-top-color: #FFCC00; ');
document.write( '	border-right-color: #FFCC00;  ');
document.write( '	border-bottom-color: #FFCC00; ');
document.write( '	border-left-color: #FFCC00; ');
document.write( '	text-align: left;  ');
document.write( '	vertical-align: bottom; ');
document.write( '}          ');
document.write( '          ');
document.write( '.testoQuadri {  ');
document.write( '	font-family: "Times New Roman", Times, serif; ');
document.write( '	font-size: '+medium+'; ');
document.write( '	color: #000000;   ');
document.write( '	text-decoration: none; ');
document.write( '	margin-left: 1em; ');
document.write( '}      ');
document.write( '-->    ');
document.write( '</style>  ');
}

//daMM--------------------------------------------
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//daMM----------------------------------------------

//Flash Iniziale------------------------------------
function scritta()
{
document.write( ' <table border="0" valign="center" align="center">');
document.write( '  <tr>');
document.write( '    <td> <p>');
document.write( '        <object  width="'+720*frw+'" height="'+180*fre+'" align="absmiddle">');
document.write( '          <param name="movie" value="movie/intro.swf">');
document.write( '          <param name="quality" value="high">');
document.write( '          <param name="SCALE" value="exactfit">');
document.write( '          <embed src="movie/intro.swf" width="'+720*frw+'" height="'+180*fre+'" align="absmiddle" quality="high"  type="application/x-shockwave-flash" scale="exactfit"></embed></object>');
document.write( '      </p></td>');
document.write( '  </tr>');
document.write( '</table>');
}
//Flash Iniziale------------------------------------

//frameset------------------------------------------
function scriviFrameset()
{
var ind=String(this.location);
var x=ind.substring(ind.lastIndexOf("?")+1,ind.length);
if(x==0){
         fnav='naveng.htm?0';
}
if(x==1){
         fnav='navita.htm?0';
}
document.write('<frameset rows="*" cols="*,150" framespacing="0" frameborder="NO" border="0">');
document.write('  <frame src="start.htm?0" name="pag" id="pag" scrolling="auto">');
document.write('  <frame src="'+fnav+'" name="nav" scrolling="NO" noresize id="nav">');
document.write('</frameset>');
}
//frameset------------------------------------------

//intestazioni, menu, ecc..-------------------------
function scriviBodyindex()
{
document.write('<body>');
}
function scriviBodyNav()
{
 document.write('<body bgcolor="#000000" background="imm/textrs/sfondoquadri.gif" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"  onLoad="parent.pag.location=parent.pag.location">');
}
function scriviBody()
{
 document.write('<body bgcolor="#000000" topmargin="0" marginwidth="0" marginheight="0" background="imm/textrs/sfondoquadri.gif" onLoad="MM_preloadImages(\'imm//\'+lang+\'/critiche1.gif\',\'imm/\'+lang+\'/esposizioni1.gif\',\'imm/\'+lang+\'/lingue1.gif\',\'imm/\'+lang+\'/lk1.gif\',\'imm/\'+lang+\'/opera1.gif\',\'imm/\'+lang+\'/premi1.gif\',\'imm/\'+lang+\'/quadri1.gif\',\'imm/\'+lang+\'/start1.gif\',\'imm/\'+lang+\'/vita1.gif\')">');
}
function generaMenuIniz()
{


document.write( '<table cellspacing="0" cellpadding="0" border="0" valign="bottom" align="center">');
document.write( '	<tr>');
document.write( '           	<td align="left">');
document.write( '		</td>');
document.write( '           	<td align="right">');
document.write( '			<a href="inizio.htm?1">Italiano</a><br>');
document.write( '		</td>');
document.write( '	<tr>');
document.write( '	</tr>');
document.write( '           	<td align="left">');
document.write( '			<a href="inizio.htm?0">English</a><br>');
document.write( '		</td>');
document.write( '           	<td align="right">');
document.write( '		</td>');
document.write( '	</tr>');
document.write( '</table>');
}
function generaMenu()
{
var oggid=new Date();
var mesen=oggid.getMonth();
var giornon=oggid.getDate();
var giornosn=oggid.getDay();
var anno=oggid.getFullYear();
var des=parent.nav.desMenu[x];
var oggi=giornos[giornosn]+' '+giornon+' '+mese[mesen]+' '+anno;
var n=Menu.length;
var x=0;
document.write( '<table cellspacing="0" cellpadding="0" border="0" align="right" width="100%" eight="100%">');
document.write( '	<tr>');
document.write( '	<td width="100%" bgcolor="#FFCC00" align="right"><p class="testo3">'+oggi+'</p>');
document.write( '		</td>');
document.write( '	</tr>');
for(x=0;x<n;x++)
{
document.write( '	<tr align="right">');
document.write( '           	<td align="right">');
document.write( '			<a href="'+Menu[x]+'.htm?'+x+'" target="pag" onMouseOver="MM_swapImage(\''+Menu[x]+'\',\'\',\'imm/'+Lang+'/'+Menu[x]+'1.gif\',1)" onMouseOut="MM_swapImgRestore()"><img name="'+Menu[x]+'" border="0" src="imm/'+Lang+'/'+Menu[x]+'0.gif" alt="'+Menu[x]+'" width="'+frw*100+'" heigth="'+fre*30+'"></a><br>');
document.write( '		</td>');
document.write( '	</tr>');
}
document.write( '	<tr align="right"  height="100%" >');
document.write( '           	<td align="right"  height="100%" >');
document.write( '			<img border="0" src="imm/textrs/intramenu.gif"  width="'+frw*100+'" height="'+fre*20+'"><br>');
document.write( '		</td>');
document.write( '	</tr>');
document.write( '	<tr align="right">');
document.write( '           	<td align="right">');
document.write( '			<a href=" '+Lang+'.htm"  onMouseOver="MM_swapImage(\''+Lang+'\',\'\',\'imm/'+Lang+'/lingua1.gif\',1)" onMouseOut="MM_swapImgRestore()"><img name="'+Lang+'" border="0" src="imm/'+Lang+'/lingua0.gif" alt="'+Lang+'" width="'+frw*100+'" heigth="'+fre*30+'"></a><br>');
document.write( '		</td>');
document.write( '	</tr>');
document.write( '	<tr align="right"  height="100%" >');
document.write( '           	<td align="right"  height="100%" >');
document.write( '			<img border="0" src="imm/textrs/intramenu.gif"  width="'+frw*100+'" height="'+fre*20+'"><br>');
document.write( '		</td>');
document.write( '	</tr>');
document.write( '	<tr align="right"  height="100%" >');
document.write( '    <td> <p>');
document.write( '        <object  width="'+100*frw+'" height="'+100*fre+'" align="absmiddle">');
document.write( '          <param name="movie" value="movie/clock.swf">');
document.write( '          <param name="quality" value="high">');
document.write( '          <param name="SCALE" value="exactfit">');
document.write( '          <embed src="movie/clock.swf" width="'+100*frw+'" height="'+100*fre+'" align="absmiddle" quality="high"  type="application/x-shockwave-flash" scale="exactfit"></embed></object>');
document.write( '      </p></td>');
document.write( '	</tr>');
document.write( '	<tr align="right"  height="100%" >');
document.write( '           	<td align="right"  height="100%" >');
document.write( '			<img border="0" src="imm/textrs/intramenu.gif"  width="'+frw*100+'" height="'+fre*50+'"><br>');
document.write( '		</td>');
document.write( '	</tr>');
document.write( '</table>');
}

function scriviIntestazione()
{
var ind=String(this.location);
var x=ind.substring(ind.lastIndexOf("?")+1,ind.length);
var immMenu="imm/"+parent.nav.Lang+"/"+parent.nav.Menu[x]+".gif";
var des=parent.nav.desMenu[x];
document.write( '<table cellspacing="0" cellpadding="0" border="0" width="100%">');
document.write( '	<tr>');
document.write( '           	<td  width="'+frw*100+'" bgcolor="#FFCC00">');
document.write( '			<img src="'+immMenu+'" width="'+frw*95+'" height="'+fre*20+'">');
document.write( '	</td>');
document.write( '	<td width="5%" bgcolor="#FFCC00">');
document.write( '	</td>');
document.write( '	<td width="100%" bgcolor="#FFCC00"><p class="titolo3">'+des+'</p>');
document.write( '	</td>');
document.write( '	</tr>');
document.write( '</table>');
}
function scriviPiePagina()
{
var ind=String(this.location);
var x=ind.substring(ind.lastIndexOf("?")+1,ind.length);
var tit=parent.nav.titMenu[x];
var immMenu="imm/"+parent.nav.Lang+"/"+parent.nav.Menu[x]+".gif";
document.write( '<table cellspacing="0" cellpadding="0" border="0" align="left" width="100%">');
document.write( '	<tr align="right" width="100%">');
document.write( '	<td width="100%" bgcolor="#FFCC00"><a href="mailto:webmaster@taberlet.it"><p class="testo3">webmaster</p></a>');
document.write( '	</td>');
document.write( '	</tr>');
document.write( '</table>');
}
//intestazioni, menu, ecc..-------------------------

//quadri--------------------------------------------
function generaElencoImm()
{
document.write( '<table cellspacing="0" cellpadding="0" border="0">');
 ///quadri recenti------------------------
document.write( '	<tr valign="top">');
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td width="'+fre*500+'" align="center"><p class="titolo">'+parent.nav.catQuadri[0]+'</p>');
document.write( '		</td>');
document.write( '	</tr>');
for(x=0;x<parent.nav.immtot;x++)
{
 if(parent.nav.imm[x][0]=="nuovo")
 {
document.write( '	<tr valign="top">');
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td width="'+fre*500+'" align="center">');
document.write('<a href="quadro.htm?'+x+'"><p class="titolo1"><img border="0" src="imm/butt/quadro.gif" height="'+15*frw+'" height="'+15*fre+'">'+parent.nav.titImm[x]+'<img border="0" src="imm/butt/quadroend.gif" height="'+15*frw+'" height="'+15*fre+'"></p></a>');
document.write( '		</td>');
document.write( '	</tr>');
document.write( '	<tr valign="top">');
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td>');
document.write( '		</td>');
document.write( '	</tr>');
}
}
 ///quadri vecchi------------------------
document.write( '	<tr valign="top">');
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00"><p>&nbsp;</p>');
document.write( '		</td>');
document.write( '		<td width="'+fre*500+'" align="center">');
document.write( '		</td>');
document.write( '	<tr valign="top">');
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td width="'+fre*500+'" align="center"><p class="titolo">'+parent.nav.catQuadri[1]+'</p>');
document.write( '		</td>');
document.write( '	</tr>');
for(x=0;x<parent.nav.immtot;x++)
{
 if(parent.nav.imm[x][0]=='vecchio')
 {
document.write( '	<tr valign="top">');
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td width="'+fre*500+'" align="center">');
document.write('<a href="quadro.htm?'+x+'"><p class="titolo1"><img border="0" src="imm/butt/quadro.gif" height="'+15*frw+'" height="'+15*fre+'">'+parent.nav.titImm[x]+'<img border="0" src="imm/butt/quadroend.gif" height="'+15*frw+'" height="'+15*fre+'"></p></a>');
document.write( '		</td>');
document.write( '	</tr>');
document.write( '	<tr valign="top">');
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td>');
document.write( '		</td>');
document.write( '	</tr>');
}
}
document.write( '</table>');
document.write( '<table cellspacing="0" cellpadding="0" border="0">' );
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00"><p>&nbsp; </p>');
document.write( '		</td>');
document.write( '	</tr>' );
document.write( '</table>' );
}


function apriImm(nome,x,y)
{
 var pag="imm.htm";
 var nomepag="imm";
 var finestra;
 finestra=window.close(pag,nomepag);
 finestra=window.open(pag,nomepag,'width='+x+',height='+y+',top=0,left=0,resizable=no,scrollbars=no,toolbar=no,location=no,status=no,dependent=yes');
 finestra.document.write('<html>');
 finestra.document.write('         <head>');
 finestra.document.write('                  <title>immagine</title>');
 finestra.document.write('         </head>');
 finestra.document.write('         <body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" bgcolor="#FFCC00">');
 finestra.document.write('               <img src="imm/paints/thumbs/'+nome+'.jpg" width='+x+' height="'+y+'" alt="">');
 finestra.document.write('          <\body>');
 finestra.document.write('<\html>');
}
function disegnaQuadro (titolo,des)
{
var ind=String(this.location);
var numI=ind.substring(ind.lastIndexOf("?")+1,ind.length);
document.write('<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%">');
document.write('       <tr>');
document.write( '	<td width="'+frw*5+'" bgcolor="#FFCC00">');
document.write( '	</td>');
document.write('              <td width="'+frw*20+'" bgcolor="#FFCC00" height="'+fre*20+'" width="'+frw*20+'">');
document.write('                   <a href="quadri.htm?1" onMouseOver="MM_swapImage(\'indietro\',\'\',\'imm/butt/prev1.gif\',1)" onMouseOut="MM_swapImgRestore()"><img name="indietro" border="0" src="imm/butt/prev0.gif" alt="indietro" width="'+frw*20+'" heigth="'+fre*20+'"></a><br>');
document.write('                  </td>');
document.write('              <td  bgcolor="#FFCC00"><p class="titolo1">'+parent.nav.titImm[numI]+'</p>');
document.write('                  </td>');
document.write('              <td bgcolor="#FFCC00">');
document.write('                  </td>');
document.write('        </tr>');
document.write('       <tr>');
document.write( '	<td width="'+frw*5+'" bgcolor="#FFCC00">');
document.write( '	</td>');
document.write('              <td>');
document.write('                  </td>');
document.write('              <td>');
document.write('                  <img border="0" src="imm/paints/thumbs/'+parent.nav.imm[numI][1]+'.jpg" width="'+(parent.nav.imm[numI][2])*frw+'" height="'+(parent.nav.imm[numI][3])*fre+'" alt="'+parent.nav.titImm[numI]+'">');
document.write('                  </td>');
document.write('              <td align="center"><p class="testoQuadri">'+parent.nav.desImm[numI]+'</p>');
if (parent.nav.imm[numI][4])
{
document.write('<a href="'+parent.nav.imm[numI][4]+'" target="_blank"><img name="e bay" border="0" src="imm/butt/ebLogo.gif" alt="e bay" width="'+frw*45+'" heigth="'+fre*20+'"></a>');
}
document.write('                  </td>');
document.write('       <tr>');
document.write( '	<td width="'+frw*5+'" bgcolor="#FFCC00">');
document.write( '	</td>');
document.write('              <td bgcolor="#FFCC00">');
document.write('                  </td>');
document.write('              <td bgcolor="#FFCC00">');
document.write('                  </td>');
document.write('                  <td bgcolor="#FFCC00" align="right"><a href="imm/paints/bigs/'+parent.nav.imm[numI][0]+'.zip" onClick="apriImm(\''+parent.nav.imm[numI][1]+'\','+(parent.nav.imm[numI][2])*frw*1.5+','+(parent.nav.imm[numI][3])*fre*1.5+')\" target="_blank"><p class="testo3">'+parent.nav.scarica+'</p></a>');
document.write('                  </td>');
document.write('        </tr>');
document.write('</table>');
}
//quadri--------------------------------------------

//casa---------------------------------------------
function casa()
{
document.write('<table cellspacing="0" cellpadding="0" border="0">');
document.write('    <tr>');
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00" align="left">');
document.write( '		</td>');
document.write( '		<td align="center">');
document.write( '<p>&nbsp;</p>');
//document.write( '<p class="titolo1">&nbsp;'+parent.nav.work+'</p>');
//document.write( '<p>&nbsp;</p>');
document.write('<img border="0" src="imm/foto/home.jpg" height="'+266*fre+'" width="'+400*frw+'" alt="">');
document.write( '		</td>');
document.write('  </tr>');
document.write('</table>');
}
//casa---------------------------------------------

//vita----------------------------------------------
function album()
{
var n=parent.nav.perTit.length;
var x=0;
for(x=0;x<n;x++)
{
var imma=parent.nav.pera[x];
var immb=parent.nav.perb[x];
var immc=parent.nav.perc[x];
document.write( '<table cellspacing="0" cellpadding="0" border="0">' );
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td height="'+10*fre+'">' );
document.write( '		</td>' );
document.write( '	</tr>' );
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td valign="top">' );
document.write( '			<p class="titolo3">'+parent.nav.perTit[x]+'</p>' );
document.write( '		</td>' );
document.write( '	</tr>' );
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td valign="top">' );
document.write( '			<p class="testo1">'+parent.nav.perDes[x]+'</p>' );
document.write( '		</td>' );
document.write( '	</tr>' );
document.write( '</table>' );
if(imma!="no")
                {
document.write( '<table cellspacing="0" cellpadding="0" border="0">' );
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td width="'+10*fre+'">' );
document.write( '		</td>' );
document.write( '		<td width="'+fre*35+'">' );
document.write( '			<a href="imm/foto/bigs/'+imma+'.jpg" target="blank"><img border="0" src="imm/foto/mini/'+imma+'.gif" height="'+frw*100+'" width="'+fre*100+'" alt=""></a>');
document.write( '		</td>' );
if(immb!="no")
                {
document.write( '		<td width="'+10*fre+'">' );
document.write( '		</td>' );
document.write( '		<td width="'+fre*35+'">' );
document.write( '			<a href="imm/foto/bigs/'+immb+'.jpg" target="blank"><img border="0" src="imm/foto/mini/'+immb+'.gif" height="'+frw*100+'" width="'+fre*100+'" alt=""></a>');
document.write( '		</td>' );
}
if(immc!="no")
                {
document.write( '		<td width="'+10*fre+'">' );
document.write( '		</td>' );
document.write( '		<td width="'+fre*35+'">' );
document.write( '			<a href="imm/foto/bigs/'+immc+'.jpg" target="blank"><img border="0" src="imm/foto/mini/'+immc+'.gif" height="'+frw*100+'" width="'+fre*100+'" alt=""></a>');
document.write( '		</td>' );

 }
 document.write( '	</tr>' );
 document.write( '</table>' );
 }
}
document.write( '<table cellspacing="0" cellpadding="0" border="0">' );
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00"><p>&nbsp; </p>');
document.write( '		</td>');
document.write( '	</tr>' );
document.write( '</table>' );
}
//vita----------------------------------------------

//premi,esposizioni----------------------------------
function generaElencoPremi()
{
var n=parent.nav.premi.length;
var x=0;
for(x=0;x<n;x++)
{
var imma=parent.nav.premia[x];
var immb=parent.nav.premib[x];
var immc=parent.nav.premic[x];
document.write( '<table cellspacing="0" cellpadding="0" border="0">' );
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td height="'+5*fre+'">' );
document.write( '		</td>' );
document.write( '	</tr>' );
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td valign="top">' );
document.write( '			<p class="testo2">'+parent.nav.premiData[x]+'</p>' );
document.write( '		</td>' );
document.write( '		<td width="'+fre*5+'">');
document.write( '		</td>');
document.write( '		<td valign="top">' );
document.write( '			<p class="titolo3">'+parent.nav.premi[x]+'</p>' );
document.write( '		</td>' );
document.write( '	</tr>' );
document.write( '</table>' );
if(imma!="no")
                {
document.write( '<table cellspacing="0" cellpadding="0" border="0">' );
document.write( '	<tr align="center">' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td width="'+fre*35+'">' );
                document.write( '			<a href="imm/prizes/bigs/'+imma+'.jpg" target="blank"><img border="0" src="imm/prizes/mini/'+imma+'.gif" height="'+frw*30+'" width="'+fre*30+'" alt=""></a>');
document.write( '		</td>' );
if(immb!="no")
                {
document.write( '		<td width="'+fre*35+'">' );
                document.write( '			<a href="imm/prizes/bigs/'+immb+'.jpg" target="blank"><img border="0" src="imm/prizes/mini/'+immb+'.gif" height="'+frw*30+'" width="'+fre*30+'" alt=""></a>');
document.write( '		</td>' );
}
if(immc!="no")
                {
document.write( '		<td width="'+fre*35+'">' );
                document.write( '			<a href="imm/prizes/bigs/'+immc+'.jpg" target="blank"><img border="0" src="imm/prizes/mini/'+immc+'.gif" height="'+frw*30+'" width="'+fre*30+'" alt=""></a>');
document.write( '		</td>' );

 }
document.write( '	</tr>' );
document.write( '</table>' );
 }
}
document.write( '<table cellspacing="0" cellpadding="0" border="0">' );
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00"><p>&nbsp; </p>');
document.write( '		</td>');
document.write( '	</tr>' );
document.write( '</table>' );
}

function generaElencoExpo()
{
var n=parent.nav.expo.length;
var x=0;
for(x=0;x<n;x++)
{
var imma=parent.nav.expoa[x];
var immb=parent.nav.expob[x];
document.write( '<table cellspacing="0" cellpadding="0" border="0">' );
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td height="'+5*fre+'">' );
document.write( '		</td>' );
document.write( '	</tr>' );
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td valign="top">' );
document.write( '			<p class="testo2">'+parent.nav.expoData[x]+'</p>' );
document.write( '		</td>' );
document.write( '		<td width="'+fre*10+'">');
document.write( '		</td>');
document.write( '		<td valign="top">' );
document.write( '			<p class="titolo3">'+parent.nav.expo[x]+'</p>' );
document.write( '		</td>' );
document.write( '</tr>' );
document.write( '</table>' );
                if(imma!="no")
                {
document.write( '<table cellspacing="0" cellpadding="0" border="0">' );
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td width="'+fre*35+'">' );
               document.write( '			<a href="imm/expo/bigs/'+imma+'.jpg" target="blank"><img border="0" src="imm/expo/mini/'+imma+'.gif" height="'+frw*30+'" width="'+fre*30+'" alt=""></a>');
document.write( '		</td>' );
                if(immb!="no")
                {
document.write( '		<td width="'+fre*35+'">' );
                document.write( '			<a href="imm/expo/bigs/'+immb+'.jpg" target="blank"><img border="0" src="imm/expo/mini/'+immb+'.gif" height="'+frw*30+'" width="'+fre*30+'" alt=""></a>');
document.write( '		</td>' );
             }
document.write( '</tr>' );
document.write( '</table>' );
 }
}
document.write( '<table cellspacing="0" cellpadding="0" border="0">' );
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00"><p>&nbsp; </p>');
document.write( '		</td>');
document.write( '	</tr>' );
document.write( '</table>' );
}
//premi,esposizioni----------------------------------

//critiche--------------------------------------------
function generaElencoCri()
{
var n=parent.nav.cri.length;
var x=0;
for(x=0;x<n;x++)
{
document.write( '<table cellspacing="0" cellpadding="0" border="0">');
document.write( '	<tr valign="top">');
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td>');
document.write('<a href="critica.htm?'+x+'"><p class="titolo1">'+parent.nav.cri[x]+'</p></a>');
document.write( '		</td>');
document.write( '	</tr>');
document.write( '</table>');
}
}
function scriviCri()
{
var ind=String(this.location);
var nc=ind.substring(ind.lastIndexOf("?")+1,ind.length);
document.write( '<table cellspacing="0" cellpadding="0" border="0" width="100%">');
document.write( '		<tr>');
document.write( '	<td width="'+frw*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write('                  </tr>');
document.write( '</table>');
document.write( '<table cellspacing="0" cellpadding="0" border="0" width="100%">');
document.write( '		<tr>');
document.write( '	<td width="'+frw*5+'" bgcolor="#FFCC00">');
document.write( '	</td>');
document.write('              <td>');
document.write('                   <a href="critiche.htm?5" onMouseOver="MM_swapImage(\'indietro1\',\'\',\'imm/butt/prev1.gif\',1)" onMouseOut="MM_swapImgRestore()"><img name="indietro1" border="0" src="imm/butt/prev0.gif" alt="indietro" width="'+frw*20+'" heigth="'+fre*20+'"></a><br>');
document.write( '		</td>');
document.write( '		<td bgcolor="#FFCC00">');
document.write('<p class="titolo2">'+parent.nav.cri[nc]+'</p>');
document.write( '		</td>');
document.write( '	</tr>');
document.write( '	<tr valign="top">');
document.write( '	<td width="'+frw*5+'" bgcolor="#FFCC00">');
document.write( '	</td>');
document.write( '		<td>');
document.write( '	</td>');
document.write( '		<td>');
document.write( '			<p class="testo2">'+parent.nav.desCri[nc]+'</p>');
document.write( '		</td>');
document.write( '	</tr>');
document.write( '		<tr>');
document.write( '	<td height="'+fre*5+'" width="'+frw*5+'" bgcolor="#FFCC00">');
document.write( '	</td>');
document.write('              <td>');
document.write( '		</td>');
document.write('              <td>');
document.write( '		</td>');
document.write('                  </tr>');
document.write( '		<tr>');
document.write( '	<td height="'+fre*5+'" width="'+frw*5+'" bgcolor="#FFCC00">');
document.write( '	</td>');
document.write('              <td bgcolor="#FFCC00">');
document.write( '		</td>');
document.write('              <td bgcolor="#FFCC00">');
document.write( '		</td>');
document.write('                  </tr>');
document.write( '</table>');

}

//critiche-----------------------------------

//al lavoro----------------------------------
function alLavoro()
{
document.write( '<table cellspacing="0" cellpadding="0" border="0">');
document.write( '	<tr valign="top">');
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00"><p>&nbsp;</p>');
document.write( '		</td>');
document.write( '	</tr>');
document.write( '	<tr valign="top">');
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00"><p>&nbsp;</p>');
document.write( '		</td>');
document.write( '	</tr>');
document.write( '</table>');
}
//al lavoro---------------------------------------------------

//link---------------------------------------------------------
function generaElencoLink()
{
var n=parent.nav.lk.length;
var x=0;
for(x=0;x<n;x++)
{
var imm=parent.nav.lki[x];
document.write( '<table cellspacing="0" cellpadding="0" border="0">' );
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td valign="top">' );
document.write( '			<a href="'+parent.nav.lkl[x]+'" target="blank"><p class="titolo2">'+parent.nav.lk[x]+'</p>' );
document.write( '		</td>' );
document.write( '		<td valign="top">' );
document.write( '		</td>' );
document.write( '	</tr>' );

                if(imm!="no")
                {
document.write( '	<tr>' );
document.write( '		<td width="'+fre*5+'" bgcolor="#FFCC00">');
document.write( '		</td>');
document.write( '		<td>' );
document.write( '	<a href="'+parent.nav.lkl[x]+'" target="blank"> <img border="0" src="imm/lk/'+imm+'.jpg" alt=""></a>');
               }
document.write( '		</td>' );
document.write( '		<td valign="center">' );
document.write( '			<p class="testo2">'+parent.nav.lkd[x]+'</p>' );
document.write( '		</td>' );
document.write( '</tr>' );
document.write( '</table>' );
}
}
//link------------------------------------------------
