<!--
defaultstatus=' '
//------------------------------------email antispam----------------------
function DisplayMail(Server, Login, Display)
{
if((Display.length == 0) || (Display.indexOf('@')+1))
{
document.write("<a class='m2' href=" + " 'mai" + "lto:" + Login + "@" + Server + "'>" +Login+ "@" +Server+ "</a>");}
else 
{
document.write("<a class='m2' href=" + " 'mai" + "lto:" + Login + "@" + Server +"'><img border='0' src='sardaigne_bed_and_breakfast_alghero/mailer.gif' width='34' height='21'>" +Display+ "</a>");}
}
//----------------------------------scambio link------------------------
function apri(url,come)
{
Fin=window.open(url,come);
}
//---------------------------------popup depliant----------------------
function stampa_depliant()
   {
   PopFoto=window.open('','','width=535, height=684, top=0, left=0');
   PopFoto.document.open();
   PopFoto.document.write("<HTML><HEAD><title>Depliant Villa Grazia</title></HEAD>");
   PopFoto.document.write("<body onLoad='self.print();self.close()' topmargin='0' leftmargin='0' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'>");
   PopFoto.document.write("<div align='center'>");
   PopFoto.document.write("<center>");
   PopFoto.document.write("<table border='0' width='535' height='684' cellspacing='0' cellpadding='0'>");
   PopFoto.document.write("<tr><td width='216' height='144'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/11_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='216' height='144'></td><td width='216' height='144'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/12_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='216' height='144'></td><td width='103' height='144'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/13_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='103' height='144'></td></tr>");
   PopFoto.document.write("<tr><td width='216' height='144'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/21_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='216' height='144'></td><td width='216' height='144'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/22_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='216' height='144'></td><td width='103' height='144'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/23_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='103' height='144'></td></tr>");
   PopFoto.document.write("<tr><td width='216' height='144'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/31_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='216' height='144'></td><td width='216' height='144'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/32_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='216' height='144'></td><td width='103' height='144'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/33_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='103' height='144'></td></tr>");
   PopFoto.document.write("<tr><td width='216' height='144'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/41_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='216' height='144'></td><td width='216' height='144'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/42_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='216' height='144'></td><td width='103' height='144'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/43_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='103' height='144'></td></tr>");
   PopFoto.document.write("<tr><td width='216' height='108'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/51_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='216' height='108'></td><td width='216' height='108'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/52_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='216' height='108'></td><td width='103' height='108'><img border='0' src='Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne/53_Villa_Grazia_Bed_and_breakfast_Alghero_Sardaigne.jpg' width='103' height='108'></td></tr>");
   PopFoto.document.write("</table></center></div></body></html>");
   PopFoto.document.close();
   }
//----------------------------------popup mappa alghero nord------------
function stampa_mappa_alghero_nord()
   {
   PopMap1=window.open('','PopMap1','width=554, height=650,top=0,left=0');
   PopMap1.window.focus();
   PopMap1.document.open();
   PopMap1.document.write("<HTML><HEAD><title>Mappa di Alghero nord</title></HEAD>");
   PopMap1.document.write("<body onLoad='self.print();self.close()' topmargin='0' leftmargin='0' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'>");
   PopMap1.document.write("<div align='center'>");
   PopMap1.document.write("<center>");
   PopMap1.document.write("<table border='0' width='554' cellspacing='0' cellpadding='0' height='650'>");
   PopMap1.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_1.gif' width='554' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_2.gif' width='554' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_3.gif' width='554' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_4.gif' width='554' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_5.gif' width='554' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_6.gif' width='554' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_7.gif' width='554' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_8.gif' width='554' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_9.gif' width='554' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_10.gif' width='554' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_11.gif' width='554' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_12.gif' width='554' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_13.gif' width='554' height='50'></p></td></tr>");
   PopMap1.document.write("</table></center></div></body></html>");
   PopMap1.document.close();
   }
//---------------------------------popup mappa alghero sud-------------
function stampa_mappa_alghero_sud()
   {
   PopMap2=window.open('','PopMap2','width=554, height=679,top=0,left=0');
   PopMap2.window.focus();
   PopMap2.document.open();
   PopMap2.document.write("<HTML><HEAD><title>Mappa di Alghero sud</title></HEAD>");
   PopMap2.document.write("<body onLoad='self.print();self.close()' topmargin='0' leftmargin='0' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'>");
   PopMap2.document.write("<div align='center'>");
   PopMap2.document.write("<center>");
   PopMap2.document.write("<table border='0' width='554' cellspacing='0' cellpadding='0' height='679'>");
   PopMap2.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_13.gif' width='554' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_14.gif' width='554' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_15.gif' width='554' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_16.gif' width='554' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_17.gif' width='554' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_18.gif' width='554' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_19.gif' width='554' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_20.gif' width='554' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_21.gif' width='554' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_22.gif' width='554' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_23.gif' width='554' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_24.gif' width='554' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='554' height='50' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_25.gif' width='554' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='554' height='29' align='center'><p align='left'><img border='0' src='Plan_Ville_Alghero/Plan_Ville_Alghero_26.gif' width='554' height='29'></p></td></tr>");   
   PopMap2.document.write("</table></center></div></body></html>");
   PopMap2.document.close();
   }
//----------------------------------mappa popup per arrivare a villa grazia---------
function stampa_mappa_villa_grazia()
   {
   PopFoto=window.open('','','width=550, height=782, top=0, left=0');
   PopFoto.document.open();
   PopFoto.document.write("<HTML><HEAD><title>Mappa per arrivare a Villa Grazia</title></HEAD>");
   PopFoto.document.write("<body onLoad='self.print();self.close()' topmargin='0' leftmargin='0' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'>");
   PopFoto.document.write("<div align='center'>");
   PopFoto.document.write("<center>");
   PopFoto.document.write("<table border='0' width='550' height='782' cellspacing='0' cellpadding='0'>");
   PopFoto.document.write("<tr><td width='550' height='92'><img border='0' src='Villa_Grazia_B&B_Alghero_Sardaigne/Villa_Grazia_B&B_Alghero_Sardaigne_001.jpg' width='550' height='92'></td></tr>");
   PopFoto.document.write("<tr><td width='550' height='92'><img border='0' src='Villa_Grazia_B&B_Alghero_Sardaigne/Villa_Grazia_B&B_Alghero_Sardaigne_002.jpg' width='550' height='92'></td></tr>");
   PopFoto.document.write("<tr><td width='550' height='92'><img border='0' src='Villa_Grazia_B&B_Alghero_Sardaigne/Villa_Grazia_B&B_Alghero_Sardaigne_003.jpg' width='550' height='92'></td></tr>");
   PopFoto.document.write("<tr><td width='550' height='92'><img border='0' src='Villa_Grazia_B&B_Alghero_Sardaigne/Villa_Grazia_B&B_Alghero_Sardaigne_004.jpg' width='550' height='92'></td></tr>");
   PopFoto.document.write("<tr><td width='550' height='92'><img border='0' src='Villa_Grazia_B&B_Alghero_Sardaigne/Villa_Grazia_B&B_Alghero_Sardaigne_005.jpg' width='550' height='92'></td></tr>");
   PopFoto.document.write("<tr><td width='550' height='92'><img border='0' src='Villa_Grazia_B&B_Alghero_Sardaigne/Villa_Grazia_B&B_Alghero_Sardaigne_006.jpg' width='550' height='92'></td></tr>");
   PopFoto.document.write("<tr><td width='550' height='92'><img border='0' src='Villa_Grazia_B&B_Alghero_Sardaigne/Villa_Grazia_B&B_Alghero_Sardaigne_007.jpg' width='550' height='92'></td></tr>");
   PopFoto.document.write("<tr><td width='550' height='92'><img border='0' src='Villa_Grazia_B&B_Alghero_Sardaigne/Villa_Grazia_B&B_Alghero_Sardaigne_008.jpg' width='550' height='92'></td></tr>");
   PopFoto.document.write("<tr><td width='550' height='46'><img border='0' src='Villa_Grazia_B&B_Alghero_Sardaigne/Villa_Grazia_B&B_Alghero_Sardaigne_009.jpg' width='550' height='46'></td></tr>");
   PopFoto.document.write("</table></center></div></body></html>");
   PopFoto.document.close();
   }
    //---------------------------------------------crea la popup per poter stampare la mappa nord Sardegna
   function stampa_mappa_nord_sardegna()
   {
   PopMap1=window.open('','PopMap1','width=556, height=500,top=0,left=0');
   PopMap1.window.focus();
   PopMap1.document.open();
   PopMap1.document.write("<HTML><HEAD><title>Mappa nord Sardegna</title></HEAD>");
   PopMap1.document.write("<body onLoad='self.print();self.close()' topmargin='0' leftmargin='0' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'>");
   PopMap1.document.write("<div align='center'>");
   PopMap1.document.write("<center>");
   PopMap1.document.write("<table border='0' width='556' cellspacing='0' cellpadding='0' height='50'>");
   PopMap1.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-1.gif' width='556' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-2.gif' width='556' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-3.gif' width='556' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-4.gif' width='556' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-5.gif' width='556' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-6.gif' width='556' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-7.gif' width='556' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-8.gif' width='556' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-9.gif' width='556' height='50'></p></td></tr>");
   PopMap1.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-10.gif' width='556' height='50'></p></td></tr>");
   PopMap1.document.write("</table></center></div></body></html>");
   PopMap1.document.close();
   }
//------------------------------------------------crea la popup per poter stampare la mappa sud sardegna
   function stampa_mappa_sud_sardegna()
   {
   PopMap2=window.open('','PopMap2','width=556, height=558,top=0,left=0');
   PopMap2.window.focus();
   PopMap2.document.open();
   PopMap2.document.write("<HTML><HEAD><title>Mappa sud Sardegna</title></HEAD>");
   PopMap2.document.write("<body onLoad='self.print();self.close()' topmargin='0' leftmargin='0' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'>");
   PopMap2.document.write("<div align='center'>");
   PopMap2.document.write("<center>");
   PopMap2.document.write("<table border='0' width='556' cellspacing='0' cellpadding='0' height='50'>");
   PopMap2.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-10.gif' width='556' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-11.gif' width='556' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-12.gif' width='556' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-13.gif' width='556' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-14.gif' width='556' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-15.gif' width='556' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-16.gif' width='556' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-17.gif' width='556' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-18.gif' width='556' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='556' height='50' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-19.gif' width='556' height='50'></p></td></tr>");
   PopMap2.document.write("<tr><td width='556' height='58' align='center'><p align='left'><img border='0' src='Carte_de_la_Sardaigne/sardegna-sardinia-sardaigne-sardinien-20.gif' width='556' height='58'></p></td></tr>");
   PopMap2.document.write("</table></center></div></body></html>");
   PopMap2.document.close();
   }

//----------------------------------link utili--------------------
function link_utili()
{      
      document.write("<div id=bloccobox style='display:none'>");
      document.write("<p class='box'>");
      document.write("<span class='sardaigne_bed_and_breakfast_alghero'>Les avions...</span><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.ryanair.com' target='_blank'>&#187 Ryanair</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.germanwings.com' target='_blank'>&#187 Germanwings</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.airberlin.com' target='_blank'>&#187 Air Berlin</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.hlx.com' target='_blank'>&#187 Hlx</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.alitalia.it' target='_blank'>&#187 Alitalia</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.meridiana.it' target='_blank'>&#187 Meridiana </a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.flyairone.it' target='_blank'>&#187 Air One</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.aireurope.it' target='_blank'>&#187 Aireurope</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.volare-airlines.com' target='_blank'>&#187 Volare</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.airdolomiti.it' target='_blank'>&#187 Airdolomiti</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.alpieagles.com' target='_blank'>&#187 Alpieagles</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.easyjet.com' target='_blank'>&#187 Easyjet</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.iberia.it' target='_blank'>&#187 Iberia</a><br>");      
      document.write("<br><span class='sardaigne_bed_and_breakfast_alghero'>Les bateaux...</span><br>")
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.tirrenia.it' target='_blank'>&#187 Tirrenia</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.mobylines.it' target='_blank'>&#187 Moby Lines</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.gnv.it' target='_blank'>&#187 Grimaldi</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.corsicaferries.com' target='_blank'>&#187 Corsica ferries</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.sardiniaferries.com' target='_blank'>&#187 Sardinia ferries</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.lineadeigolfi.it' target='_blank'>&#187 Linea dei golfi</a><br>");
      document.write("<br><span class='sardaigne_bed_and_breakfast_alghero'>Location de voitures...</span><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.autonoleggiosardinya.it' target='_blank'>Autonoleggiosardinya</a><br>");
      document.write("<br><span class='sardaigne_bed_and_breakfast_alghero'>Les treins...</span><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.trenitalia.com' target='_blank'>&#187 Trenitalia</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.ferroviesardegna.it' target='_blank'>&#187 Ferr.Sardegna</a><br>");
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.ferroviemeridionalisarde.it' target='_blank'>&#187 Ferr.Mer.Sarde</a><br>");
      document.write("<br><span class='sardaigne_bed_and_breakfast_alghero'>Les Autobus...</span><br>");      
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.arst.sardegna.it' target='_blank'>&#187 Arst</a><br>"); 
      document.write("<a class='Sardaigne_B_and_B_Alghero_Sardaigne_Bed_and_breakfast_Alghero' href='http://www.turmotravel.it' target='_blank'>&#187 Turmotravel</a><br>");     
      document.write("</p>");
      document.write("</div>");

}
//----------------------------------bloccobox menù-----------------
function toggle(id){
   if (document.all){
     if(document.all[id].style.display == 'none'){
       document.all[id].style.display = '';
     } else {
       document.all[id].style.display = 'none';
     }
  return false;
   } else if (document.getElementById){
     if(document.getElementById(id).style.display == 'none'){
       document.getElementById(id).style.display = 'block';
     } else {
       document.getElementById(id).style.display = 'none';
     }
  return false;
   }
 }
//------------------------------blocco form invio email-----------------
function formemail()
{
document.write("<div id='bloccoform' style='display:none'>");
document.write("<form method='POST' name='modulo' action='formmail.php'>");
document.write("<INPUT TYPE='hidden' NAME='Richiesta informazioni inviata dal sito' VALUE='www.sardegna-bed-and-breakfast-alghero.com'>");
document.write("<table border='0' cellpadding='0' cellspacing='0' style='border: 3px solid #EAC535' width='430'>");
document.write("<tr>");
document.write("<td width='430' style='background-color: #F9F49F' colspan='2'><h3 align='center'><font color='#B77E03'>Information et réservations</font></h3></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='430' style='background-color: #F9F49F' colspan='2'><div align='right'><font color='#FF3300'>*  voix obligatoires</font></div></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Prénom et Nom:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='NOME' onkeypress='return SoloLettere(event);' size='38' maxlength='50' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Votre Ville:</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='CITTA' onkeypress='return SoloLettere(event);' size='38' maxlength='50' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Votre Email:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='EMAIL' size='38' maxlength='50' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Répéter Email:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='CONFERMA' size='38' maxlength='50' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Votre téléphone:</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='TELEFONO' onkeypress='return SoloNumeri(event);' size='20' maxlength='20' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'><font color='#B77E03'> nnn/nnn </font></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Date d'arrivée :*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='DATA_ARRIVO' onkeypress='return SoloNumeri(event);' size='10' maxlength='10' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'><font color='#B77E03'> jj/mm/aaaa </font></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Date de départ:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='DATA_PARTENZA' onkeypress='return SoloNumeri(event);' size='10' maxlength='10' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'><font color='#B77E03'> jj/mm/aaaa </font></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Nombre Personnes:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='NUMERO_PERSONE' onkeypress='return SoloNumeri(event);' size='2' maxlength='2' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'><font color='#B77E03'> n - nn</font></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Âge Personnes:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='ETA_PERSONE' onkeypress='return SoloNumeri(event);' size='29' maxlength='29' onDragStart='return false' onSelectStart='return false' onContextMenu='return false'><font color='#B77E03'> nn/nn/nn </font></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Message:</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><textarea rows='8' name='MESSAGGIO' cols='32'></textarea></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='button' value='Send' onClick='Modulo();'> <input type='reset' value='Clear'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='430' style='background-color: #F9F49F' colspan='2'>");
document.write("<br>");
document.write("<span class='chambre_d_hote_alghero_chambres_d_hotes_alghero'>Ouverte du mois d'avril à octobre</span><br>"); 
document.write("<span class='sardaigne_bed_and_breakfast_alghero'>Pour renseignements et réservation écrivez:</span><br>");
document.write("<span class='chambre_d_hote_alghero_chambres_d_hotes_alghero'>Villa Grazia C.P. 304 I-07041 Alghero (SS) - Sardegna</span><br>"); 
document.write("<span class='sardaigne_bed_and_breakfast_alghero'>Ou téléphonez dans la maison:</span>");
document.write("<span class='chambre_d_hote_alghero_chambres_d_hotes_alghero'>+39 079.980.276</span><br>");
document.write("<span class='sardaigne_bed_and_breakfast_alghero'>Fax:</span>");
document.write("<span class='chambre_d_hote_alghero_chambres_d_hotes_alghero'>+39 079.980.276</span><br>");
document.write("<span class='sardaigne_bed_and_breakfast_alghero'>Mobile:</span>");
document.write("<span class='chambre_d_hote_alghero_chambres_d_hotes_alghero'>+39 338.572.1188</span><br>");
document.write("<span class='sardaigne_bed_and_breakfast_alghero'>Email:</span>");
document.write("<script language=\"Javascript\">DisplayMail('email.it',' villagrazia.alghero','');</script>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write("</form>");
document.write("</div>");
}
//------------------------------funzione controllo input form-----------------------
function Modulo(){

    var now = new Date();
	var giorno = now.getDate();
	var mese = now.getMonth() + 1;
	var anno = now.getFullYear();
	var annoprossimo = anno+1;

	if(giorno<10) giorno = "0"+giorno; //aggiunge lo 0 ai giorni che possono essere scritti con un solo numero
	if(mese<10) mese = "0"+mese; //aggiunge lo 0 ai mesi che possono essere scritti con un solo numero
    var DATA_ODIERNA = giorno + "/" + mese + "/" + anno + " ";
    //document.write(DATA_ODIERNA);

  var EMAIL = document.modulo.EMAIL.value; 
  var email_reg_exp = /^([a-zA-Z0-9_\.\-]{2,})+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;
  
  var ETAPERSONE = document.modulo.ETA_PERSONE.value;
  
  var ETAPERSONE1_reg_exp = /^([0-9]{2,2})$/;
  var ETAPERSONE2_reg_exp = /^([0-9]{2,2})+\/([0-9]{2,2})$/;
  var ETAPERSONE3_reg_exp = /^([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})$/;
  var ETAPERSONE4_reg_exp = /^([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})$/;
  var ETAPERSONE5_reg_exp = /^([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})$/;
  var ETAPERSONE6_reg_exp = /^([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})$/;
  var ETAPERSONE7_reg_exp = /^([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})$/;
  var ETAPERSONE8_reg_exp = /^([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})$/;
  var ETAPERSONE9_reg_exp = /^([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})$/;
  var ETAPERSONE10_reg_exp = /^([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})+\/([0-9]{2,2})$/;


        if ((document.modulo.NOME.value == "") || (document.modulo.NOME.value == "undefined")) {
           alert("Insérer votre nome et prénom");
           document.modulo.NOME.focus();
           return false;
        }
        else if (!email_reg_exp.test(EMAIL) || (EMAIL == "") || (EMAIL == "undefined")) {
           alert("Insérer une adresse email valide");
           document.modulo.EMAIL.value = "";
           document.modulo.EMAIL.select();
           document.modulo.EMAIL.focus();
           return false;
        }
        else if ((document.modulo.CONFERMA.value == "") || (document.modulo.CONFERMA.value == "undefined")) {
           alert("L'adresse email de champ Répéter Email est obligatoire.");
           document.modulo.CONFERMA.focus();
           return false;
        }
        else if (document.modulo.EMAIL.value != document.modulo.CONFERMA.value) {
           alert("L'adresse email confirmée n’est pas celle choisie, vérifier");
           document.modulo.CONFERMA.value = "";
           document.modulo.CONFERMA.focus();
           return false;
        }
//-------------Effettua il controllo sul campo DATA di ARRIVO-------------------//
        else if (document.modulo.DATA_ARRIVO.value.substring(2,3) != "/" ||
                 document.modulo.DATA_ARRIVO.value.substring(5,6) != "/" ||
           isNaN(document.modulo.DATA_ARRIVO.value.substring(0,2)) ||
           isNaN(document.modulo.DATA_ARRIVO.value.substring(3,5)) ||
           isNaN(document.modulo.DATA_ARRIVO.value.substring(6,10))) {
           alert("Insérer la date d’arrivée en modalité jj/mm/aaaa");
                 document.modulo.DATA_ARRIVO.value = "";
                 document.modulo.DATA_ARRIVO.focus();
                 return false;
        }
        else if (document.modulo.DATA_ARRIVO.value.substring(0,2) > 31) {
           alert("Le jour d’arrivée n’est pas correct");
           document.modulo.DATA_ARRIVO.select();
           return false;
        }
        else if (document.modulo.DATA_ARRIVO.value.substring(3,5) > 12) {
           alert("Le mois de la date d’arrivée, n’est pas correct");
           document.modulo.DATA_ARRIVO.select();
           return false;
        }
        else if ((document.modulo.DATA_ARRIVO.value.substring(6,10) < anno) || (document.modulo.DATA_ARRIVO.value.substring(6,10) > annoprossimo)) {
           alert("L’année de la date d’arrivée ne peut être pas mineure de "+anno+" ni majeure de "+annoprossimo+".");
           document.modulo.DATA_ARRIVO.select();
           return false;
        }
//------------------- fa il confronto con la data di arrivo immessa dall'utente e la data odierna
        
        else if ((document.modulo.DATA_ARRIVO.value.substring(0,2) <= giorno) && 
                 (document.modulo.DATA_ARRIVO.value.substring(3,5) == mese) && 
                 (document.modulo.DATA_ARRIVO.value.substring(6,10) == anno)) {
           alert("Le jour de la date d’arrivée n’est pas correct; aujourd’hui il est "+ DATA_ODIERNA +".");
           document.modulo.DATA_ARRIVO.select();
           return false;
        }
        else if ((document.modulo.DATA_ARRIVO.value.substring(3,5) < mese) && 
                 (document.modulo.DATA_ARRIVO.value.substring(6,10) == anno)) {
           alert("Le mois de la date d’arrivée n’est pas correct; aujourd’hui il est "+ DATA_ODIERNA +".");
           document.modulo.DATA_ARRIVO.select();
           return false;
        }

//--------------------fine confronto con la data di arrivo immessa e quella odierna
        
//------------Effettua il controllo sul campo DATA di PARTENZA-----------------// 
        else if (document.modulo.DATA_PARTENZA.value.substring(2,3) != "/" ||
                 document.modulo.DATA_PARTENZA.value.substring(5,6) != "/" ||
           isNaN(document.modulo.DATA_PARTENZA.value.substring(0,2)) ||
           isNaN(document.modulo.DATA_PARTENZA.value.substring(3,5)) ||
           isNaN(document.modulo.DATA_PARTENZA.value.substring(6,10))) {
           alert("Insérer la date de départ en modalité jj/mm/aaaa");
                 document.modulo.DATA_PARTENZA.value = "";
                 document.modulo.DATA_PARTENZA.focus();
                 return false;
        }
        else if (document.modulo.DATA_PARTENZA.value.substring(0,2) > 31) {
           alert("Le jour de la date de départ n’est pas correct");
           document.modulo.DATA_PARTENZA.select();
           return false;
        }
        else if (document.modulo.DATA_PARTENZA.value.substring(3,5) > 12) {
           alert("Le mois de la date de départ n’est pas correct");
           document.modulo.DATA_PARTENZA.select();
           return false;
        }
        else if ((document.modulo.DATA_PARTENZA.value.substring(6,10) < anno) || (document.modulo.DATA_PARTENZA.value.substring(6,10) > annoprossimo)) {
           alert("L’année de la date de départ ne peut être pas mineure de "+anno+" ni majeure de "+annoprossimo+".");
           document.modulo.DATA_PARTENZA.select();
           return false;
        }
        else if (document.modulo.DATA_ARRIVO.value == document.modulo.DATA_PARTENZA.value) {
           alert("La date d’arrivée et la date de départ sont les mêmes: vérifier");
           document.modulo.DATA_ARRIVO.focus();
           return false;
        }
        else if ((document.modulo.DATA_PARTENZA.value.substring(0,2) <= giorno) && 
                 (document.modulo.DATA_PARTENZA.value.substring(3,5) == mese) && 
                 (document.modulo.DATA_PARTENZA.value.substring(6,10) == anno)) {
           alert("Le jour de la date de départ n’est pas correct: aujourd’hui il est "+ DATA_ODIERNA +".");
           document.modulo.DATA_PARTENZA.select();
           return false;
        }
        else if ((document.modulo.DATA_PARTENZA.value.substring(3,5) < mese) && 
                 (document.modulo.DATA_PARTENZA.value.substring(6,10) == anno)) {
           alert("Le mois de la date de départ n’est pas correct; aujourd’hui il est "+ DATA_ODIERNA +".");
           document.modulo.DATA_PARTENZA.select();
           return false;
        }
        else if((document.modulo.DATA_PARTENZA.value.substring(0,2) < document.modulo.DATA_ARRIVO.value.substring(0,2)) &&
                (document.modulo.DATA_PARTENZA.value.substring(3,5) == document.modulo.DATA_ARRIVO.value.substring(3,5)) &&
                (document.modulo.DATA_PARTENZA.value.substring(6,10) == document.modulo.DATA_ARRIVO.value.substring(6,10))) {
           alert("Le jour de la date de départ est antécédent au jour de la date d’arrivée: vérifier");
           document.modulo.DATA_PARTENZA.select();
           return false;
        }
        else if((document.modulo.DATA_PARTENZA.value.substring(3,5) < document.modulo.DATA_ARRIVO.value.substring(3,5)) &&
                (document.modulo.DATA_PARTENZA.value.substring(6,10) == document.modulo.DATA_ARRIVO.value.substring(6,10))) {
           alert("Le mois de la date de départ est antécédent au mois de la date d’arrivée: vérifier");
           document.modulo.DATA_PARTENZA.select();
           return false;
        }
//----------------fine controllo date arrivo e partenza -------------//
        
        else if ((document.modulo.NUMERO_PERSONE.value == "")) {
           alert("Insérer le numéro des personnes");
           document.modulo.NUMERO_PERSONE.focus();
           return false;
        }
        else if ((document.modulo.NUMERO_PERSONE.value > 10)) {
           alert("Nous regrettons de ne pouvoir accueillir cette quantité de personnes");
           document.modulo.NUMERO_PERSONE.focus();
           return false;
        }
        else if ((document.modulo.ETA_PERSONE.value == "")) {
           alert("Insérer l’âge des personnes");
           document.modulo.ETA_PERSONE.focus();
           return false;
        }
        
        else if ((document.modulo.NUMERO_PERSONE.value == "1") && (!ETAPERSONE1_reg_exp.test(ETAPERSONE))) {
           alert("Insérer l’âge de la personne en modalité  ââ");
           document.modulo.ETA_PERSONE.value = "";
           document.modulo.ETA_PERSONE.select();
           document.modulo.ETA_PERSONE.focus();
           return false;
        }
        else if ((document.modulo.NUMERO_PERSONE.value == "2") && (!ETAPERSONE2_reg_exp.test(ETAPERSONE))) {
           alert("Insérer l’âge des  2 personnes en modalité  ââ/ââ");
           document.modulo.ETA_PERSONE.value = "";
           document.modulo.ETA_PERSONE.select();
           document.modulo.ETA_PERSONE.focus();
           return false;
        }
        else if ((document.modulo.NUMERO_PERSONE.value == "3") && (!ETAPERSONE3_reg_exp.test(ETAPERSONE))) {
           alert("Insérer l’âge des 3 personnes en modalité  ââ/ââ/ââ");
           document.modulo.ETA_PERSONE.value = "";
           document.modulo.ETA_PERSONE.select();
           document.modulo.ETA_PERSONE.focus();
           return false;
        }
        else if ((document.modulo.NUMERO_PERSONE.value == "4") && (!ETAPERSONE4_reg_exp.test(ETAPERSONE))) {
           alert("Insérer l’âge des 4 personnes en modalité  ââ/ââ/ââ/ââ");
           document.modulo.ETA_PERSONE.value = "";
           document.modulo.ETA_PERSONE.select();
           document.modulo.ETA_PERSONE.focus();
           return false;
        }
        else if ((document.modulo.NUMERO_PERSONE.value == "5") && (!ETAPERSONE5_reg_exp.test(ETAPERSONE))) {
           alert("Insérer l’âge des 5 personnes en modalité  ââ/ââ/ââ/ââ/ââ");
           document.modulo.ETA_PERSONE.value = "";
           document.modulo.ETA_PERSONE.select();
           document.modulo.ETA_PERSONE.focus();
           return false;
        }
        else if ((document.modulo.NUMERO_PERSONE.value == "6") && (!ETAPERSONE6_reg_exp.test(ETAPERSONE))) {
           alert("Insérer l’âge des 6 personnes en modalité  ââ/ââ/ââ/ââ/ââ/ââ");
           document.modulo.ETA_PERSONE.value = "";
           document.modulo.ETA_PERSONE.select();
           document.modulo.ETA_PERSONE.focus();
           return false;
        }
        else if ((document.modulo.NUMERO_PERSONE.value == "7") && (!ETAPERSONE7_reg_exp.test(ETAPERSONE))) {
           alert("Insérer l’âge des 7 personnes en modalité  ââ/ââ/ââ/ââ/ââ/ââ/ââ");
           document.modulo.ETA_PERSONE.value = "";
           document.modulo.ETA_PERSONE.select();
           document.modulo.ETA_PERSONE.focus();
           return false;
        }
        else if ((document.modulo.NUMERO_PERSONE.value == "8") && (!ETAPERSONE8_reg_exp.test(ETAPERSONE))) {
           alert("Insérer l’âge des 8 personnes en modalité  ââ/ââ/ââ/ââ/ââ/ââ/ââ/ââ");
           document.modulo.ETA_PERSONE.value = "";
           document.modulo.ETA_PERSONE.select();
           document.modulo.ETA_PERSONE.focus();
           return false;
        }
        else if ((document.modulo.NUMERO_PERSONE.value == "9") && (!ETAPERSONE9_reg_exp.test(ETAPERSONE))) {
           alert("Insérer l’âge des 9 personnes en modalité  ââ/ââ/ââ/ââ/ââ/ââ/ââ/ââ/ââ");
           document.modulo.ETA_PERSONE.value = "";
           document.modulo.ETA_PERSONE.select();
           document.modulo.ETA_PERSONE.focus();
           return false;
        }
        else if ((document.modulo.NUMERO_PERSONE.value == "10") && (!ETAPERSONE10_reg_exp.test(ETAPERSONE))) {
           alert("Insérer l’âge des 10 personnes en modalité  ââ/ââ/ââ/ââ/ââ/ââ/ââ/ââ/ââ/ââ");
           document.modulo.ETA_PERSONE.value = "";
           document.modulo.ETA_PERSONE.select();
           document.modulo.ETA_PERSONE.focus();
           return false;
        }

   else {
           document.modulo.action = "formmail.php";
           document.modulo.submit();
        }
  }
//-----------------------------funzione per inserire solo numeri---------------//
function SoloNumeri(numeri) {
numeri = (numeri) ? numeri : event;
var charCode = (numeri.charCode) ? numeri.charCode : ((numeri.keyCode) ? numeri.keyCode : ((numeri.which) ? numeri.which : 0));
if (charCode > 31 && (charCode < 47 || charCode > 57))
{
alert("On peut insérer seulement des numéros séparés par /");
document.focus();
return false;
}
return true;
}
//----------------------------inserire solo lettere---------------------------//  
function SoloLettere(lettere) {
numeri = (lettere) ? lettere : event;
var charCode = (lettere.charCode) ? lettere.charCode : ((lettere.keyCode) ? lettere.keyCode : ((lettere.which) ? lettere.which : 0));
if (charCode > 32 && (charCode < 65 || charCode > 90 && charCode < 97 || charCode > 122 && charCode < 128 || charCode > 154 && charCode < 160 || charCode > 165 && charCode < 181 || charCode > 183 && charCode < 224 || charCode > 237))
{
alert("On peut insérer seulement des lettres");
document.focus();
return false;
}
return true;
}
//------------------------------funzione controllo input form x scambio link-----------------------
 function Modulo_scambio_link(){
  
  var EMAIL = document.modulo1.EMAIL.value; 
  var email_reg_exp = /^([a-zA-Z0-9_\.\-]{2,})+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;
  var LINK = document.modulo1.LINK.value;
  var link_reg_exp  = /^([w-w]{3,3})+\.(([a-z0-9_\.\-]{2,})+\.)+([a-z0-9]{2,})+$/;


        if ((document.modulo1.NOME.value == "") || (document.modulo1.NOME.value == "undefined")) {
           alert("Inserire Nome & Cognome");
           document.modulo1.NOME.focus();
           return false;
        }
        else if (!email_reg_exp.test(EMAIL) || (EMAIL == "") || (EMAIL == "undefined")) {
           alert("Inserire un indirizzo email valido");
           document.modulo1.EMAIL.value = "";
           document.modulo1.EMAIL.select();
           document.modulo1.EMAIL.focus();
           return false;
        }
        else if ((document.modulo1.CONFERMA.value == "") || (document.modulo1.CONFERMA.value == "undefined")) {
           alert("Il campo Conferma Email è obbligatorio.");
           document.modulo1.CONFERMA.focus();
           return false;
        }
        else if (document.modulo1.EMAIL.value != document.modulo1.CONFERMA.value) {
           alert("L' Email confermata è diversa da quella scelta, controllare.");
           document.modulo1.CONFERMA.value = "";
           document.modulo1.CONFERMA.focus();
           return false;
        }
        else if ((document.modulo1.NOME_STRUTTURA.value == "")) {
           alert("Inserire il Nome del B&B");
           document.modulo1.NOME_STRUTTURA.focus();
           return false;
        }
        else if ((document.modulo1.PAESE_STRUTTURA.value == "")) {
           alert("Inserire il paese dove è locata la struttura");
           document.modulo1.PAESE_STRUTTURA.focus();
           return false;
        }
        else if ((document.modulo1.PROVINCIA_STRUTTURA.value == "")) {
           alert("Inserire la provincia dove è locata la struttura");
           document.modulo1.PROVINCIA_STRUTTURA.focus();
           return false;
        }
        else if (!link_reg_exp.test(LINK) || (LINK == "") || (LINK == "undefined")) {
           alert("Inserire L'indirizzo del sito web del B&B nel formato - www.miosito.it -");
           document.modulo1.LINK.value = "";
           document.modulo1.LINK.select();
           document.modulo1.LINK.focus();
           return false;
        }

   else {
           document.modulo1.action = "formmail_scambio_link.php";
           document.modulo1.submit();
        }
  }
  //---------------------------form web email scambio link---------------------
function formemail_scambio_link_sardegna()
{
document.write("<div id='bloccoform_scambio_link' style='display:none'>");
document.write("<form method='POST' name='modulo1' action='formmail_scambio_link.php'>");
document.write("<INPUT TYPE='hidden' NAME='Richiesta scambio link inviata dal sito' VALUE='www.sardegna-bed-and-breakfast-alghero.com'>");
document.write("<table border='0' cellpadding='0' cellspacing='0' style='border: 3px solid #EAC535' width='430'>");
document.write("<tr>");
document.write("<td width='430' style='background-color: #F9F49F' colspan='2'><h3 align='center'><font color='#B77E03'>Scambio link</font></h3></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='430' style='background-color: #F9F49F' colspan='2'><font color='#B77E03'>Con il seguente modulo è possibile contattarci per attivare lo scambio</font><br>");
document.write("<font color='#B77E03'>reciproco di link al fine di promuovere maggiormente le nostre strutture su internet.</font><br>");
document.write("<font color='#B77E03'>Il B&B Villa Grazia mette a disposizione dei B&B della Sardegna una pagina dei propri siti:</font><br>");
document.write("<font color='#B77E03'>in <a href=\"http://www.sardegna-bed-and-breakfast-alghero.com/Bed_and_breakfast_Sardegna_B&B_Sardegna.htm\">italiano</a>, </font>");
document.write("<font color='#B77E03'>in <a href=\"http://www.sardinia-bed-and-breakfast-alghero.com/Bed_and_breakfast_Sardinia_B&B_Sardinia.htm\">inglese</a>, </font>");
document.write("<font color='#B77E03'>in <a href=\"http://www.sardaigne-bed-and-breakfast-alghero.com/Chambre_d_hote_Sardaigne_Chambres_d_hotes_en_Sardaigne.htm\">francese</a>, </font>");
document.write("<font color='#B77E03'>in <a href=\"http://www.sardinien-bed-and-breakfast-alghero.com/Privatzimmer_Sardinien_Bed_and_breakfast_Sardinien.htm\">tedesco</a>, </font>");
document.write("<font color='#B77E03'>in totale 4 pagine  suddivise in 4 domini differenti, creati appositamente per essere maggiormente visualizzati sui principali motori di ricerca.</font><br>");
document.write("<font color='#B77E03'>Potete scegliere in quale sito apporre il Vs. link con relativa foto e descrizione in lingua (italiano, inglese, francese, tedesco).</font><br>");
document.write("<font color='#B77E03'>Per avere due o più link è necessario restituire il numero di link da voi richiesti; </font>");
document.write("<font color='#B77E03'>Se ad es. volete il Vs. link nella pagina in italiano e in quella in inglese,(con relative foto e descrizioni), presso due delle Vs. pagine dovrete apporre due Ns. link rispettivamente in italiano e inglese. <br></font>");
document.write("<font color='#B77E03'>All'interno della pagina verranno apposti solamente i link di strutture della </font>");
document.write("<font color='#B77E03'>Sardegna che offrono il servizio di B&B (anche Agriturismi, case vacanze, ecc. purchè offrano il servizio B&B).</font><br>");
document.write("<font color='#B77E03'>Per quanto riguarda la foto, penserò io ad estrapolarla dal vostro sito e dimensionarla (salvo diversa indicazione).<br><br>");
document.write("<font color='#B77E03'>In cambio è sufficente copiare e incollare presso una delle Vostre pagine(o più pagine, nel caso di due o più link) uno o più dei seguenti link:</font><br><br>");
document.write("<font color='#B77E03'>Link da restituire da pagina in Italiano:</font><br><br>");
document.write("<span style='background-color: #FFFFFF'><blockquote>&lt;a href=&quot;http://www.villagrazia.com&quot; title=&quot;Villa Grazia B&amp;B Alghero - Sardegna&quot;&gt;Villa Grazia Bed &amp; breakfast Alghero - Sardegna&lt;/a&gt;</blockquote></span>");
document.write("<font color='#B77E03'>Link da restituire da pagina in Inglese:</font><br><br>");
document.write("<span style='background-color: #FFFFFF'><blockquote>&lt;a href=&quot;http://www.villagrazia.com&quot; title=&quot;Villa Grazia Bed &amp; breakfast Alghero - Sardinia&quot;&gt;Villa Grazia B&amp;B Alghero - Sardinia&lt;/a&gt;</blockquote></span>");
document.write("<font color='#B77E03'>Link da restituire da pagina in Francese:</font><br><br>");
document.write("<span style='background-color: #FFFFFF'><blockquote><p>&lt;a href=&quot;http://www.villagrazia.com&quot; title=&quot;Villa Grazia Bed and breakfast Alghero - Sardaigne, Villa Grazia Chambres d'H&ocirc;tes Alghero - Sardaigne&quot;&gt;Villa Grazia Chambres d'H&ocirc;tes Alghero - Sardaigne&lt;/a&gt;</p></blockquote></span>");
document.write("<font color='#B77E03'>Link da restituire da pagina in Tedesco:</font><br><br>");
document.write("<span style='background-color: #FFFFFF'><blockquote><p>&lt;a href=&quot;http://www.villagrazia.com&quot; title=&quot;Villa Grazia Privatzimmer Alghero - Sardinien, Villa Grazia B&amp;B Alghero - Sardinien&quot;&gt;Villa Grazia Privatzimmer Alghero - Sardinien&lt;/a&gt;</p></blockquote></span>");
document.write("<font color='#B77E03'>- Cordiali saluti -<br>- B&B Villa Grazia - Alghero -</font><br><br>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='430' style='background-color: #F9F49F' colspan='2'><div align='left'><font color='#FF3300'>*  voci da compilarsi necessariamente</font></div></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Nome & Cognome:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='NOME' size='38' maxlength='50'onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Email:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='EMAIL' size='38' maxlength='50'onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Conferma Email:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='CONFERMA' size='38' maxlength='50'onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Nome del B&B:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='NOME_STRUTTURA' size='38' maxlength='50'onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Paese del B&B:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='PAESE_STRUTTURA' size='38' maxlength='50'onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Provincia del B&B:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='PROVINCIA_STRUTTURA' size='38' maxlength='50'onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Link del sito del B&B:*<br><font color='black' size='1'>www.tuosito.com</font></p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='LINK' size='38' maxlength='50'onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Descrizione/i:</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><textarea rows='10' name='MESSAGGIO' cols='32'></textarea></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='button' value='Invia' onClick='Modulo_scambio_link()'> <input type='reset' value='Cancella Dati'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='430' style='background-color: #F9F49F' colspan='2'>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write("</form>");
document.write("</div>");
}
//----------------------------Scambio link con B&B in Italia---------------//
function formemail_scambio_link_italia()
{
document.write("<div id='bloccoform_scambio_link' style='display:none'>");
document.write("<form method='POST' name='modulo1' action='formmail_scambio_link.php'>");
document.write("<INPUT TYPE='hidden' NAME='Richiesta scambio link inviata dal sito' VALUE='www.sardegna-bed-and-breakfast-alghero.com'>");
document.write("<table border='0' cellpadding='0' cellspacing='0' style='border: 3px solid #EAC535' width='430'>");
document.write("<tr>");
document.write("<td width='430' style='background-color: #F9F49F' colspan='2'><h3 align='center'><font color='#B77E03'>Scambio link</font></h3></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='430' style='background-color: #F9F49F' colspan='2'><font color='#B77E03'>Con il seguente modulo è possibile contattarci per attivare lo scambio</font><br>");
document.write("<font color='#B77E03'>reciproco di link al fine di promuovere maggiormente le nostre strutture su internet.</font><br>");
document.write("<font color='#B77E03'>Il B&B Villa Grazia mette a disposizione dei B&B d'Italia una pagina dei propri siti:</font><br>");
document.write("<font color='#B77E03'>in <a href=\"http://www.sardegna-bed-and-breakfast-alghero.com/Bed_and_breakfast_Italia_B&B_Italia.htm\">italiano</a>, </font>");
document.write("<font color='#B77E03'>in <a href=\"http://www.sardinia-bed-and-breakfast-alghero.com/Bed_and_breakfast_Italy_B&B_Italy.htm\">inglese</a>, </font>");
document.write("<font color='#B77E03'>in <a href=\"http://www.sardaigne-bed-and-breakfast-alghero.com/Chambre_d_hote_Italie_Chambres_d_hotes_en_Italie.htm\">francese</a>, </font>");
document.write("<font color='#B77E03'>in <a href=\"http://www.sardinien-bed-and-breakfast-alghero.com/Privatzimmer_Italien_Bed_and_breakfast_Italien.htm\">tedesco</a>, </font>");
document.write("<font color='#B77E03'>in totale 4 pagine  suddivise in 4 domini differenti, creati appositamente per essere maggiormente visualizzati sui principali motori di ricerca.</font><br>");
document.write("<font color='#B77E03'>Potete scegliere in quale sito apporre il Vs. link con relativa foto e descrizione in lingua (italiano, inglese, francese, tedesco).</font><br>");
document.write("<font color='#B77E03'>Per avere due o più link è necessario restituire il numero di link da voi richiesti; </font>");
document.write("<font color='#B77E03'>Se ad es. volete il Vs. link nella pagina in italiano e in quella in inglese,(con relative foto e descrizioni), presso due delle Vs. pagine dovrete apporre due Ns. link rispettivamente in italiano e inglese. <br></font>");
document.write("<font color='#B77E03'>All'interno della pagina verranno apposti solamente i link di strutture d'</font>");
document.write("<font color='#B77E03'>Italia che offrono il servizio di B&B (anche Agriturismi, case vacanze, ecc. purchè offrano il servizio B&B).</font><br>");
document.write("<font color='#B77E03'>Per quanto riguarda la foto, penserò io ad estrapolarla dal vostro sito e dimensionarla (salvo diversa indicazione).<br><br>");
document.write("<font color='#B77E03'>In cambio è sufficente copiare e incollare presso una delle Vostre pagine(o più pagine, nel caso di due o più link) uno o più dei seguenti link:</font><br><br>");
document.write("<font color='#B77E03'>Link da restituire da pagina in Italiano:</font><br><br>");
document.write("<span style='background-color: #FFFFFF'><blockquote>&lt;a href=&quot;http://www.villagrazia.com&quot; title=&quot;Villa Grazia B&amp;B Alghero - Sardegna&quot;&gt;Villa Grazia Bed &amp; breakfast Alghero - Sardegna&lt;/a&gt;</blockquote></span>");
document.write("<font color='#B77E03'>Link da restituire da pagina in Inglese:</font><br><br>");
document.write("<span style='background-color: #FFFFFF'><blockquote>&lt;a href=&quot;http://www.villagrazia.com&quot; title=&quot;Villa Grazia Bed &amp; breakfast Alghero - Sardinia&quot;&gt;Villa Grazia B&amp;B Alghero - Sardinia&lt;/a&gt;</blockquote></span>");
document.write("<font color='#B77E03'>Link da restituire da pagina in Francese:</font><br><br>");
document.write("<span style='background-color: #FFFFFF'><blockquote><p>&lt;a href=&quot;http://www.villagrazia.com&quot; title=&quot;Villa Grazia Bed and breakfast Alghero - Sardaigne, Villa Grazia Chambres d'H&ocirc;tes Alghero - Sardaigne&quot;&gt;Villa Grazia Chambres d'H&ocirc;tes Alghero - Sardaigne&lt;/a&gt;</p></blockquote></span>");
document.write("<font color='#B77E03'>Link da restituire da pagina in Tedesco:</font><br><br>");
document.write("<span style='background-color: #FFFFFF'><blockquote><p>&lt;a href=&quot;http://www.villagrazia.com&quot; title=&quot;Villa Grazia Privatzimmer Alghero - Sardinien, Villa Grazia B&amp;B Alghero - Sardinien&quot;&gt;Villa Grazia Privatzimmer Alghero - Sardinien&lt;/a&gt;</p></blockquote></span>");
document.write("<font color='#B77E03'>- Cordiali saluti -<br>- B&B Villa Grazia - Alghero -</font><br><br>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='430' style='background-color: #F9F49F' colspan='2'><div align='left'><font color='#FF3300'>*  voci da compilarsi necessariamente</font></div></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Nome & Cognome:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='NOME' size='38' maxlength='50'onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Email:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='EMAIL' size='38' maxlength='50'onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Conferma Email:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='CONFERMA' size='38' maxlength='50'onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Nome del B&B:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='NOME_STRUTTURA' size='38' maxlength='50'onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Paese del B&B:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='PAESE_STRUTTURA' size='38' maxlength='50'onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Provincia del B&B:*</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='PROVINCIA_STRUTTURA' size='38' maxlength='50'onDragStart='return false' onSelectStart='return false' onContextMenu='return false'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Link del sito del B&B:*<br><font color='black' size='1'>www.tuosito.com</font></p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='text' name='LINK' size='38' maxlength='50'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'><p>Descrizione:</p></td>");
document.write("<td width='280' style='background-color: #F9F49F'><textarea rows='10' name='MESSAGGIO' cols='32'></textarea></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='150' style='background-color: #F9F49F'></td>");
document.write("<td width='280' style='background-color: #F9F49F'><input type='button' value='Invia' onClick='Modulo_scambio_link()'> <input type='reset' value='Cancella Dati'></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='430' style='background-color: #F9F49F' colspan='2'>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write("</form>");
document.write("</div>");
}
//------------------------------funzione controllo input form x scambio link-----------------------
 function Modulo_scambio_link(){
  
  var EMAIL = document.modulo1.EMAIL.value; 
  var email_reg_exp = /^([a-zA-Z0-9_\.\-]{2,})+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;
  var LINK = document.modulo1.LINK.value;
  var link_reg_exp  = /^([w-w]{3,3})+\.(([a-z0-9_\.\-]{2,})+\.)+([a-z0-9]{2,})+$/;


        if ((document.modulo1.NOME.value == "") || (document.modulo1.NOME.value == "undefined")) {
           alert("Inserire Nome & Cognome");
           document.modulo1.NOME.focus();
           return false;
        }
        else if (!email_reg_exp.test(EMAIL) || (EMAIL == "") || (EMAIL == "undefined")) {
           alert("Inserire un indirizzo email valido");
           document.modulo1.EMAIL.value = "";
           document.modulo1.EMAIL.select();
           document.modulo1.EMAIL.focus();
           return false;
        }
        else if ((document.modulo1.CONFERMA.value == "") || (document.modulo1.CONFERMA.value == "undefined")) {
           alert("Il campo Conferma Email è obbligatorio.");
           document.modulo1.CONFERMA.focus();
           return false;
        }
        else if (document.modulo1.EMAIL.value != document.modulo1.CONFERMA.value) {
           alert("L' Email confermata è diversa da quella scelta, controllare.");
           document.modulo1.CONFERMA.value = "";
           document.modulo1.CONFERMA.focus();
           return false;
        }
        else if ((document.modulo1.NOME_STRUTTURA.value == "")) {
           alert("Inserire il Nome del B&B");
           document.modulo1.NOME_STRUTTURA.focus();
           return false;
        }
        else if ((document.modulo1.PAESE_STRUTTURA.value == "")) {
           alert("Inserire il paese dove è locata la struttura");
           document.modulo1.PAESE_STRUTTURA.focus();
           return false;
        }
        else if ((document.modulo1.PROVINCIA_STRUTTURA.value == "")) {
           alert("Inserire la provincia dove è locata la struttura");
           document.modulo1.PROVINCIA_STRUTTURA.focus();
           return false;
        }
        else if (!link_reg_exp.test(LINK) || (LINK == "") || (LINK == "undefined")) {
           alert("Inserire L'indirizzo del sito web del B&B nel formato - www.miosito.it -");
           document.modulo1.LINK.value = "";
           document.modulo1.LINK.select();
           document.modulo1.LINK.focus();
           return false;
        }

   else {
           document.modulo1.action = "formmail_scambio_link.php";
           document.modulo1.submit();
        }
  }

//------------------------------end scripts-----------------------
//-->











