document.write("<table width=\"780\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("<tr><td colspan=\"8\"><table width=\"780\" height=\"82\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.write("<tr>");
document.write("<td height=\"7\" colspan=\"5\"><img src=\"template/images/filettoHeader.jpg\" width=\"780\" height=\"7\" /></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width=\"17\" height=\"39\" rowspan=\"2\" valign=\"top\"><img src=\"template/images/spazioHome.jpg\" width=\"17\" height=\"39\" /></td>");
//BOTTONE HOME
document.write("<td width=\"55\" height=\"39\" rowspan=\"2\" valign=\"top\"><a href=\""+urlHome+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'home\',\'\',\'template/images/nav/b_home_f1IT.jpg\',1)\"><img src=\"template/images/nav/b_homeIT.jpg\" title=\"Torna alla home\" name=\"home\" width=\"55\" height=\"39\" border=\"0\" id=\"home\" /></a></td>");
//
document.write("<td width=\"636\" height=\"18\" valign=\"top\"><img src=\"template/images/sopraLogo.jpg\" width=\"636\" height=\"18\" /></td>");
//BOTTONE LINKS
document.write("<td width=\"55\" height=\"39\" rowspan=\"2\" valign=\"top\">");
if(thisPage=="Links"){
document.write("<img src=\"template/images/nav/b_links_f1IT.jpg\" name=\"links\" width=\"55\" height=\"39\" border=\"0\" id=\"links\" />");
}else{
document.write("<a href=\""+urlLinks+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'links\',\'\',\'template/images/nav/b_links_f1IT.jpg\',1)\"><img src=\"template/images/nav/b_linksIT.jpg\" title=\"Links\" name=\"links\" width=\"55\" height=\"39\" border=\"0\" id=\"links\" /></a></td>");
}
//
document.write("<td width=\"17\" height=\"39\" rowspan=\"2\" valign=\"top\"><img src=\"template/images/spazioLinik.jpg\" width=\"17\" height=\"39\" /></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width=\"636\" height=\"21\" valign=\"top\"><img src=\"template/images/centro1Logo.jpg\" width=\"636\" height=\"21\" /></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td height=\"36\" colspan=\"5\" valign=\"top\"><img src=\"template/images/centro2Logo.jpg\" width=\"780\" height=\"36\" /></td>");
document.write("</tr>");
document.write("</table>");
document.write("</td></tr>");
//fine prima riga, FINE PRIMA TABELLA NIDIFICATA CON I DUE BOTTONI HOME E LINKS
document.write("<tr>");
document.write("<td height=\"19\" colspan=\"6\"><table width=\"572\" height=\"19\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.write("<tr>");
//BOTTONE INGLESE
document.write("<td width=\"39\" height=\"19\"><a href=\""+urlTemplateEN+"\"><img src=\"template/images/nav/b_eng.jpg\" title=\"English Version\" width=\"39\" height=\"19\" border=\"0\" /></a></td>");
//
document.write("<td width=\"533\" height=\"19\"><img src=\"template/images/puntaLogo.jpg\" width=\"533\" height=\"19\" /></td>");
document.write("</tr>");
document.write("</table></td>");
//INIZIO FORM NEWSLETTER
document.write("<td height=\"52\" colspan=\"2\" rowspan=\"3\" valign=\"top\"><table width=\"208\" height=\"52\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><form name=\"n\" method=\"post\">");
document.write("<tr>");
document.write("<td height=\"19\" colspan=\"2\"><img src=\"template/images/newsletterIT.jpg\" width=\"208\" height=\"19\" /></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width=\"179\" height=\"33\" class=\"bgCampi\"><table width=\"179\" height=\"33\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.write("<tr>");
//CAMPI DI INPUT
document.write("<td><input name=\"nome\" type=\"text\" class=\"inputnewsletter\" value=\"Nome\" onfocus=\"document.n.nome.value='';\" /></td>");
document.write("<td><input name=\"email\" type=\"text\" class=\"inputnewsletter\" value=\"Email\" onfocus=\"document.n.email.value='';\" /></td>");
document.write("</tr>");
document.write("</table></td>");
//BOTTONE INVIA DELLA NEWSLETTER
document.write("<td width=\"29\" height=\"33\"><a href=\"javascript: onclick=newsSubmit();\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'invia\',\'\',\'template/images/nav/b_invia_f1.jpg\',1)\"><img src=\"template/images/nav/b_invia.jpg\" title=\"Iscriviti alla newsletter\" name=\"invia\" width=\"29\" height=\"33\" border=\"0\" id=\"invia\" /></a></td>");
document.write("</tr>");
document.write("</form></table>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td height=\"8\" colspan=\"6\"><img src=\"template/images/filettoNav.jpg\" width=\"572\" height=\"8\" /></td>");
document.write("</tr>");
document.write("<tr>");
//BOTTONE LA GUERRA DEI CENTO ANNI
document.write("<td width=\"172\" height=\"25\">");
if(thisPage=="LaGuerraDeiCentoAnni"){
document.write("<img src=\"template/images/nav/b_guerra_f1IT.jpg\" name=\"guerra\" width=\"172\" height=\"25\" border=\"0\" id=\"guerra\" />");
}else{
document.write("<a href=\""+urlGuerra+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'guerra\',\'\',\'template/images/nav/b_guerra_f1IT.jpg\',1)\"><img src=\"template/images/nav/b_guerraIT.jpg\" title=\"La guerra dei cento anni\" name=\"guerra\" width=\"172\" height=\"25\" border=\"0\" id=\"guerra\" /></a></td>");
}
//
document.write("<td width=\"18\" height=\"25\"><img src=\"template/images/spazio1riga1.jpg\" width=\"18\" height=\"25\" /></td>");
//BOTTONE CATALOGO
document.write("<td width=\"177\" height=\"25\">");
if(thisPage=="Catalogo"){
document.write("<img src=\"template/images/nav/b_catalogo_f1IT.jpg\"  name=\"catalogo\" width=\"177\" height=\"25\" border=\"0\" id=\"catalogo\" />");
}else{
document.write("<a href=\""+urlCatalogo+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'catalogo\',\'\',\'template/images/nav/b_catalogo_f1IT.jpg\',1)\"><img src=\"template/images/nav/b_catalogoIT.jpg\" title=\"Catalogo\" name=\"catalogo\" width=\"177\" height=\"25\" border=\"0\" id=\"catalogo\" /></a></td>");
}
//
document.write("<td width=\"18\" height=\"25\"><img src=\"template/images/spazio2riga1.jpg\" width=\"18\" height=\"25\" /></td>");
//BOTTONE GALLERIA
document.write("<td width=\"161\" height=\"25\">");
if(thisPage=="Galleria"){
document.write("<img src=\"template/images/nav/b_galleria_f1IT.jpg\"  name=\"galleria\" width=\"161\" height=\"25\" border=\"0\" id=\"galleria\" />");
}else{
document.write("<a href=\""+urlGalleria+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'galleria\',\'\',\'template/images/nav/b_galleria_f1IT.jpg\',1)\"><img src=\"template/images/nav/b_galleriaIT.jpg\" title=\"Galleria\" name=\"galleria\" width=\"161\" height=\"25\" border=\"0\" id=\"galleria\" /></a></td>");
}
//
document.write("<td width=\"26\" height=\"25\"><img src=\"template/images/spazio3riga1.jpg\" width=\"26\" height=\"25\" /></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td height=\"5\" colspan=\"8\"><img src=\"template/images/filettoR1R2.jpg\" width=\"780\" height=\"5\" /></td>");
document.write("</tr>");
document.write("<tr>");
//BOTTONE ARALDICHE E STENDARDI
document.write("<td height=\"25\" width=\"172\">");
if(thisPage=="Araldiche_e_Stendardi"){
document.write("<img src=\"template/images/nav/b_araldiche_f1IT.jpg\"  name=\"araldiche\" width=\"172\" height=\"25\" border=\"0\" id=\"araldiche\" />");
}else{
document.write("<a href=\""+urlAraldiche+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'araldiche\',\'\',\'template/images/nav/b_araldiche_f1IT.jpg\',1)\"><img src=\"template/images/nav/b_araldicheIT.jpg\" title=\"Araldiche e stendardi\" name=\"araldiche\" width=\"172\" height=\"25\" border=\"0\" id=\"araldiche\" /></a></td>");
}
//
document.write("<td width=\"18\" height=\"25\"><img src=\"template/images/spazio1riga2.jpg\" width=\"18\" height=\"25\" /></td>");
//BOTTONE ESPERTO RISPONDE
document.write("<td width=\"177\" height=\"25\">");
if(thisPage=="Esperto"){
document.write("<img src=\"template/images/nav/b_esperto_f1IT.jpg\" name=\"esperto\" width=\"177\" height=\"25\" border=\"0\" id=\"esperto\" />");
}else{
document.write("<a href=\""+urlEsperto+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'esperto\',\'\',\'template/images/nav/b_esperto_f1IT.jpg\',1)\"><img src=\"template/images/nav/b_espertoIT.jpg\" title=\"L\'esperto risponde\" name=\"esperto\" width=\"177\" height=\"25\" border=\"0\" id=\"esperto\" /></a></td>");
}
//
document.write("<td width=\"18\" height=\"25\"><img src=\"template/images/spazio2riga2.jpg\" width=\"18\" height=\"25\" /></td>");
//BOTTONE AREA RIVENDITORI
document.write("<td width=\"161\" height=\"25\">");
if(thisPage=="Rivenditori"){
document.write("<img src=\"template/images/nav/b_rivenditori_f1IT.jpg\"  name=\"areaRivenditori\" width=\"161\" height=\"25\" border=\"0\" id=\"areaRivenditori\" />");
}else{
document.write("<a href=\""+urlRivenditori+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'areaRivenditori\',\'\',\'template/images/nav/b_rivenditori_f1IT.jpg\',1)\"><img src=\"template/images/nav/b_rivenditoriIT.jpg\" title=\"Area rivenditori\" name=\"areaRivenditori\" width=\"161\" height=\"25\" border=\"0\" id=\"areaRivenditori\" /></a></td>");
}
//
document.write("<td width=\"26\" height=\"25\"><img src=\"template/images/spazio3riga2.jpg\" width=\"26\" height=\"25\" /></td>");
//BOTTONE CARRELLO
document.write("<td width=\"108\" height=\"25\">");
if(thisPage=="Carrello" && thisPag != "form"){
document.write("<img src=\"template/images/nav/b_carrello_f1IT.jpg\"  name=\"carrello\" width=\"108\" height=\"25\" border=\"0\" id=\"carrello\" />");
}else{
document.write("<a href=\""+urlCarrello+"\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'carrello\',\'\',\'template/images/nav/b_carrello_f1IT.jpg\',1)\"><img src=\"template/images/nav/b_carrelloIT.jpg\" title=\"Guarda nel carrello\" name=\"carrello\" width=\"108\" height=\"25\" border=\"0\" id=\"carrello\" /></a></td>");
}
//
//CELLA PER INSERIRE IL NUMERO DI ARTICOLI PRESENTI NEL CARRELLO
document.write("<td width=\"100\" height=\"25\" class=\"xxarticoli\">"+productsInCart+" ");
if (productsInCart == 1)
	document.write(productIT);
if (productsInCart != 1)
	document.write(productsIT);
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td height=\"9\" colspan=\"8\"><img src=\"template/images/filetto.jpg\" width=\"780\" height=\"9\" /></td>");
document.write("</tr>");
document.write("</table>");
