function display ( myimage, title )
{
 	html = 	"<HTML><HEAD><TITLE>" + title + "</TITLE>" 		+
        	"</HEAD><BODY LEFTMARGIN=0 " 				+
        	"MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><br><CENTER>" 	+
        	"<IMG SRC='" + myimage + "' BORDER=0 NAME=image " 	+
        	"onload='window.resizeTo(document.image.width + 100,document.image.height + 150)'></CENTER></BODY></HTML>";
 		popup=window.open('','image','left=' + '250' + ',top=' + '150' + ',toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1');
 		popup.document.open();
 		popup.document.write(html);
 		popup.document.close();
};

function displaybgc ( myimage, title, bgcolor )
{
 	html = 	"<HTML><HEAD><TITLE>" + title + "</TITLE>" 		+
        	"</HEAD><BODY LEFTMARGIN=0 " 				+
		"bgcolor=" + bgcolor + " " +
        	"MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><br><CENTER>" 	+
        	"<IMG SRC='" + myimage + "' BORDER=0 NAME=image " 	+
        	"onload='window.resizeTo(document.image.width + 100,document.image.height + 150)'></CENTER></BODY></HTML>";
 		popup=window.open('','image','left=' + '250' + ',top=' + '150' + ',toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1');
 		popup.document.open();
 		popup.document.write(html);
 		popup.document.close();
};

var message="Tasto destro disabilitato !";

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")