function addHover() {
	html = '<div class="hoverProduct" style="display: block;"></div>';
	jQuery(".short_product").prepend(html);
	jQuery(".familly").prepend(html);
	jQuery(".hoverProduct").bind("mouseenter",function() {
		jQuery(this).hide();
	});
	jQuery(".short_product").bind("mouseleave",function() {
		jQuery(this).find(".hoverProduct").show();
	});
	jQuery(".familly").bind("mouseleave",function() {
		jQuery(this).find(".hoverProduct").show();
	});
}

function children_selector(url) {
	jQuery("#les_produits").parent().append('<div class="loader"><div class="loading"></div>Chargement</div>');
	jQuery("#les_produits").fadeOut(200,function() {
		jQuery.ajax({
			type: "GET",
			url: url,
			cache: false,
			dataType: "html",
			success: function(data) {
				jQuery("#les_produits").fadeOut(200,function() {
					jQuery("#les_produits").html(jQuery(data).find("#les_produits").html());
					jQuery("#les_produits a.toMove").remove();
					jQuery("#les_produits").fadeIn(200,function() {jQuery(".loader").remove();})
					addHover();
				});
			},
			error: function() {
				jQuery("#les_produits").html("<p>Une erreur s'est produite, veuillez reselectionner une catégorie de produits.</p><p>Si cette erreur se reproduit, veuillez contacter notre webmaster...</p>");
			}
		});
	});
}
