function getPath(Url) {
	var ind = Url.toString().indexOf("?");
	var tempUrl = Url.toString();
	if (ind > -1)
		tempUrl = Url.toString().substring(0, ind - 1)
	return tempUrl.substring(0, tempUrl.lastIndexOf("/") + 1);
}
$(this).ready(function() {
			if ((window.opener) && (window.opener.$)) {
				mother = window.opener.$;
				$(this).find("#pointDiaporama").empty();
				$("#pointDiaporama").html(mother("#pointDiaporama").html());
				$(".diapo_prev").remove();
				$(".diapo_next").remove();
				$(".jeux_bouton").each(function() {
							if ($(this).val() == "Solution")
								$(this).remove();
						});
				$("#diapo_navigation").remove();
				mother("#pointDiaporama").sauveHTML($("html").html());
				$(this).find("script").each(function() {
							if ($(this).attr("src") == "player.js")
								$(this).remove();
						});
			}
		});