function gwheadpage(titpage,subtitpage,titsect,level){

 // F.R.Crespi 2003

 titsect = titsect.toUpperCase()
 if (titsect == '0') {titsect = 'www.gialloweb.net'}
 if (titsect == 'B') {titsect = 'www.gialloweb.net .:. Bibliografie'}
 if (titsect == 'C') {titsect = 'www.gialloweb.net .:. Curiosita`'}
 if (titsect == 'F') {titsect = 'www.gialloweb.net .:. Filmografie'}
 if (titsect == 'I') {titsect = 'www.gialloweb.net .:. Interviste'}
 if (titsect == 'N') {titsect = 'www.gialloweb.net .:. Notizie'}
 if (titsect == 'R') {titsect = 'www.gialloweb.net .:. Recensioni'}
 dirimg = '../img/'
 
 var text   = '';
 text += '<a NAME="SU"></a>\n'
 text += '<center>\n\n'
 text += '<table width="100%" border="0" cellspacing="2">\n'
 text += '  <tr>\n'
 text += '      <td class="left" ID=t21>'+titpage+'</td>\n'
 text += '      <td class="right"><img SRC="'+dirimg+'gialloweb.gif" BORDER=0></td></tr>\n'
 text += '  <tr><td BGCOLOR="#0000B0" COLSPAN=2><img SRC="'+dirimg+'bg02.jpg" BORDER="0"></td></tr>\n'
 text += '  <tr>\n'
 text += '      <td class="left" style="vertical-align:top" ID=n0>'+subtitpage+'</td>\n'
 text += '      <td class="right" style="vertical-align:top" ID=n0>'+titsect+'</td></tr>\n'
 text += '</table>\n\n'
 text += '<br>'

 document.write(text);
}

function gwimg(thimg,bigimg,pos,level){

 // F.R.Crespi 2003

 pos = pos.toUpperCase()
 if (level == 0) {dirimg = 'img/'}
 else            {dirimg = '../img/'}
 if (pos == 'R') {pos = 'right'}
 if (pos == 'L') {pos = 'left'}
 if (pos == 'C') {pos = 'center'}

 var text   = '';
 if (bigimg.toUpperCase() != 'N') {text += '<a HREF="javascript:gwdynpage(\''+dirimg+bigimg+'\');">'}
 if (thimg.charAt(0) != '#')  {text += '<img src="'+dirimg+thimg+'" border=0 align='+pos+' hspace=5 vspace=2 alt="[Clickare per ingrandire]">'}
 else                         {text += thimg.substring(1,thimg.length)}
 if (bigimg.toUpperCase() != 'N') {text += '</a>'}

 document.write(text);
}

function gwdynpage(pimg){
 var nil  = '&nbsp;'
 var text = ''
 text += '<html>\n<head>\n  <title> [gialloWeb] Pagina dinamica </title>\n'
 text += '  <style TYPE="text/css">\n'
 text += '  BODY,TD {COLOR: #000080; FONT-FAMILY: "Tahoma", "Trebuchet", "Lucida Sans Unicode", "Verdana", "Helvetica"; FONT-SIZE: 10pt}\n'
 text += '  A       {COLOR: #000080; TEXT-DECORATION: none; FONT-WEIGHT: bold; FONT-SIZE: 8pt}\n'
 text += '  A:link {COLOR: #000080} A:active {COLOR: #000080} A:visited  {COLOR: #000080} A:hover {COLOR: #FFFFB0; BACKGROUND: #000080}\n'
 text += '  #t1    {COLOR: #000080; FONT-SIZE: 10pt; FONT-WEIGHT: bold; TEXT-ALIGN: right}\n'
 text += '  #t2    {COLOR: #FF0000; FONT-WEIGHT: bold}\n'
 text += '  #t21   {COLOR: #FF0000; FONT-SIZE: 12pt; FONT-WEIGHT: bold}\n'
 text += '  </style>\n</head>\n'
 text += '<body text="#000080" bgcolor="#FFFFB0">\n<center>\n'
 text += '<table WIDTH="100%" BORDER=0>\n'

 text += '  <tr><td WIDTH="20">&nbsp;</td>\n'
 text += '      <td ALIGN="left"  VALIGN="bottom" ID=t21>'+nil+'</td>\n'
 text += '      <td ALIGN="right" VALIGN="bottom"><img SRC="../img/gialloweb.gif" BORDER=0></td></tr>\n'
 text += '  <tr><td BGCOLOR="#0000B0" COLSPAN=3><img SRC="../img/bg02.jpg" BORDER="0"></td></tr>\n'
 text += '  <tr><td WIDTH="20">&nbsp;</td>\n'
 text += '      <td ALIGN="left"  VALIGN="top" ID=t21>'+nil+'</td>\n'
 text += '      <td ALIGN="right" VALIGN="top" ID=t1>Le immagini</td></tr>\n'
 text += '</table>\n\n'

/*
 text += '  <tr>\n'
 text += '    <td ALIGN="left" ID=t21><img SRC="../img/gialloweb.gif" BORDER=0></td>\n'
 text += '    <td ALIGN="right"><table BORDER=0><tr><td ALIGN=center><b ID=t2>gialloWeb</b><br><b>Le immagini</b></td></tr></table></td>\n'
 text += '  </tr>\n'
 text += '  <tr>\n'
 text += '    <td COLSPAN=2 BGCOLOR="#0000B0"><img SRC="../img/bg02.jpg" BORDER=0></td>\n'
 text += '  </tr>\n'
 text += '</table>\n'
*/
 text += '<br><br>\n'
 text += '<img SRC="' + pimg + '" NOSAVE BORDER=0><br>\n'
 text += '<br><br>\n'
 text += '<table BORDER="0" cellspacing=0 WIDTH="100%">\n'
 text += '<tr><td BGCOLOR="#0000B0"><img SRC="../img/bg02.jpg" BORDER=0></td></tr>\n'
 text += '<tr><td align="center">[ <a HREF="javascript:self.close()" ID="n0">Chiudi</a> ]</td></tr>\n'
 text += '</table>\n'
 text += '</center>\n</body>\n</html>'

 var temp = window.open()
 temp.document.clear()
 temp.document.write(text)
 temp.document.close() 
}

