jQuery(document).ready(function(){
	$('form#eventi_search_form .search_button .formsubmit').css('cursor', 'pointer');
	$('form#eventi_search_form .reset_button .formsubmit').css('cursor', 'pointer');
	$('form#eventi_search_form .search_button').css('opacity', '1.0');
	$('form#eventi_search_form .reset_button').css('opacity', '1.0');

	jQuery("#content_eventi .listrowsmall").css("opacity", 0.85);

	// this adds hover to full opacity:
	jQuery("#content_eventi .listrowsmall").hover(
		// hover state
		function() {
			jQuery(this).css({opacity: 1.0});
		},
		// back to off
		function() {
			jQuery(this).css({opacity: 0.85});
		}
	);

	$('form#eventi_search_form .search_button').click(function() {
		document.eventi_search_form.submit();
	});

	$('form#eventi_search_form .reset_button').click(function() {
		document.location.href = 'eventi.php?action=RESET';
	});
});