	$(document).ready(function(){
		$("div#controller").jFlow({
			slides: "#slides",
			controller: ".jFlowControl", // must be class, use . sign
			slideWrapper : "#jFlowSlide", // must be id, use # sign
			selectedWrapper: "jFlowSelected",  // just pure text, no sign
			width: "1000px",
			height: "305px",
			duration: 400,
			interval: 4000, // this is the amount of milliseconds before the switch happens
			prev: ".jFlowPrev", // must be class, use . sign
			next: ".jFlowNext" // must be class, use . sign
		});
	});

$(document).ready(function () {    
$('#nav li').hover(   
function () {   
$('ul', this).slideDown(100);},    
function () {   
$('ul', this).slideUp(100);            
});          
});  
	
	
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) {
window.location = "http://www.voltoncino.com/iphone#pineta";
}

function newsletter()
{
if ( document.newsl.email.value == '')
{
alert ("Devi inserire una email");
document.newsl.email.focus;
return false
}
return true
}
