function Nouvelle (link, toShow) {
	
	this.link = link;
	this.toShow = toShow;
/////this.toShow.hide ();
	
	

	
	
	// public functions
	this.over = Nouvelle_over;
	this.out = Nouvelle_out;

	
	// add listeners
	// we use some special function definition to be able to access
	// nouvelle object (this) inside the hover function in which
	// this refers to the hovered element 
	
	
	// this.link.hover (
	// 		(function(nouvelle){ 
	// 			return function(){
	// 	     		nouvelle.over ();
	// 				}
	// 			}
	// 		) (this), 
	// 		
	// 		(function (nouvelle) {
	// 			return function () {
	// 				nouvelle.out ();
	// 			}
	// 		}) (this)
	// 	);
}


function Nouvelle_over () {
	if (this.toShow.html () != "") {
	//	console.log ('OVER');
	//	console.log ($(this.toShow+":animated"));
		//$(this.toShow+":animated").stop ();
		this.toShow.fadeIn ('normal');
	}
}

function Nouvelle_out () {
	if (this.toShow.html () != "") {
	//	console.log ('OUT');
		//$(this.toShow+":animated").stop ();
		this.toShow.fadeOut ('fast');
	}	
}
