// funzione per far aprire un pop up
function gowindow(str, titolo,w,h) {
	openwin = window.open(str,titolo,'width='+ w +',height='+ h +',status=no,scrollbars=no,resizable=no,location=no,toolbar=no');
}

// cambio immagini foto gallery
$(document).ready(function(){
	$('#gallery a').click(function(){
		var nome = $(this).attr("href");
		//alert (nome);
		$('#main_foto').attr({ src: nome });
		$('#pano').css("display","none");
		return false;
	});
});