// JavaScript Document
//
// Finestra per Note Legali e Specifiche tecniche

		function finestra1(str)
		{
			searchWin =
			window.open(str,'finestra1','scrollbars=yes,resizable=no,width=400,height=400,status=no,location=no,toolbar=no,menubar=no');
		//		searchWin.refer = self;	
		}

// Finestra per Pop Up "Votami"

		function finestra2(str)
		{
			searchWin =
			window.open(str,'finestra2','scrollbars=yes,resizable=no,width=240,height=550,status=no,location=no,toolbar=no,menubar=no');
		//		searchWin.refer = self;
		}
// Finestra per testi

		function testo(str)
		{
			searchWin =
			window.open(str,'testo','scrollbar=yes,resizable=yes,width=400,height=400,status=no,location=no,toolbar=no,menubar=no');
		}

// Finestra per immagini
		
		function apri(file,titolo,l,h)
			{

			popup=window.open('','','width='+l+',height='+h+',scrollbars=no,left=100,top=100');
    		popup.document.open();
    		popup.document.writeln('<html><head><title>'+titolo+'</title>');
    		popup.document.writeln('<meta http-equiv="imagetoolbar" content="no"></head>');
    		popup.document.writeln('<body onLoad="self.focus();" style="margin:0"><img src="'+file+'" border="0" width="'+l+'" height="'+h+'" alt="">');
    		popup.document.writeln('</body></html>');
    		popup.document.close();
			}


//Nuova funzione per protezione immagini

		function right(e)
			{
			if(navigator.appName == 'Netscape' && (e.wich == 3 || e.wich == 2)) return false;
			else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3))
				{
					alert("Spiacenti, il tasto destro del mouse è disabilitato");
					return false;
				}
			return true;
			}
			document.onmousedown=right;
			if(document.layers) window.captureEvents(Event.MOUSEDOWN);
			window.onmousedown=right;

// Fine nuova funzione
	