/**
 * Code by Giancarlo "GM" Moschitta (info@myphp.it) and Simone "negatyve" Auteritano (negatyve@negatyve.com)
 * Powered by jQuery (http://jquery.com))
**/
/**
 * Avvia tutti gli script necessari alle liste di Manager
**/
function initList()
{
	setResultsListHoverEffect();
}

/**
 * Imposta gli stili per l'effetto hover sugli elementi della lista
**/
function setResultsListHoverEffect()
{
	$( '.results-list li' )
		.hover
		(
			function(){ $( this ).addClass( 'hovered' ) },
			function(){ $( this ).removeClass( 'hovered' ) }
		).click
		(
			function()
			{
				gotoSelectedPage( $( this ).find( '.title' ).attr( 'href' ) );
			}
		)
		.css( 'cursor', 'pointer' )
	;
}

/**
 * Associa la funzione initList all'evento onload della pagina
**/
$( document ).ready( initList );