function ouvrir(theURL, features)
{
	var w = window.open(theURL, '', features);
}

$(function ()
{
	if ($(".catalogueNavigation a").length == 0) $(".catalogueNavigation").css("display", "none");
	
	$("a#printArticle").click(function ()
	{
		$("a[href^=credit]").remove();
		$(".catalogueArticle style").remove();
		$(".catalogueArticle script").remove();
		$(".catalogueArticle table").remove();
		$("#bim").remove();
		$("img.carte").removeClass("carte").css("display", "block").css("margin", "0 0 1em");
		$("#sim img").removeAttr("style").css("display", "block").css("margin", "0 0 1em");
		
		var jLogo    = $("td.leftColumn>a>img");
		var jAddress = $("address");
		var jPhotos  = $("#sim");
		
		$("#sim").remove();
		
		var sContent = $("td.content").html();
		
		$("body").empty();
		$("body").css("background-color", "#fff");
		$("body").css("padding", "1em");
		$("body").append(jLogo);
		$("body").append(jAddress);
		$("body").append(sContent);
		$("body").append(jPhotos);
		
		//print();
		//location.reload();
	});
});