<!-- Immagini random per la testata
	function random_img()
	{	
		var cartella_foto = "testate/"	
		root = getPath();
		
		if(root != "") {
			var splitted = root.split("/");
				root = "";
				for (i=1; i<splitted.length; i++) {
					root = root+'../';
			}
			root= "./"+root+'/parchi/'; 
		}
		var n_img			= 12;
		var myimages 	= new Array();
		for(i=0;i<n_img;i++){
			myimages[i] = (i+1) + ".jpg";
		}	
		var ry = Math.floor(Math.random()*myimages.length);
		if(ry == 0)
			ry = 1;			
			document.getElementById("img_random").style.backgroundImage = "url(" + root + cartella_foto + myimages[ry] + ")";
		//alert(document.getElementById("img_random").style.backgroundImage)//(document.getElementById("img_random").style.backgroundImage);						
	}
	
	function getPath()
	{
	var pathname = window.location.pathname;
	var iPos = window.location.pathname.toString().toLowerCase().lastIndexOf('.nsf');
	if(iPos>0) return pathname.substring(0, iPos+4);
	
	return pathname; 
	} 	
//-->


