				

function wrTop(sez,subSez){	
	var strTop = '';
	

	
	
	strTop += '<table width="670" border="0" cellspacing="0" cellpadding="0" align="center">';
	

	
	
	
	
	strTop += '<tr> ';
	strTop += '<td><a href="../index.html"><img src="../img/logo_top.gif" alt="" width="340" height="66" border="0"></a></td>';
	strTop += '<td><a href="../sport/index.htm" onmouseover="javascript:showUp(\'m1\',\'m1_on.gif\');" onmouseout="javascript:showUp(\'m1\',\'m1_off.gif\');"><img src="../img/m1_off.gif" alt="" name="m1" id="m1" width="63" height="66" border="0"></a></td>';
	strTop += '<td><a href="../club/index.htm" onmouseover="javascript:showUp(\'m2\',\'m2_on.gif\');" onmouseout="javascript:showUp(\'m2\',\'m2_off.gif\');"><img src="../img/m2_off.gif" alt="" name="m2" id="m2" width="67" height="66" border="0"></a></td>';
	strTop += '<td><a href="../benessere/index.htm" onmouseover="javascript:showUp(\'m3\',\'m3_on.gif\');" onmouseout="javascript:showUp(\'m3\',\'m3_off.gif\');"><img src="../img/m3_off.gif" alt="" name="m3" id="m3" width="66" height="66" border="0"></a></td>';
	strTop += '<td><a href="../meetingincentive/index.htm" onmouseover="javascript:showUp(\'m4\',\'m4_on.gif\');" onmouseout="javascript:showUp(\'m4\',\'m4_off.gif\');"><img src="../img/m4_off.gif" alt="" name="m4" id="m4" width="66" height="66" border="0"></a></td>';
	strTop += '<td><a href="../bridge/index.htm" onmouseover="javascript:showUp(\'m5\',\'m5_on.gif\');" onmouseout="javascript:showUp(\'m5\',\'m5_off.gif\');"><img src="../img/m5_off.gif" alt="" name="m5" id="m5" width="68" height="66" border="0"></a></td>';
	strTop += '</tr>';
	strTop += '<tr><td></td><td colspan="5"><img src="../img/m_'+sez+'_line.gif" width="330" height="3" alt="" border="0" vspace="3"></td></tr>';
	
	
	if (subSez=="nuoto" || subSez=="acquafitness" || subSez=="sub"  || subSez=="gestanti" ){	
				strTop += '<tr><td></td><td colspan="5" align="right"><img src="../img/pix.gif" width="10" height="3" alt="" border="0"><br>';
	if (subSez!="nuoto") 		strTop += '<a href="nuoto.htm" class="linkT">Corsi di nuoto</a> ';
	if (subSez!="acquafitness")		strTop += '  <a href="acquafitness.htm" class="linkT">Acquafitness</a>  ';
	
		}	
		
	if (subSez=="centro estetico" || subSez=="centro medico" || subSez=="sauna e bagno turco" || subSez=="sala relax" ){	
				strTop += '<tr><td></td><td colspan="5" align="right"><img src="../img/pix.gif" width="10" height="3" alt="" border="0"><br>';
	if (subSez!="centro estetico") 		strTop += ' <img src="../img/dot.gif" width="9" height="9" alt="" border="0" align="absmiddle"> <a href="centro_estetico.htm" class="linkT">centro estetico</a> ';
	if (subSez!="centro medico") 		strTop += ' <img src="../img/dot.gif" width="9" height="9" alt="" border="0" align="absmiddle"> <a href="centro_medico.htm" class="linkT">centro medico</a> ';
	if (subSez!="sauna e bagno turco")	strTop += ' <img src="../img/dot.gif" width="9" height="9" alt="" border="0" align="absmiddle"> <a href="sauna_bagno.htm" class="linkT">sauna e bagno turco</a>  ';
	if (subSez!="sala relax")   		strTop += '<img src="../img/dot.gif" width="9" height="9" alt="" border="0" align="absmiddle"> <a href="sala_relax.htm" class="linkT">sala relax </a> ';
		}		
	strTop += '</table><br>';
	
	document.write(strTop);
 }

function wrBot(){	
	var strBot	 = ''; 
	
	 strBot += '<table WIDTH=668 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center">';
	 strBot += '<tr><td colspan="7"><img src="../img/bot_line.gif" alt="" width="668" height="8" vspace="6" border="0"></td></tr>';
	 strBot += '<tr> ';
	 strBot += '	<td><a href="../storia/index.htm" onmouseover="javascript:showUp(\'b1\',\'b1_on.gif\');" onmouseout="javascript:showUp(\'b1\',\'b1_off.gif\');"><img src="../img/b1_off.gif" alt="" name="b1" id="b1" width="72" height="27" border="0"></a></td>';
	 strBot += '	<td><a href="../partner/index.htm" onmouseover="javascript:showUp(\'b2\',\'b2_on.gif\');" onmouseout="javascript:showUp(\'b2\',\'b2_off.gif\');"><img src="../img/b2_off.gif" alt="" name="b2" id="b2" width="69" height="27" border="0"></a></td>';
	 strBot += '	<td><a href="../dove/index.htm" onmouseover="javascript:showUp(\'b3\',\'b3_on.gif\');" onmouseout="javascript:showUp(\'b3\',\'b3_off.gif\');"><img src="../img/b3_off.gif" alt="" name="b3" id="b3" width="99" height="27" border="0"></a></td>';
	 strBot += '	<td><a href="../contact/index.htm" onmouseover="javascript:showUp(\'b4\',\'b4_on.gif\');" onmouseout="javascript:showUp(\'b4\',\'b4_off.gif\');"><img src="../img/b4_off.gif" alt="" name="b4" id="b4" width="83" height="27" border="0"></a></td>';
	 strBot += '	<td><a href="../promozioni/index.htm" onmouseover="javascript:showUp(\'b5\',\'b5_on.gif\');" onmouseout="javascript:showUp(\'b5\',\'b5_off.gif\');"><img src="../img/b5_off.gif" alt="" name="b5" id="b5" width="141" height="27" border="0"></a></td>';
	 strBot += '	<td><a href="../famiglia/index.htm" onmouseover="javascript:showUp(\'b6\',\'b6_on.gif\');" onmouseout="javascript:showUp(\'b6\',\'b6_off.gif\');"><img src="../img/b6_off.gif" alt="" name="b6" id="b6" width="108" height="27" border="0"></a></td>';
	 strBot += '	<td><a href="../soci/index.htm" onmouseover="javascript:showUp(\'b7\',\'b7_on.gif\');" onmouseout="javascript:showUp(\'b7\',\'b7_off.gif\');"><img src="../img/b7_off.gif" alt="" name="b7" id="b7" width="96" height="27" border="0"></a></td>';
	 strBot += '	</tr>';
	 strBot += '	</table>';	 
	 strBot += '<script language="JavaScript">function MM_openBrWindow(theURL,winName,features) {window.open(theURL,winName,features)}</script>';
	 strBot += '<br><table width="668" border="0" align="center" cellpadding="0" cellspacing="0"><tr><td width="3%" align="left" valign="top"><a href="http://www.mediaengine.it" target="_blank"><img src="../img/bot_cr0.gif" width="19" height="13" border="0"></a></td> <td width="35%" align="right" valign="top"><img src="../img/bot_cr.gif" width="256" height="13" alt="" border="0" vspace="0" ></td><td width="62%" align="right" valign="top">';
	 strBot += '<a href="../soci/index.htm"><img src="../img/bot_news.gif" alt="" width="158" height="13" vspace="0" border="0" onClick="MM_openBrWindow(\'http://www.mediaengine.it/canottieriolona/newsletter.php\',\'newsletter\',\'width=361,height=300\')"></a></td></tr></table>';
	
	
	
	
	
	
	document.write(strBot);
 }


