
function high(which2){
  theobject=which2
  highlighting=setInterval("highlightit(theobject)",50)
}

function low(which2){
  clearInterval(highlighting)
  which2.filters.alpha.opacity=60
}

function highlightit(cur2){
  if (cur2.filters.alpha.opacity<100)
    cur2.filters.alpha.opacity+=5
  else if (window.highlighting)
    clearInterval(highlighting)
}

var winOpened;

function apriFinestra_or(page)
{
   winOpened=window.open(page,"","height=390,width=578,scrollbars=yes,toolbar=yes");
}

function apriFinestra_ver(page)
{
   winOpened=window.open(page,"","height=586,width=397,scrollbars=yes,toolbar=yes");
}

function apriFinestra_locor(page)
{
   winOpened=window.open(page,"","height=395,width=810,scrollbars=yes,toolbar=yes");
}

function apriFinestra_locqua(page)
{
   winOpened=window.open(page,"","height=400,width=400,scrollbars=yes,toolbar=yes");
}

function HeadPart(){
	
  document.write('<title>Associazione Culturale Pavia Fotografia</title>');
  document.write('<META NAME="KEYWORDS" CONTENT="pavia, fotografia, foto, associazione culturale, PAVIA, FOTOGRAFIA, FOTO, fotografie, FOTOGRAFIE, fotografica, FOTOGRAFICA, ASSOCIAZIONE CULTURALE, corsi, CORSI">');
  document.write('<META NAME="author" CONTENT="Associazione Culturale Pavia Fotografia">');
  document.write('<META NAME="copyright" content="Copyright 2005 by Associazione Culturale Pavia Fotografia - Realizzazione di Pavia Fotografia">');
  document.write('<link rel="STYLESHEET" type="text/css" href="css/stili.css">');
}

function setLevel(h_link, level){

  if (level == 0)
    return h_link;

  v_link = '';
      
  for (i=0; i<level; i++)
    v_link = v_link + '../';

  v_link = v_link + h_link;
    
  return v_link;
}

function Intestazione(lvl){
	
  document.write('<table cellpadding="0" cellspacing="0" border="0" width="100%" bgcolor="#aa0000">');
  document.write('<tr>');
  document.write('<td height="1" bgcolor="#666666" colspan="3"></td>');
  document.write('</tr>');
  document.write('<tr height="168">');
						
  document.write('<td width="21%" height="168">');
  document.write('<table cellpadding="0" cellspacing="0" border="0" width="217">');
  document.write('<tr>');
  document.write('<td width="11" height="168"></td>');
  document.write('<td width="206" height="168"><img src="' + setLevel('loghi/pavia_fotografia_logo.gif', lvl)+ '" width="188" height="150" alt="" border="0"></td>');
  document.write('</tr>');
  document.write('</table>');
  document.write('</td>');
  document.write('<td width="60%" bgcolor="#aa0000" height="168">');
  document.write('<div align="center">');
  document.write('<font class="testoNeroRegular" color="white" size="5"><b><i>Laboratorio sperimentale di fotografia</i></b></font>');
  document.write('<p><font color="white" size="4"><b><i>- L\'officina dell\'immagine -</i></b></font></p>');
  document.write('</div>');
  document.write('</td>');
  document.write('<td height="168">');
  document.write('<div align="center">');
  document.write('<img src="' + setLevel('loghi/negativo.gif', lvl) + '" width="166" height="150" alt="" border="0"></div>');
  document.write('</td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td height="1" bgcolor="#666666" colspan="3"></td>');
  document.write('</tr>');
  document.write('</table>');
}

function TabellaSX(lvl){
	
  document.write('<table cellpadding="0" cellspacing="0" border="0" width="144">');
  document.write('<tr height="256">');
  document.write('<td width="10" rowspan="5"> </td>');
  document.write('<td width="123" height="256" valign="top"><img src="' + setLevel('loghi/barra.gif', lvl) + '" width="123" height="2" alt="" border="0">');
  document.write('<a href="' + setLevel('associazione.html', lvl) + '"><img src="' + setLevel('loghi/associazione.gif', lvl) + '" width="123" height="22" alt="" border="0" style="filter:alpha(opacity=60)" onMouseover="high(this)" onMouseout="low(this)"></a><img src="' + setLevel('loghi/barra.gif', lvl) + '" width="123" height="2" alt="" border="0">');
  document.write('<a href="' + setLevel('storia.html', lvl) + '"><img src="' + setLevel('loghi/storia.gif', lvl) + '" width="123" height="22" alt="" border="0"style="filter:alpha(opacity=60)" onMouseover="high(this)" onMouseout="low(this)"></a><img src="' + setLevel('loghi/barra.gif', lvl) + '" width="123" height="2" alt="" border="0">');
  document.write('<a href="' + setLevel('attivita.html', lvl) + '"><img src="' + setLevel('loghi/attivita.gif', lvl) + '" width="123" height="22" alt="" border="0"style="filter:alpha(opacity=60)" onMouseover="high(this)" onMouseout="low(this)"></a><img src="' + setLevel('loghi/barra.gif', lvl) + '" width="123" height="2" alt="" border="0">');
  document.write('<a href="' + setLevel('accrediti.html', lvl) + '"><img src="' + setLevel('loghi/accrediti.gif', lvl) + '" width="123" height="22" alt="" border="0"style="filter:alpha(opacity=60)" onMouseover="high(this)" onMouseout="low(this)"></a><img src="' + setLevel('loghi/barra.gif', lvl) + '" width="123" height="2" alt="" border="0">');
  document.write('<a href="' + setLevel('portfolio.html', lvl) + '"><img src="' + setLevel('loghi/portfolio.gif', lvl) + '" width="123" height="22" alt="" border="0"style="filter:alpha(opacity=60)" onMouseover="high(this)" onMouseout="low(this)"></a><img src="' + setLevel('loghi/barra.gif', lvl) + '" width="123" height="2" alt="" border="0">');
  document.write('<a href="' + setLevel('corsi.html', lvl) + '"><img src="' + setLevel('loghi/corsi.gif', lvl) + '" width="123" height="22" alt="" border="0"style="filter:alpha(opacity=60)" onMouseover="high(this)" onMouseout="low(this)"></a><img src="' + setLevel('loghi/barra.gif', lvl) + '" width="123" height="2" alt="" border="0">');
  document.write('<a href="' + setLevel('socio.html', lvl) + '"><img src="' + setLevel('loghi/diventare_socio.gif', lvl) + '" width="123" height="22" alt="" border="0"style="filter:alpha(opacity=60)" onMouseover="high(this)" onMouseout="low(this)"></a><img src="' + setLevel('loghi/barra.gif', lvl) + '" width="123" height="2" alt="" border="0">');
  document.write('<a href="' + setLevel('link.html', lvl) + '"><img src="' + setLevel('loghi/link_utili.gif', lvl) + '" width="123" height="22" alt="" border="0"style="filter:alpha(opacity=60)" onMouseover="high(this)" onMouseout="low(this)"></a><img src="' + setLevel('loghi/barra.gif', lvl) + '" width="123" height="2" alt="" border="0">');
  document.write('<a href="' + setLevel('contatti.html', lvl) + '"><img src="' + setLevel('loghi/contattaci.gif', lvl) + '" width="123" height="22" alt="" border="0" style="filter:alpha(opacity=60)" onMouseover="high(this)" onMouseout="low(this)" align="bottom"></a>');
  document.write('</td>');
  document.write('<td height="256"> </td>');
  document.write('<td width="10" rowspan="5"></td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td><img src="' + setLevel('loghi/mailing_list.gif', lvl) + '" width="86" height="15" alt="" border="0"></td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td height="8"></td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td class="testoNeroRegular"><font size="2">Se vuoi rimanere sempre aggiornato sulle ultime novita\' della nostra Associazione richiedi l\'iscrizione gratuita alla nostra mailing list cliccando</font> <a href="mailto:info@paviafotografia.it?subject=Richiesta di iscrizione alla mailing list di Pavia Fotografia">QUI</a></td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td height="20"></td>');
  document.write('</tr>');
  document.write('</table>');
}

function TabellaRiquadro(lvl){
	
  document.write('<table cellpadding="0" cellspacing="0" border="0" width="100%">');
  document.write('<tr>');
  document.write('<td height="5"></td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td height="1" bgcolor="#666666"></td>');
  document.write('</tr>');
  document.write('</table>');
}

function TabellaViSegnaliamo(lvl){
	
  document.write('<table cellpadding="0" cellspacing="0" border="0" width="196">');
  document.write('<tr>');
  document.write('<td width="1" background="' + setLevel('loghi/verticale.gif', lvl) + '" rowspan="5"></td>');
  document.write('<td width="193" background="' + setLevel('loghi/orizzontale.gif', lvl) + '"></td>');
  document.write('<td width="2" background="' + setLevel('loghi/tratteggiato.gif', lvl) + '" rowspan="5"></td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td width="193" height="22"><img src="' + setLevel('loghi/segnaliamo.gif', lvl) + '" width="193" height="22" alt="" border="0"></td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td height="5"></td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td height="5"></td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td>');
  document.write('<table cellpadding="0" cellspacing="0" border="0" width="193">');
  document.write('<tr>');
  document.write('<td width="6"></td>');
  document.write('<td valign="top"> <img src="' + setLevel('immagini_sito/segnaliamo.jpg', lvl) + '" width="62" height="47"></td>');
  document.write('<td width="6"></td>');
  document.write('<td width="112" valign="top">');
  document.write('<table cellpadding="0" cellspacing="0" border="0" width="112">');
  document.write('<tr>');
  document.write('<td class="TitoloGrigio11px">&quot;Gita al Carnevale di Venezia&quot;, 19 febbraio 2012<br>');
  document.write('<p><a href="immagini_sito/programma_venezia.jpg" target="_blank"><font size="2">-vedi il programma-</font></a></p>');
  document.write('<p></p>');
  document.write('</td>');
  document.write('</tr>');
																	
  document.write('</table>');
  document.write('</td>');
  document.write('<td width="18"></td>');
  document.write('</tr>');
  document.write('</table>'); 

  document.write('<table cellpadding="0" cellspacing="0" border="0" width="193">');
  document.write('<tr>');
  document.write('<td width="6"></td>');
  document.write('<td valign="top"> <img src="' + setLevel('immagini_sito/segnaliamo2.jpg', lvl) + '" width="50" height="62"></td>');
  document.write('<td width="6"></td>');
  document.write('<td width="112" valign="top">');
  document.write('<table cellpadding="0" cellspacing="0" border="0" width="112">');
  document.write('<tr>');
  document.write('<td class="TitoloGrigio11px">&quot;Gita al Carnevale di Mentone&quot;, 4 marzo 2012<br>');
  document.write('<p><a href="immagini_sito/programma_mentone.jpg" target="_blank"><font size="2">-vedi il programma-</font></a></p>');
  document.write('</td>');
  document.write('</tr>');
																	
  document.write('</table>');
  document.write('</td>');
  document.write('<td width="18"></td>');
  document.write('</tr>');
  document.write('</table>');
  document.write('</td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td height="5"></td>');
  document.write('<td><br>');
  document.write('</td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('<td height="5"></td>');
  document.write('<td>');
  document.write('<div align="center">');
  document.write('<a href="' + setLevel('altre.html', lvl) + '"><font size="2">ALTRE SEGNALAZIONI</font></a></div>');
  document.write('</td>');
  document.write('</tr>');							
  document.write('</table>');
}

function TabellaFinale(){
	
  document.write('<table cellpadding="0" cellspacing="0" border="0" width="100%" bgcolor="#aa0000">');
  document.write('<tr>');
  document.write('<td width="15%" height="18"></td>');
  document.write('<td>');
  document.write('<table cellpadding="0" cellspacing="0" border="0" width="368">');
  document.write('<tr>');
  document.write('<td width="368"><a  ><font color="white" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular" size="1">Copyright @ 2005 by Pavia Fotografia</font> </a></td>');
  document.write('</tr>');
  document.write('</table>');
  document.write('</td>');				
  document.write('</tr>');
  document.write('</table>');
}

