
	function ns_flashcounter(ns_flashn){
	var ns_flash="http://fr.sitestat.com/kiabi/kiabi/s?"+ns_flashn+"&amp;ns_type=flash"+"&amp;ns__t="+(new Date()).getTime();
	document.ns_flashp.src=ns_flash;}
 

 	function showmodal()		
      {
      	$(".modalHP_close1").click(killmodal); 
		$(".modalHP_closebt").click(killmodal); 
		$(".modalHP_close2").click(killmodal); 
		
        var top = $(window).scrollTop()+($(window).height()/2)-($(".modalHP").height()/2);
        var left = ($(window).width()/2)-($(".modalHP").width()/2);
        $(".modalHP").css({
          top : top+"px",
          left : left+"px"
        });
        
        $('<div class="black_boxHP" style="filter: alpha(opacity=40);"></div>').css({zIndex:50,width: $(window).width(), height: 									
		$(document).height()}).appendTo(document.body).fadeIn("slow",function(){$(".modalHP").fadeIn("slow");});        
        $.ifixpng2('<%=sRootPathImage%>/000-COMMUN/1ptrans.gif');
        $('img').ifixpng2();
    }

    function showmodal_mobile() {
        $(".modalHP_close1").click(killmodal);
        $(".modalHP_closebt").click(killmodal);
        $(".modalHP_close2").click(killmodal);

        var top = $(window).scrollTop() + ($(window).height() / 2) - ($(".modalHP_mobile").height() / 2);
        var left = ($(window).width() / 2) - ($(".modalHP_mobile").width() / 2);
        $(".modalHP_mobile").css({
            top: top + "px",
            left: left + "px"
        });

        $('<div class="black_boxHP" style="filter: alpha(opacity=40);"></div>').css({ zIndex: 50, width: $(window).width(), height:
		$(document).height()
        }).appendTo(document.body).fadeIn("slow", function () { $(".modalHP_mobile").fadeIn("slow"); });
        $.ifixpng2('<%=sRootPathImage%>/000-COMMUN/1ptrans.gif');
        $('img').ifixpng2();
    }
      
      function killmodal()
      {
        $('.modalHP').fadeOut("slow",function(){$(".black_boxHP").fadeOut("slow",function(){$('.black_boxHP').remove()})});
      }

      function killmodal_mobile() {
          $('.modalHP_mobile').fadeOut("slow", function () { $(".black_boxHP").fadeOut("slow", function () { $('.black_boxHP').remove() }) });
      }
      

