function appelPopin(file, pathCSS){
	$("head").append('<link rel="stylesheet" type="text/css" href="'+pathCSS+'" />');

	$('body').append("<div id='popin-container'></div>");

	$('#popin-container')
	.append("<div id='bg_popin'></div>")
	.css("position","absolute")
	.css("width","100%")
	.css("height","100%")
	.css("top",0)
	.css("left",0)
	.css("z-index",5001);

	$("#bg_popin")
	.css("height","100%")
	.css("width","100%")
	.css("background-color","#000")
	.css("opacity",0.5)
	.click(function(){
		$("#popin-container").remove();
		$("[href="+pathCSS+"]").remove();
	});;

	$('#popin-container')
	.append("<div id='popin'></div>");

	$("#popin")
	.load(file+" #popup",function(){
		$("#popup").css("background-color","#2C2C2C")
		.css("padding-bottom","10px");
	})
	.css("height","470px")
	.css("overflow","auto")
	.css("position","absolute")
	.css("width","800px")
	.css("top",($("#bg_popin").height()- $("#popin").height())/2)
	.css("left",($("#bg_popin").width()- $("#popin").width())/2);

	$('#popin-container').append("<div id='close_btn'>Chiudere</div>")

	$("#close_btn")
	.css("padding","5px")
	.css("background-color","#2C2C2C")
	.css("position","absolute")
	.css("top",($("#bg_popin").height()- $("#popin").height())/2-($("#close_btn").height()+10))
	.css("right",($("#bg_popin").width()- $("#popin").width())/2)
	.css("cursor","pointer")
	.click(function(){
		$("#popin-container").remove();
		$("[href="+pathCSS+"]").remove();
	});
}
