$(document).ready(function(){

	/* DISABILITO IL TASTO DESTRO... */ 
		$("img").bind("contextmenu",function(e){
			return false;
		});
	/**/


	/* INIZIALIZZAZIONE SLIDESHOW */
		//$('#barra').gradient({ from: '9e2629', to: '473c3a', direction: 'horizontal', lenght: 10, position: 'center' });
		$('#vertmenu li').gradient({ from: '17394b', to: '000000', direction: 'vertical' });
		$('.contatti').gradient({ from: '000000', to: '561d18', direction: 'vertical' });
		$('.sponsor').gradient({ from: '000000', to: '561d18', direction: 'vertical' });
		$('#newsdiv ul').gradient({ from: '222222', to: 'AAAAAA', direction: 'vertical' });
	/**/

	/* MESSAGGI DI SESSIONE */
		$("#flashMessage").fadeTo(50, 0.96);
		$("#flashMessage").fadeTo(5000, 0.95);
		$("#flashMessage").fadeOut("slow");
	/**/
	
	/* INIZIALIZZAZIONE TABELLE ZEBRATE *\/
		$("tr td:first-child").addClass("col1");
		//$("table tr:even").addClass("even");
		$("table tr:odd").addClass("odd");
	/**/

	/* INIZIALIZZAZIONE SLIDESHOW */
	if ($("#photos").length > 0){
		$('#photos').galleryView({
			panel_width: 320,
			panel_height: 230,
			overlay_height: 0,
			transition_speed: 1500,
			transition_interval: 5000,
			nav_theme: 'light',
			border: '5px solid #FFFFFF',
			pause_on_hover: true
		});
	};
	/**/


});
