
/*
	<!-- Hide script from older browsers
	setTimeout ("changePage()", 3000);

	function changePage() {
		if (self.parent.frames.length != 0)
			self.parent.location=document.location;
		}

	// end hiding contents -->

// vecchia funzione
/*
 <!--
var messaggio="Grazie :)" 
function click(e) {
if (document.all) {
if (event.button == 2 || event.button == 3) {
alert(messaggio);
return false;
}
}
if (document.layers) {
if (e.which == 3 || e.which == 2) {
alert(messaggio);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
-->
*/
//fine vecchia funzione
//nuova funzione
function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
alert("Grazie :)");
return false;
}
return true;
}

document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;