function noSelect()
{
	document.onselectstart = function() {return false;} // ie
	document.onmousedown = function() {return false;} // mozilla
	document.oncontextmenu = function() {return false;}
}
/*
window.onload = function(){	
	top.moveTo(0,0); 
	window.resizeTo(Math.min(screen.availWidth,1920),Math.min(screen.availHeight,1024)); 
};

window.onresize = function (){
	//window.resizeTo(1024,750);
	//alert(document.body.clientHeight);
	//var a =(document.body.clientHeight-760);
	//document.getElementById("slider").style.marginTop = document.body.clientHeight < 760 ? a : "0px";
	
	var a =(document.body.clientHeight-390);
	document.getElementById("item").style.top = Math.min(Math.max(a,275),410) + "px";
};
*/

function gallery(){
	var path = 'images/storia/gallery/';
    var options = { language: 'it', players:  ['img'], overlayColor : '#FFFFFF', overlayOpacity: 0.8, resizeDuration:0.3, fadeDuration:0.25, handleOversize:'resize' };
	
    var img1 = { player: 'img', content: path + '1.jpg', options: options };
    var img2 = { player: 'img', content: path + '2.jpg', options: options };
   //var img3 = { player: 'img', content: path + '3.jpg', options: options };
    var img4 = { player: 'img', content: path + '4.jpg', options: options };
        
	Shadowbox.open([img1, img2, img4]);
}
