function wiget_page( el , b , n )
{
	var news = $(el);
	var indice = 0;
	var indiceLast = news.find('li').length - 1;
	news.find(b).bind('click',function(e){
		if( indice > 0 ) {
			indice--;
			news.find('li:eq('+indice+')').removeClass('hide');
			news.find('li').not(':eq('+indice+')').addClass('hide');
		}
		e.preventDefault();
	});
	news.find(n).bind('click',function(e){
		next = indice + 1;
		if( next <= indiceLast ) {
			indice++;
			news.find('li:eq('+indice+')').removeClass('hide');
			news.find('li').not(':eq('+indice+')').addClass('hide');
		}
		e.preventDefault();
	});
}

function widget_client_space( el , el2 , l , f )
{
	$(el).bind('click',function(e){
		$(l).hide(); $(f).show(); e.preventDefault();
	});
	$(el2).bind('click',function(e){
		$(f).hide(); $(l).show(); e.preventDefault();
	});
}
