function wrTop(){
document.write('<center>');
document.write('<a name="top"></a>');
document.write('<table width=780 bgcolor="#ffffff" border=0 cellpadding=0 cellspacing=0>');
document.write('<tr>');
	document.write('<td id="mela" bgcolor="#ff9900" width=150 height=90 align="center"><a href="../home.asp"><img src="../images/bi_mela.jpg" width=146 height=86 border=0 hspace=0 vspace=0 onmouseover="changeBGcolor(\'mela\', \'#DA3000\')" onmouseout="changeBGcolor(\'mela\', \'#ff9900\')"></a></td>');
	document.write('<td onclick="nascondi_tit();" bgcolor="#ff9900" width=630 height=90 align="left"><img src="../images/bi_nome.gif" width=630 height=90 border=0 hspace=0 vspace=0></td>');
document.write('</tr>');
document.write('<tr><td onclick="nascondi_tit();" colspan=2 bgcolor="#ff9900"><img src="../images/vuoto.gif" width=780 height=4></td></tr>');
document.write('<tr><td onclick="nascondi_tit();" colspan=2 bgcolor="#ffffcc"><img src="../images/vuoto.gif" width=780 height=6></td></tr>');
document.write('<tr><td onclick="nascondi_tit();" colspan=2 bgcolor="#ff9900"><img src="../images/vuoto.gif" width=780 height=4></td></tr>');
document.write('<tr><td colspan=2>');
}

function wrBottom(){
document.write('</td></tr>');
document.write('</table></center>');
}

function scarica(fileid,size){
document.write('<p><a href="' + fileid + '" target="ghgh">');
document.write('<span style="width:100%; font-size: 10pt; color: #ff0000;"><img src="../images/scarica.gif" valign=absmiddle width=20 height=20>');
document.write('scarica ' + fileid + '(' + size + ')</span></a>');
}

function mostra_tit(menuid){
 if (menuid == 0 ) return;
 iiw = 0
 if (typeof(window.innerWidth) == 'number') {iiw = window.innerWidth;}
 else if (typeof(window.document.body.clientWidth) == 'number') {iiw = window.document.body.clientWidth;}
 nascondi_tit();
 mostra('tit' + menuid);
 p = document.getElementById('tit' + menuid);
 if (iiw > 760 ) {p.style.left = 145 + (iiw - 760)/2}
 else	{p.style.left = 145}
// menuid.style.visibility = 'visible';
}
function nascondi_tit(){
 nascondi('tit1');
 nascondi('tit2');
 nascondi('tit3');
 nascondi('tit4');
 nascondi('tit5');
 nascondi('tit6');
 nascondi('tit7');
}