function nInterview() {
	this.ContainerGrandId = 'mod-interview-reduit';
	this.allreadyCharged = false;
	this.isIE = (jQuery.browser.msie);
	this.init();
}

nInterview.prototype = {

	/**
	 * On déplace la div conteneur et on l'ajoute au bas du DOM (au niveau du body).
	 * On évite ainsi tous les problèmes de positionnement/z-index etc...
	 */
	init: function() {

		var myBind = this;
		div_container = $('#'+this.ContainerGrandId);
		clone = div_container.clone();
		div_container.remove();
		clone.appendTo('body');
		clone = null; delete(clone);
	},

	display: function() {

		if(!this.allreadyCharged) this.setPosition();

		var div_container = $('#'+this.ContainerGrandId);
		if(this.isIE) $('#'+this.ContainerGrandId).show();
		else $('#'+this.ContainerGrandId).fadeIn(500);
	},

	hide: function() {
		if(this.isIE) $('#'+this.ContainerGrandId).hide();
		else $('#'+this.ContainerGrandId).fadeOut(200);
	},

	setPosition: function() {

		this.allreadyCharged = true;

		div_resume = $('#mod-interview');
		resumePos = div_resume.offset();
		div_container = $('#'+this.ContainerGrandId);

		var posTop = resumePos.top + div_resume.height() - div_container.height() - 29;
		var posLeft = resumePos.left + div_resume.width() - div_container.width() + 2;

		div_container.css({'top':posTop, 'left':posLeft});
	}
}
