var clickmessage="Sulle foto il tasto destro del mouse è disabilitato"

function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
}

var fieldstocheck = new Array(); 
fieldnames = new Array(); 
function checkform() { 
for (i=0;i<fieldstocheck.length;i++) { 
if (eval("document.subscribeform.elements['"+fieldstocheck[i]+"'].value") == "") { 
alert("Please enter your "+fieldnames[i]); 
eval("document.subscribeform.elements['"+fieldstocheck[i]+"'].focus()"); 
return false; 
} 
} 
return true; 
} 
function addFieldToCheck(value,name) { 
fieldstocheck[fieldstocheck.length] = value; 
fieldnames[fieldnames.length] = name; 
} 

function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}

if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()

function disableselect(e){
return false
}

function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
function Chiudi() 
{
window.close(); 
}
function Indietro()
{
history.back();
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function All() { 
var w = 320; 
var h = 160; 
var pw = Math.floor((screen.width-w)/2); 
var ph = Math.floor((screen.height-h)/2); 
window.open("all_inclusive.htm","","width=" + w + ",height=" + h + ",top=" + ph + ",left=" + pw); 
}
function Tre() { 
var w = 320; 
var h = 130; 
var pw = Math.floor((screen.width-w)/2); 
var ph = Math.floor((screen.height-h)/2); 
window.open("formula_tre.htm","","width=" + w + ",height=" + h + ",top=" + ph + ",left=" + pw); 
}
function Cinque() { 
var w = 320; 
var h = 130; 
var pw = Math.floor((screen.width-w)/2); 
var ph = Math.floor((screen.height-h)/2); 
window.open("formula_cinque.htm","","width=" + w + ",height=" + h + ",top=" + ph + ",left=" + pw); 
}
function Contatti() { 
var w = 320; 
var h = 230; 
var pw = Math.floor((screen.width-w)/2); 
var ph = Math.floor((screen.height-h)/2); 
window.open("contatti.html","","width=" + w + ",height=" + h + ",top=" + ph + ",left=" + pw); 
}
function Segnala() { 
var w = 320; 
var h = 280; 
var pw = Math.floor((screen.width-w)/2); 
var ph = Math.floor((screen.height-h)/2); 
window.open("segnala.html","","width=" + w + ",height=" + h + ",top=" + ph + ",left=" + pw); 
}
function Faenza() {
var w = 430;
var h = 430;
var pw = Math.floor((screen.width-w)/2);
var ph = Math.floor((screen.height-h)/2);
window.open("../snow/faenza.html","","width=" + w + ",height=" + h + ",top=" + ph + ",left=" + pw);
}
function Pagamenti() { 
var w = 500; 
var h = 300; 
var pw = Math.floor((screen.width-w)/2); 
var ph = Math.floor((screen.height-h)/2);
window.open("pagamenti.html","","width=" + w + ",height=" + h + ",top=" + ph + ",left=" + pw +",scrollbars=yes");
}