$(document).ready(function(){$(".picto_coinPL").hover(function(){$(this).parent(".img").find(".pictoCoinPlEn").show()},function(){$(this).parent(".img").find(".pictoCoinPlEn").hide()});var a=-1;$("#contenuUnivers .produitListe.active .img").mouseout(function(){a=-1});$("#contenuUnivers .produitListe.active .img .infos").mouseover(function(){var b=$(this).parent(".img");$(".summary_grid_box").parent("div").css("z-index","1");var c=$(this).parents(".summary_grid_box").parent("div");c.css("z-index","101");var e=$("div.produitListe").index(b.parent(".produitListe"));var d=b.attr("position");a=e;$("#calqueSortie").remove();$(".miniFiche").hide();$(".produitListe .img,.produitListe .titre").css("zIndex",1);$(".produitListe .zonePrix,.produitListe .qtePanier").css("zIndex",2);var i=b.next(".miniFiche");var j=b.prev(".titre");var f=b.nextAll(".zonePrix, .qtePanier, .lien");b.css("zIndex","110");j.css("zIndex","110");f.css("zIndex","110");var k=$("#content").position();if(i.find(".contenu").is(":empty")){var h=b.attr("class").substr(4,1);var g="";if(h==0){i.find(".contenu").load("/VAD/DetailProduitLight?"+b.attr("params"),function(){var l=$(".itemOffre",this).size();if(l>5){if(d<3){g="dCol aDroite";$(".itemOffre",this).removeClass("floatLeft").addClass("floatRight")}else{g="dCol"}}else{if(d==1){g="aDroite";$(".itemOffre",this).removeClass("floatLeft").addClass("floatRight")}}if(g!=""){i.addClass(g)}if(a==e){i.show();$("#content").prepend('<div id="calqueSortie"><img src="/style1/images/commun/1ptrans.gif"></div>');$("#calqueSortie").css({top:-k.top,left:-k.left});$("#calqueSortie img").css({height:$(document).height(),width:$(document).width()});$("#calqueSortie").mouseover(function(){sortieMiniFiche(i,b,j,f)})}else{b.css("zIndex","1");j.css("zIndex","1");f.css("zIndex","2")}})}else{i.find(".contenu").load("/VAD/DetailProduitLight?"+b.attr("params"),function(){if(d==1){g="aDroite"}if(g!=""){i.addClass(g)}if(a==e){i.show();$("#content").prepend('<div id="calqueSortie"><img src="/style1/images/commun/1ptrans.gif"></div>');$("#calqueSortie").css({top:-k.top,left:-k.left});$("#calqueSortie img").css({height:$(document).height(),width:$(document).width()});$("#calqueSortie").mouseover(function(){sortieMiniFiche(i,b,j,f)})}else{b.css("zIndex","1");j.css("zIndex","1");f.css("zIndex","2")}})}}else{if(a==e){i.show();$("#content").prepend('<div id="calqueSortie"><img src="/style1/images/commun/1ptrans.gif"></div>');$("#calqueSortie").css({top:-k.top,left:-k.left});$("#calqueSortie img").css({height:$(document).height(),width:$(document).width()});$("#calqueSortie").mouseover(function(){sortieMiniFiche(i,b,j,f)})}else{b.css("zIndex","1");j.css("zIndex","1");f.css("zIndex","2")}}})});function sortieMiniFiche(d,b,c,a){d.hide();$("#calqueSortie").remove();b.css("zIndex","1");c.css("zIndex","1");a.css("zIndex","2")};
