var message="Per utilizzare queste immagini è necessario chiedere l'autorizzazione tramite il form contatti"; function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") function printWindow() { bV = parseInt(navigator.appVersion); if (bV >= 4) window.print(); } // End --> var bookmarkurl="http://www.ristorantelagritta.it/"; var bookmarktitle="Residence Gemini"; function addbookmark(){ if (document.all) window.external.AddFavorite(bookmarkurl,bookmarktitle) } function Controllo(){ var strError, i, contatoreErrori; VettoreErrori=new Array(); Error; Error=false; contatoreErrori=0; strErrore="Correggere i seguenti errori:"; strNome="- Campo Nome non compilato"; strCognome="- Campo Cognome non compilato"; strMail="- Campo E-mail non corretto"; strRichiesta="- Campo Richiesta non compilato"; strTrattamento="Non è stata accettata la normativa sul trattamento dei dati personali."; var email_reg_exp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/; if (document.modulo.nome.value=="") { strError=strNome; VettoreErrori[contatoreErrori]=strError; contatoreErrori+=1; Error= true } if (document.modulo.cognome.value=="") { strError=strCognome; VettoreErrori[contatoreErrori]=strError; contatoreErrori+=1; Error= true } if (document.modulo.richiesta.value=="") { strError=strRichiesta; VettoreErrori[contatoreErrori]=strError; contatoreErrori+=1; Error= true } if (document.modulo.email.value=="") { strError=strMail; VettoreErrori[contatoreErrori]=strError; contatoreErrori+=1; Error= true }else if (!email_reg_exp.test(document.modulo.email.value)){ strError=strMail; VettoreErrori[contatoreErrori]=strError; contatoreErrori+=1; Error= true } if (document.modulo.trattamento_dati.checked==false) { strError=strTrattamento; VettoreErrori[contatoreErrori]=strError; contatoreErrori+=1; Error= true } if (Error==true) { strError=""; for (i=0;i < contatoreErrori;i++){ strError+="\n"+VettoreErrori[i]; } window.alert(strErrore+strError); valore=false; } else { //loading=window.open("loading.htm","Attesa","width=400,height=150,toolbar=no,status=no"); valore=true; } return valore; } function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function panoramica1() { window.open('panoramiche/esternocompleta/default.htm','panoramica1','resizable=no,width=400,height=200') } function panoramica2() { window.open('panoramiche/interno/default.htm','panoramica2','resizable=no,width=400,height=200') } function panoramica3() { window.open('panoramiche/mare/default.htm','panoramica3','resizable=no,width=400,height=200') } function panoramica4() { window.open('panoramiche/appartamento1/default.htm','panoramica4','resizable=no,width=400,height=200') } function internibilocale1() { window.open('img/photogalery/internibilocale/foto1.htm','internibilocale1','resizable=no,width=532,height=682') } function internibilocale2() { window.open('img/photogalery/internibilocale/foto2.htm','internibilocale2','resizable=no,width=532,height=682') } function internibilocale3() { window.open('img/photogalery/internibilocale/foto3.htm','internibilocale3','resizable=no,width=532,height=682') } function internibilocale4() { window.open('img/photogalery/internibilocale/foto4.htm','internibilocale4','resizable=no,width=532,height=682') } function internibilocale5() { window.open('img/photogalery/internibilocale/foto5.htm','internibilocale5','resizable=no,width=532,height=682') } function internibilocale6() { window.open('img/photogalery/internibilocale/foto6.htm','internibilocale6','resizable=no,width=532,height=682') } function internitrilocale1() { window.open('img/photogalery/internitrilocale/foto1.htm','internitrilocale1','resizable=no,width=532,height=682') } function internitrilocale2() { window.open('img/photogalery/internitrilocale/foto2.htm','internitrilocale2','resizable=no,width=532,height=682') } function internitrilocale3() { window.open('img/photogalery/internitrilocale/foto3.htm','internitrilocale3','resizable=no,width=532,height=682') } function internitrilocale4() { window.open('img/photogalery/internitrilocale/foto4.htm','internitrilocale4','resizable=no,width=532,height=682') } function internitrilocale5() { window.open('img/photogalery/internitrilocale/foto5.htm','internitrilocale5','resizable=no,width=532,height=682') } function internitrilocale6() { window.open('img/photogalery/internitrilocale/foto6.htm','internitrilocale6','resizable=no,width=532,height=682') } function spiaggia1() { window.open('img/photogalery/spiaggia/foto1.htm','spiaggia1','resizable=no,width=532,height=682') } function spiaggia2() { window.open('img/photogalery/spiaggia/foto2.htm','spiaggia2','resizable=no,width=532,height=682') } function spiaggia3() { window.open('img/photogalery/spiaggia/foto3.htm','spiaggia3','resizable=no,width=532,height=682') } function spiaggia4() { window.open('img/photogalery/spiaggia/foto4.htm','spiaggia4','resizable=no,width=532,height=682') } function spiaggia5() { window.open('img/photogalery/spiaggia/foto5.htm','spiaggia5','resizable=no,width=532,height=682') } function spiaggia6() { window.open('img/photogalery/spiaggia/foto6.htm','spiaggia6','resizable=no,width=532,height=682') } function esterni1() { window.open('img/photogalery/esterni/foto1.htm','esterni1','resizable=no,width=532,height=682') } function esterni2() { window.open('img/photogalery/esterni/foto2.htm','esterni2','resizable=no,width=532,height=682') } function esterni3() { window.open('img/photogalery/esterni/foto3.htm','esterni3','resizable=no,width=532,height=682') } function esterni4() { window.open('img/photogalery/esterni/foto4.htm','esterni4','resizable=no,width=532,height=682') } function esterni5() { window.open('img/photogalery/esterni/foto5.htm','esterni5','resizable=no,width=532,height=682') } function esterni6() { window.open('img/photogalery/esterni/foto6.htm','esterni6','resizable=no,width=532,height=682') } function grotte_marine() { window.open('img/escursioni/grotte_marine/foto1.htm','grotte_marine','resizable=no,width=532,height=682') } function grotte_marine1() { window.open('img/escursioni/grotte_marine/foto1.htm','grotte_marine','resizable=no,width=532,height=682') } function grotte_marine2() { window.open('img/escursioni/grotte_marine/foto2.htm','grotte_marine','resizable=no,width=532,height=682') } function grotte_marine3() { window.open('img/escursioni/grotte_marine/foto3.htm','grotte_marine','resizable=no,width=532,height=682') } function grotte_marine4() { window.open('img/escursioni/grotte_marine/foto4.htm','grotte_marine','resizable=no,width=532,height=682') } function grotte_marine5() { window.open('img/escursioni/grotte_marine/foto5.htm','grotte_marine','resizable=no,width=532,height=682') } function grotte_marine6() { window.open('img/escursioni/grotte_marine/foto6.htm','grotte_marine','resizable=no,width=532,height=682') } function tremiti1() { window.open('img/escursioni/tremiti/foto1.htm','tremiti','resizable=no,width=532,height=682') } function tremiti2() { window.open('img/escursioni/tremiti/foto2.htm','tremiti','resizable=no,width=532,height=682') } function tremiti3() { window.open('img/escursioni/tremiti/foto3.htm','tremiti','resizable=no,width=532,height=682') } function tremiti4() { window.open('img/escursioni/tremiti/foto4.htm','tremiti','resizable=no,width=532,height=682') } function tremiti5() { window.open('img/escursioni/tremiti/foto5.htm','tremiti','resizable=no,width=532,height=682') } function tremiti6() { window.open('img/escursioni/tremiti/foto6.htm','tremiti','resizable=no,width=532,height=682') } function foresta_umbra() { window.open('img/escursioni/foresta_umbra/foto1.htm','foresta_umbra','resizable=no,width=532,height=682') } function foresta_umbra1() { window.open('img/escursioni/foresta_umbra/foto1.htm','foresta_umbra','resizable=no,width=532,height=682') } function foresta_umbra2() { window.open('img/escursioni/foresta_umbra/foto2.htm','foresta_umbra','resizable=no,width=532,height=682') } function foresta_umbra3() { window.open('img/escursioni/foresta_umbra/foto3.htm','foresta_umbra','resizable=no,width=532,height=682') } function san_giovanni() { window.open('img/escursioni/san_giovanni/foto1.htm','san_giovanni','resizable=no,width=532,height=682') } function san_giovanni1() { window.open('img/escursioni/san_giovanni/foto1.htm','san_giovanni','resizable=no,width=532,height=682') } function san_giovanni2() { window.open('img/escursioni/san_giovanni/foto2.htm','san_giovanni','resizable=no,width=532,height=682') } function san_giovanni3() { window.open('img/escursioni/san_giovanni/foto3.htm','san_giovanni','resizable=no,width=532,height=682') } function san_giovanni4() { window.open('img/escursioni/san_giovanni/foto4.htm','san_giovanni','resizable=no,width=532,height=682') } function san_giovanni5() { window.open('img/escursioni/san_giovanni/foto5.htm','san_giovanni','resizable=no,width=532,height=682') } function san_giovanni6() { window.open('img/escursioni/san_giovanni/foto6.htm','san_giovanni','resizable=no,width=532,height=682') } function sant_angelo1() { window.open('img/escursioni/sant_angelo/foto1.htm','sant_angelo','resizable=no,width=532,height=682') } function sant_angelo2() { window.open('img/escursioni/sant_angelo/foto2.htm','sant_angelo','resizable=no,width=532,height=682') } function sant_angelo3() { window.open('img/escursioni/sant_angelo/foto3.htm','sant_angelo','resizable=no,width=532,height=682') } function sant_angelo4() { window.open('img/escursioni/sant_angelo/foto4.htm','sant_angelo','resizable=no,width=532,height=682') } function sant_angelo5() { window.open('img/escursioni/sant_angelo/foto5.htm','sant_angelo','resizable=no,width=532,height=682') } function sant_angelo6() { window.open('img/escursioni/sant_angelo/foto6.htm','sant_angelo','resizable=no,width=532,height=682') } function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); }