(function(A){A.fn.bgIframe=A.fn.bgiframe=function(D){if(A.browser.msie&&/6.0/.test(navigator.userAgent)){D=A.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},D||{});var C=function(E){return E&&E.constructor==Number?E+"px":E},B='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+D.src+'"style="display:block;position:absolute;z-index:-1;'+(D.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(D.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":C(D.top))+";left:"+(D.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":C(D.left))+";width:"+(D.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":C(D.width))+";height:"+(D.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":C(D.height))+';"/>';return this.each(function(){if(A("> iframe.bgiframe",this).length==0){this.insertBefore(document.createElement(B),this.firstChild)}})}return this}})(jQuery);;(function(A){var B=A.ajax;var C={};var D=[];var E=[];A.ajax=function(I){I=jQuery.extend(I,jQuery.extend({},jQuery.ajaxSettings,I));var G=I.port;switch(I.mode){case"abort":if(C[G]){C[G].abort()}return C[G]=B.apply(this,arguments);case"queue":var F=I.complete;I.complete=function(){if(F){F.apply(this,arguments)}jQuery([B]).dequeue("ajax"+G)};jQuery([B]).queue("ajax"+G,function(){B(I)});return;case"sync":var H=D.length;D[H]={error:I.error,success:I.success,complete:I.complete,done:false};E[H]={error:[],success:[],complete:[]};I.error=function(){E[H].error=arguments};I.success=function(){E[H].success=arguments};I.complete=function(){E[H].complete=arguments;D[H].done=true;if(H==0||!D[H-1]){for(var J=H;J<D.length&&D[J].done;J++){if(D[J].error){D[J].error.apply(jQuery,E[J].error)}if(D[J].success){D[J].success.apply(jQuery,E[J].success)}if(D[J].complete){D[J].complete.apply(jQuery,E[J].complete)}D[J]=null;E[J]=null}}}}return B.apply(this,arguments)}})(jQuery);;(function(A){A.fn.extend({autocomplete:function(D,C){var B=typeof D=="string";C=A.extend({},A.Autocompleter.defaults,{url:B?D:null,data:B?null:D,delay:B?A.Autocompleter.defaults.delay:10,max:C&&!C.scroll?10:150},C);C.highlight=C.highlight||function(E){return E};C.formatMatch=C.formatMatch||C.formatItem;return this.each(function(){new A.Autocompleter(this,C)})},result:function(B){return this.bind("result",B)},search:function(B){return this.trigger("search",[B])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(B){return this.trigger("setOptions",[B])},unautocomplete:function(){return this.trigger("unautocomplete")}});A.Autocompleter=function(J,O){var K={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,BACKSPACE:8};var B=A(J).attr("autocomplete","off").addClass(O.inputClass);var W;var Q="";var E=A.Autocompleter.Cache(O);var G=0;var L;var F={mouseDownOnSelect:false};var T=A.Autocompleter.Select(O,J,U,F);var D;A.browser.opera&&A(J.form).bind("submit.autocomplete",function(){if(D){D=false;return false}});B.bind((A.browser.opera?"keypress":"keydown")+".autocomplete",function(Y){L=Y.keyCode;switch(Y.keyCode){case K.UP:Y.preventDefault();if(T.visible()){T.prev()}else{N(0,true)}break;case K.DOWN:Y.preventDefault();if(T.visible()){T.next()}else{N(0,true)}break;case K.PAGEUP:Y.preventDefault();if(T.visible()){T.pageUp()}else{N(0,true)}break;case K.PAGEDOWN:Y.preventDefault();if(T.visible()){T.pageDown()}else{N(0,true)}break;case O.multiple&&A.trim(O.multipleSeparator)==","&&K.COMMA:case K.TAB:case K.RETURN:if(U()){Y.preventDefault();D=true;return false}break;case K.ESC:T.hide();break;default:clearTimeout(W);W=setTimeout(N,O.delay);break}}).focus(function(){G++}).blur(function(){G=0;if(!F.mouseDownOnSelect){H()}}).click(function(){if(G++>1&&!T.visible()){N(0,true)}}).bind("search",function(){var Z=(arguments.length>1)?arguments[1]:null;function Y(c,a){var d;if(a&&a.length){for(var b=0;b<a.length;b++){if(a[b].result.toLowerCase()==c.toLowerCase()){d=a[b];break}}}if(typeof Z=="function"){Z(d)}else{B.trigger("result",d&&[d.data,d.value])}}A.each(X(B.val()),function(a,b){S(b,Y,Y)})}).bind("flushCache",function(){E.flush()}).bind("setOptions",function(){A.extend(O,arguments[1]);if("data" in arguments[1]){E.populate()}}).bind("unautocomplete",function(){T.unbind();B.unbind();A(J.form).unbind(".autocomplete")});function U(){var Y=T.selected();if(!Y){return false}var Z=Y.result;Q=Z;if(O.multiple){var a=X(B.val());if(a.length>1){Z=a.slice(0,a.length-1).join(O.multipleSeparator)+O.multipleSeparator+Z}Z+=O.multipleSeparator}B.val(Z);I();B.trigger("result",[Y.data,Y.value]);return true}function N(Y,a){if(L==K.DEL){T.hide();return}var Z=B.val();if(!a&&Z==Q){return}Q=Z;Z=M(Z);if(Z.length>=O.minChars){B.addClass(O.loadingClass);if(!O.matchCase){Z=Z.toLowerCase()}S(Z,R,I)}else{V();T.hide()}}function X(Z){if(!Z){return[""]}var a=Z.split(O.multipleSeparator);var Y=[];A.each(a,function(b,c){if(A.trim(c)){Y[b]=A.trim(c)}});return Y}function M(Y){if(!O.multiple){return Y}var Z=X(Y);return Z[Z.length-1]}function C(Y,Z){if(O.autoFill&&(M(B.val()).toLowerCase()==Y.toLowerCase())&&L!=K.BACKSPACE){B.val(B.val()+Z.substring(M(Q).length));A.Autocompleter.Selection(J,Q.length,Q.length+Z.length)}}function H(){clearTimeout(W);W=setTimeout(I,200)}function I(){var Y=T.visible();T.hide();clearTimeout(W);V();if(O.mustMatch){B.search(function(Z){if(!Z){if(O.multiple){var a=X(B.val()).slice(0,-1);B.val(a.join(O.multipleSeparator)+(a.length?O.multipleSeparator:""))}else{B.val("")}}})}if(Y){A.Autocompleter.Selection(J,J.value.length,J.value.length)}}function R(Z,Y){if(Y&&Y.length&&G){V();T.display(Y,Z);C(Z,Y[0].value);T.show()}else{I()}}function S(c,b,a){if(!O.matchCase){c=c.toLowerCase()}var Y=E.load(c);if(Y&&Y.length){b(c,Y)}else{if((typeof O.url=="string")&&(O.url.length>0)){var Z={timestamp:+new Date()};A.each(O.extraParams,function(d,e){Z[d]=typeof e=="function"?e():e});A.ajax({mode:"abort",port:"autocomplete"+J.name,dataType:O.dataType,url:O.url,data:A.extend({q:M(c),limit:O.max},Z),success:function(d){var e=O.parse&&O.parse(d)||P(d);E.add(c,e);b(c,e)}})}else{T.emptyList();a(c)}}}function P(Y){var a=[];if(Y!=null){var c=Y.split("\n");for(var Z=0;Z<c.length;Z++){var b=A.trim(c[Z]);if(b){b=b.split("|");a[a.length]={data:b,value:b[0],result:O.formatResult&&O.formatResult(b,b[0])||b[0]}}}}return a}function V(){B.removeClass(O.loadingClass)}};A.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:false,matchSubset:true,matchContains:false,cacheLength:10,max:100,mustMatch:false,extraParams:{},selectFirst:true,formatItem:function(B){return B[0]},formatMatch:null,autoFill:false,width:0,multiple:false,multipleSeparator:", ",highlight:function(C,B){return C.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+B.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:true,scrollHeight:180};
A.Autocompleter.Cache=function(G){var C={};var E=0;function F(J,K){if(!G.matchCase){J=J.toLowerCase()}var I=J.indexOf(K);if(G.matchContains=="word"){I=J.toLowerCase().search("\\b"+K.toLowerCase())}if(I==-1){return false}return I==0||G.matchContains}function B(I,J){if(E>G.cacheLength){D()}if(!C[I]){E++}C[I]=J}function H(){if(!G.data){return false}var O={},K=0;if(!G.url){G.cacheLength=1}O[""]=[];for(var J=0,L=G.data.length;J<L;J++){var M=G.data[J];M=(typeof M=="string")?[M]:M;var P=G.formatMatch(M,J+1,G.data.length);if(P===false){continue}var I=P.charAt(0).toLowerCase();if(!O[I]){O[I]=[]}var N={value:P,data:M,result:G.formatResult&&G.formatResult(M)||P};O[I].push(N);if(K++<G.max){O[""].push(N)}}A.each(O,function(Q,R){G.cacheLength++;B(Q,R)})}setTimeout(H,25);function D(){C={};E=0}return{flush:D,add:B,populate:H,load:function(M){if(!G.cacheLength||!E){return null}if(!G.url&&G.matchContains){var J=[];for(var L in C){if(L.length>0){var I=C[L];A.each(I,function(N,O){if(F(O.value,M)){J.push(O)}})}}return J}else{if(C[M]){return C[M]}else{if(G.matchSubset){for(var K=M.length-1;K>=G.minChars;K--){var I=C[M.substr(0,K)];if(I){var J=[];A.each(I,function(N,O){if(F(O.value,M)){J[J.length]=O}});return J}}}}}return null}}};A.Autocompleter.Select=function(P,I,Q,D){var C={ACTIVE:"ac_over"};var L,B=-1,E,S="",O=true,F,K;function H(){if(!O){return}F=A("<div/>").hide().addClass(P.resultsClass).css("position","absolute").appendTo(document.body);K=A("<ul/>").appendTo(F).mouseover(function(T){if(R(T).nodeName&&R(T).nodeName.toUpperCase()=="LI"){B=A("li",K).removeClass(C.ACTIVE).index(R(T));A(R(T)).addClass(C.ACTIVE)}}).click(function(T){A(R(T)).addClass(C.ACTIVE);Q();I.focus();return false}).mousedown(function(){D.mouseDownOnSelect=true}).mouseup(function(){D.mouseDownOnSelect=false});if(P.width>0){F.css("width",P.width)}O=false}function R(U){var T=U.target;while(T&&T.tagName!="LI"){T=T.parentNode}if(!T){return[]}return T}function N(V){L.slice(B,B+1).removeClass(C.ACTIVE);M(V);var T=L.slice(B,B+1).addClass(C.ACTIVE);if(P.scroll){var U=0;L.slice(0,B).each(function(){U+=this.offsetHeight});if((U+T[0].offsetHeight-K.scrollTop())>K[0].clientHeight){K.scrollTop(U+T[0].offsetHeight-K.innerHeight())}else{if(U<K.scrollTop()){K.scrollTop(U)}}}}function M(T){B+=T;if(B<0){B=L.size()-1}else{if(B>=L.size()){B=0}}}function J(T){return P.max&&P.max<T?P.max:T}function G(){K.empty();var W=J(E.length);for(var U=0;U<W;U++){if(!E[U]){continue}var T=P.formatItem(E[U].data,U+1,W,E[U].value,S);if(T===false){continue}var V=A("<li/>").html(P.highlight(T,S)).addClass(U%2==0?"ac_even":"ac_odd").appendTo(K)[0];A.data(V,"ac_data",E[U])}L=K.find("li");if(P.selectFirst){L.slice(0,1).addClass(C.ACTIVE);B=0}if(A.fn.bgiframe){K.bgiframe()}}return{display:function(T,U){H();E=T;S=U;G()},next:function(){N(1)},prev:function(){N(-1)},pageUp:function(){if(B!=0&&B-8<0){N(-B)}else{N(-8)}},pageDown:function(){if(B!=L.size()-1&&B+8>L.size()){N(L.size()-1-B)}else{N(8)}},hide:function(){F&&F.hide();L&&L.removeClass(C.ACTIVE);B=-1},visible:function(){return F&&F.is(":visible")},current:function(){return this.visible()&&(L.filter("."+C.ACTIVE)[0]||P.selectFirst&&L[0])},show:function(){var U=A(I).offset();F.css({width:typeof P.width=="string"||P.width>0?P.width:A(I).width(),top:U.top+I.offsetHeight,left:U.left}).show();if(P.scroll){K.scrollTop(0);K.css({maxHeight:P.scrollHeight,overflow:"auto"});if(A.browser.msie&&typeof document.body.style.maxHeight==="undefined"){var T=0;L.each(function(){T+=this.offsetHeight});var V=T>P.scrollHeight;K.css("height",V?P.scrollHeight:T);if(!V){L.width(K.width()-parseInt(L.css("padding-left"))-parseInt(L.css("padding-right")))}}}},selected:function(){var T=L&&L.filter("."+C.ACTIVE).removeClass(C.ACTIVE);return T&&T.length&&A.data(T[0],"ac_data")},emptyList:function(){K&&K.empty()},unbind:function(){F&&F.remove()}}};A.Autocompleter.Selection=function(C,E,B){if(C.createTextRange){var D=C.createTextRange();D.collapse(true);D.moveStart("character",E);D.moveEnd("character",B);D.select()}else{if(C.setSelectionRange){C.setSelectionRange(E,B)}else{if(C.selectionStart){C.selectionStart=E;C.selectionEnd=B}}}C.focus()}})(jQuery);;AppCore.ready(function(){AppCore.register("searchAutocomplete",function(){return{urlAutocomplete:"",init:function(){AppCore.$("#category").change(function(){$("#Fnac_Search").flushCache()});AppCore.$("#Fnac_Search").autocomplete(this.urlAutocomplete,{width:260,selectFirst:false,max:10,scrollHeight:200,cacheLength:0,delay:100,dataType:"jsonp",highlight:function(B,A){return B.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+A.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","i"),"<strong>$1</strong>")},extraParams:{"text":function(){return $("#Fnac_Search").val()},"category":function(){var B=new RegExp("!1$");var A=$("#category").val().replace(B,"");return A},"encoding":"UTF-8"},parse:function(A){return $.map(A,function(B){return{data:B,value:B.sentence,result:B.sentence}})},formatItem:function(A){return A.sentence}});AppCore.$("#Fnac_Search").result(function(B,A,C){if(A){AppCore.$("#QuickSearchForm").submit()}});AppCore.$("#QuickSearchForm").submit(function(){var B=$("#Fnac_Search").val();var A=/"*/g;$("#Fnac_Search").val(B.replace(A,""));if(B==""){return false}if($(".pipeSearchWidth .text").val()==""){return false}})}}})});;var IS_IE=document.all&&window.print&&!window.opera&&/MSIE [56]/.test(navigator.userAgent);var IS_IE7=document.all&&window.print&&!window.opera&&/MSIE [78]/.test(navigator.userAgent);var IS_IE_ALL=document.all&&window.print&&!window.opera&&/MSIE/.test(navigator.userAgent);var IE_W3C=IS_IE&&/MSIE [789]/.test(navigator.userAgent);var IS_Webkit=/Konqueror|Safari|KHTML/.test(navigator.userAgent);var heightPropertyToUse=IS_IE?"height":"minHeight";var arrLineOfMiseEnAvant=[];var arrLineOfAlignedProduct=[];var arrBlocksInCol=[];var arrLineOfBigBlock=[];var listes_inline=[];var listes_2cols=[];$(function(){contextMenu.init();initBlocksDisplay()});document.documentElement.className+=" hasJS";if(IS_IE){document.documentElement.className+=" IS_IE"}else{if(IS_IE7){document.documentElement.className+=" IS_IE7"}}var _initBlocksDisplayLoaded=false;function initBlocksDisplay(){getAllBlocks();fixAligneProduits();getAllLists();_initBlocksDisplayLoaded=true}$(window).load(function(){if(!_initBlocksDisplayLoaded){initBlocksDisplay()}fixMiseEnAvant();fixListeInline();fixListe2cols();fixBlocksHeight();fixCorners()});function getMouse(A){var C,D;var B=(navigator.userAgent.indexOf("MSIE 5")!=-1)?document.body:document.documentElement;if(document.captureEvents){C=A.pageX;D=A.pageY}else{if(window.event.clientX){C=window.event.clientX+B.scrollLeft;D=window.event.clientY+B.scrollTop}}window.mouseX=C;window.mouseY=D}function GetCookie(A){return AppCore.modules.cookies.get(A)}function SetCookie(C,F,B,D,A,E){return AppCore.$.cookies.set(C,F,{expiresAt:B,path:D,domain:A,secure:E})}function findPos(A){var B=AppCore.modules.utilities.findPos(A);return[B.left,B.top]}function getElement(A){return document.getElementById(A)}function PopUpService(C,B,A){window.open(C,"diaporama","toolbar=no,location=no,menubar=no,status=no,scrollbars=yes,resizable=yes,width="+B+",height="+A)}function PopUpNoOrder(){}function Diaporamas(C,B,A){window.open(C,"diaporama","toolbar=no,location=no,menubar=no,status=no,scrollbars=no,top=0,left=0,width="+B+",height="+A)}function openPopAdherent(C,B,A){window.open(theURL,"diaporama","toolbar=no,location=no,menubar=no,status=no,scrollbars=yes,top=0,left=0,width="+B+",height="+A)}function SonDiapo(A){window.open(A,"diaporama","top=0,left=0")}function PopupLibre(C,B,A){window.open(C,"diaporama","toolbar=auto,location=no,menubar=no,status=no,scrollbars=yes,resizable=yes,top=0,left=0,width="+B+",height="+A);return false}function EteFnac(C,B,A){window.name="ete_fnac";window.open(C,"EteFnac","toolbar=no,location=no,menubar=no,status=no,scrollbars=no,width="+B+",height="+A)}function DisplayPopUp(A){window.open(A,"PopUp","toolbar=no,location=no,menubar=no,status=no,top=0,left=0,resizable=yes,scrollbars=yes,width=530,height=585")}function DisplayPopUpGratuit(A){window.open(A,"PopUp","toolbar=no,location=no,menubar=no,status=no,top=0,left=0,resizable=yes,scrollbars=yes,width=530,height=585")}function DisplayPopUpZoom(A){window.open("http://www.fnac.com/"+A,"Zoom","left=0,top=0,scrollbars=yes")}function PopInService(C,A){var B=A!=null?AppCore.modules.utilities.findPos(A):null;AppCore.$.get(C,function(D){displayPopinContent(B,D)});return false}function displayPopinContent(C,A){AppCore.$("#BackPopinService").css({height:$("body").css("height"),display:"block"});var B="left:"+($("body").width()/2-420)+"px";var E="";if(C!=null){E="top:"+(C.top>200?(C.top-200)+"px":"0")}var D="position:absolute;z-index:1000;"+B+";"+E+";";$("body").append("<div style='"+D+"'>"+A+"</div>")}function HideBack(){$("#BackPopinService").hide()}var ifrlayer={make:function(obj){if(!obj){return}obj=(typeof(obj)=="string")?document.getElementById(obj):obj;if(!obj){return}if(document.all&&!window.opera&&document.getElementById){if(obj.parentNode&&!obj.iframelayer){var ifr=obj.parentNode.insertBefore(document.createElement('<iframe src="javascript:false"></iframe>'),obj);if(obj.currentStyle.zIndex!=""&&parseInt(obj.currentStyle.zIndex)>1){ifr.style.zIndex=parseInt(obj.currentStyle.zIndex)-1}with(ifr.style){filter="mask()";position="absolute"}obj.iframelayer=ifr}}if(obj.iframelayer){obj.iframelayer.style.visibility="visible";ifrlayer.resize(obj);ifrlayer.move(obj)}},hide:function(B){if(!B){return}B=typeof(B)=="string"?document.getElementById(B):B;if(!B){return}var A=B.iframelayer;if(A){A.style.visibility="hidden"}},move:function(obj){if(obj&&obj.iframelayer){with(obj.iframelayer.style){top=obj.offsetTop+"px";left=obj.offsetLeft+"px"}}},resize:function(obj){if(obj&&obj.iframelayer){with(obj.iframelayer.style){width=obj.offsetWidth+"px";height=obj.offsetHeight+"px"}}}};function getStyle(B,C){var D="";if(document.defaultView&&document.defaultView.getComputedStyle){try{D=document.defaultView.getComputedStyle(B,"").getPropertyValue(C)}catch(A){D=""}}else{if(B.currentStyle){try{C=C.replace(/\-(\w)/g,function(F,E){return E.toUpperCase()});D=B.currentStyle[C]}catch(A){D=""}}}return D}function intStyle(A,B){var C=parseInt(getStyle(A,B));if(isNaN(C)){C=0}return C}function fixCorners(A){if(IS_IE){for(i=CSSBottomCorners.length-1;
i>-1;--i){CSSBottomCorners[i].style.bottom=""}}else{if(IS_Webkit||/Gecko\/200[56]|Opera 8.5/i.test(navigator.userAgent)){fixCornersOnBlocks(A)}}}function fixCornersOnBlocks(A){currentBlockToFixCorners=A||document.body;if(currentBlockToFixCorners!=null){currentBlockToFixCorners.className+=" hidecorners";setTimeout("fixCornersOnBlocksShowCorners()",5)}}function fixCornersOnBlocksShowCorners(){if(currentBlockToFixCorners){currentBlockToFixCorners.className=currentBlockToFixCorners.className.replace(/\bhidecorners\b/g,"")}currentBlockToFixCorners=null}function getAllBlocks(){var B=document.body;if(!B){return}var C=B.getElementsByTagName("div");for(var G=0;G<C.length;G++){var I=C[G];if(/\bline_[2345]cols/.test(I.className)){var F=I.getElementsByTagName("h2");var D=I.getElementsByTagName("div");if(/\baligner_produits\b/.test(I.className)){arrLineOfAlignedProduct.push(I);I.blocks=[]}for(var H=0;H<D.length;H++){var A=D[H];var E=F[H];if(/\bblock\b/.test(A.className)){if(/\bmise_en_avant\b/.test(A.className)){if(!I.alreadyAdded){arrLineOfMiseEnAvant.push(I);I.alreadyAdded=true}if(!I.miseEnAvantBlocks){I.miseEnAvantBlocks=[]}I.miseEnAvantBlocks.push(A)}if(/\bblk_inside gradient flat\b/.test(A.className)){if(!I.alreadyAdded){arrLineOfBigBlock.push(I);I.alreadyAdded=true}if(!I.miseEnAvantBlocks){I.miseEnAvantBlocks=[]}I.miseEnAvantBlocks.push(A)}if(I.blocks){I.blocks.push(A)}if(!/\bnoresize\b/.test(A.className)){arrBlocksInCol.push(A)}A.lineContainer=I}}}}}function fixMiseEnAvant(){for(var L=0;L<arrLineOfMiseEnAvant.length;L++){var P=arrLineOfMiseEnAvant[L];var M=[];var b=[];var Q=[];var R=[];var G=[];var H=[];var J=P.getElementsByTagName("h2");var F=P.getElementsByTagName("dd");var Y=P.getElementsByTagName("div");var a=[];var W=0;for(var N=0;N<F.length;N++){var e=F[N];if(e.className.match(/\bimg\b/)){M.push(e);e.isImage=true}if(e.className.match(/\bresume\b/)){b.push(e)}if(e.className.match(/\bprix\b/)){a.push(e)}if(e.className.match(/\blinks\b/)){Q.push(e)}}for(var c=0;c<Y.length;c++){var Z=Y[c];if(Z.className.match(/\bMarketPlaceOffers\b/)){R.push(Z)}if(Z.className.match(/\bbloc-telecharger\b/)){G.push(Z)}if(Z.className.match(/\bblk_footer\b/)){H.push(Z)}}var A=[J,M,b,a,Q,R,G,H];var V=0;var U=0;var S=0;var T=0;var X=0;for(var N=0;N<A.length;N++){var B=A[N];W=0;for(var O=0;O<B.length;O++){var D=B[O];if(D.offsetTop>W){W=D.offsetTop}if(D.isImage){if(D.offsetHeight>=V){V=D.offsetHeight}}if(D.className=="blk_header"){if(D.offsetHeight>=U){U=D.offsetHeight}}if(D.className=="MarketPlaceOffers"){if(D.offsetHeight>=S){S=D.offsetHeight}}if(D.className=="bloc-telecharger"){if(D.offsetHeight>=T){T=D.offsetHeight}}if(D.className.match(/\bblk_footer\b/)&&D.nodeName=="DIV"){var I=D.offsetHeight-(intStyle(D,"padding-top")+intStyle(D,"padding-bottom"));if(I>=X){X=I}}}for(var O=0;O<B.length;O++){var D=B[O];if(D.isImage){var E=D.offsetHeight;var K=V-E;var d=parseInt(K/2);var C=K-d;D.style.paddingTop=intStyle(D,"padding-top")+d+"px";D.style.paddingBottom=intStyle(D,"padding-bottom")+C+"px";D.style.marginTop=intStyle(D,"margin-top")+(W-D.offsetTop)+"px"}else{if(D.className=="blk_header"){var E=D.offsetHeight;var K=U-E;var d=parseInt(K/2);var C=K-d;D.childNodes[0].style.paddingTop=intStyle(D.childNodes[0],"padding-top")+d+"px";D.childNodes[0].style.paddingBottom=intStyle(D.childNodes[0],"padding-bottom")+C+"px"}else{if(D.className.match(/\bprix\b/)){D.style.marginTop=(W-D.offsetTop)+"px"}else{if(D.className=="MarketPlaceOffers"){D.style.height=S+"px"}else{if(D.className=="bloc-telecharger"){if(T>30){D.style.height=T+"px"}}else{if(D.className.match(/\bblk_footer\b/)&&D.nodeName=="DIV"){D.style.height=X+"px"}else{D.style.paddingTop=(W-D.offsetTop)+"px"}}}}}}}}}}function fixListeInline(){for(var B=0;B<listes_inline.length;B++){var H=listes_inline[B];var E=0;for(var C=0;C<H.listItems.length;C++){var I=H.listItems[C];if(I.offsetHeight>E){E=I.offsetHeight}}for(var C=0;C<H.listItems.length;C++){var I=H.listItems[C];I.style[heightPropertyToUse]=E-intStyle(I,"padding-top")-intStyle(I,"padding-bottom")+"px"}if(H.linksItems&&H.linksItems.length>0){var A=H.linksItems;var F=0;for(var C=0;C<A.length;C++){var I=A[C];if(I.offsetTop>F){F=I.offsetTop}}for(var C=0;C<A.length;C++){var I=A[C];I.style.paddingTop=intStyle(I,"padding-top")+(F-I.offsetTop)+"px"}}if(H.evalItems&&H.evalItems.length>0){var A=H.evalItems;var F=0;for(var C=0;C<A.length;C++){var I=A[C];var D=findListParent(I);var G=findPos(I)[1]-findPos(D)[1];I.specialOffsetTop=G;if(G>F){F=G}}for(var C=0;C<A.length;C++){var I=A[C];I.style.marginTop=(F-I.specialOffsetTop)+"px"}}}}function fixListe2cols(){for(var B=0;B<listes_2cols.length;B++){var G=listes_2cols[B];for(var C=0;C<G.itemsLeft.length;C++){var D=G.itemsLeft[C];var F=G.itemsRight[C];var E=D.linksBlock.offsetTop>F.linksBlock.offsetTop?D.linksBlock.offsetTop:F.linksBlock.offsetTop;D.linksBlock.style.paddingTop=intStyle(D.linksBlock,"padding-top")+(E-D.linksBlock.offsetTop)+"px";F.linksBlock.style.paddingTop=intStyle(F.linksBlock,"padding-top")+(E-F.linksBlock.offsetTop)+"px";
var A=intStyle(D,"padding-top")+intStyle(D,"padding-bottom")+intStyle(D,"border-top-width")+intStyle(D,"border-bottom-width");D.style[heightPropertyToUse]=F.style[heightPropertyToUse]=(D.offsetHeight>=F.offsetHeight?D.offsetHeight:F.offsetHeight)-A+"px"}}}function fixBlocksHeight(){var B;for(var D=0;D<arrBlocksInCol.length;D++){B=null;var A=arrBlocksInCol[D];var C=A.getElementsByTagName("div");for(var E=0;E<C.length;E++){if(C[E].className.match(/\bblk_content\b/)){B=C[E];break}}if(B){B.style[heightPropertyToUse]=B.offsetHeight+(A.lineContainer.offsetHeight-A.offsetHeight)-(intStyle(B,"padding-top")+intStyle(B,"padding-bottom"))+"px"}}}var menuElem=false;var contextMenu={init:function(){var G;var C;if(document.getElementById("navigationRIA")){G=document.getElementById("navigationRIA");C=G.getElementsByTagName("DL");for(var E=0;E<C.length;E++){var D=C[E].childNodes;for(var F=0;F<D.length;F++){if(D[F].nodeType==1){if(D[F].getAttribute("selected")=="true"){D[F].className="forced";if(!window.menuElem&&/\bclosed\b/.test(D[F].parentNode.parentNode.className)&&D[F].nodeName=="DT"||D[F].nodeName=="DD"){D[F].parentNode.parentNode.className=D[F].parentNode.parentNode.className.replace(/\bclosed\b/," currentRIA");var A=0;if(!D[F].parentNode.parentNode.previousSibling){return}var B=D[F].parentNode.parentNode.previousSibling;while(B.nodeType!=1){if(B.previousSibling){B=B.previousSibling;A++}else{return}}if(A<=2&&B.className=="block"){B.className=B.className.replace(/block/,"blockOpen")}window.menuElem=true}if(!window.menuElem&&/\bclosed\b/.test(D[F].parentNode.parentNode.parentNode.parentNode.className)&&D[F].nodeName=="DT"||D[F].nodeName=="DD"){D[F].parentNode.parentNode.parentNode.parentNode.className=D[F].parentNode.parentNode.parentNode.parentNode.className.replace(/\bclosed\b/," currentRIA");var A=0;if(!D[F].parentNode.parentNode.parentNode.parentNode.previousSibling){return}var B=D[F].parentNode.parentNode.parentNode.parentNode.previousSibling;while(B.nodeType!=1){B=B.previousSibling;if(typeof(B)!="undefined"||B==null){return}A++}if(A<=2&&B.className=="block"){B.className=B.className.replace(/block/,"blockOpen")}window.menuElem=true;break}}}}}if(!window.menuElem){contextMenu.homePage()}}else{return}},homePage:function(){}};function getElementsByClassName(E,H,G){var A=(H=="*"&&E.all)?E.all:E.getElementsByTagName(H);var B=new Array();G=G.replace(/\-/g,"\\-");var F=new RegExp("(^|\\s)"+G+"(\\s|$)");var D;for(var C=0;C<A.length;C++){D=A[C];if(F.test(D.className)){B.push(D)}}return B}function fixAligneProduits(){var J=0;var K=0;var L=0;var I=0;for(var D=0;D<arrLineOfAlignedProduct.length;D++){var H=arrLineOfAlignedProduct[D];for(var E=0;E<H.blocks.length;E++){var A=H.blocks[E];A.linksBlocks=[];var C=A.getElementsByTagName("dd");for(var F=0;F<C.length;F++){if(C[F].className.match(/\blinks\b/)){A.linksBlocks.push(C[F])}}if(A.linksBlocks.length>J){J=A.linksBlocks.length}A.produits=[];var G=A.getElementsByTagName("li");for(var F=0;F<G.length;F++){if(G[F].parentNode.className.match(/\blisteproduits\b/)){A.produits.push(G[F])}}if(A.produits.length>K){K=A.produits.length}}for(var E=0;E<K;E++){I=0;for(var F=0;F<H.blocks.length;F++){if(E<H.blocks[F].produits.length){var B=H.blocks[F].produits[E];if(B.offsetHeight>I){I=B.offsetHeight}}}for(var F=0;F<H.blocks.length;F++){if(E<H.blocks[F].produits.length){var B=H.blocks[F].produits[E];B.style[heightPropertyToUse]=I-intStyle(B,"padding-top")-intStyle(B,"padding-bottom")+"px"}}}for(var E=0;E<J;E++){L=0;for(var F=0;F<H.blocks.length;F++){if(E<H.blocks[F].linksBlocks.length){var B=H.blocks[F].linksBlocks[E];if(B.offsetTop>L){L=B.offsetTop}}}for(var F=0;F<H.blocks.length;F++){if(E<H.blocks[F].linksBlocks.length){var B=H.blocks[F].linksBlocks[E];B.style.paddingTop=intStyle(B,"padding-top")+(L-B.offsetTop)+"px"}}}}}function getAllLists(){var F=document.getElementsByTagName("ul");for(var C=0;C<F.length;C++){var H=F[C];H.listItems=[];if(H.offsetHeight>0){if(H.className.match(/\b(produits_conseilles|liste_inline|liste_3cols)\b/)){listes_inline.push(H);for(var D=0;D<H.childNodes.length;D++){var I=H.childNodes[D];if(I.nodeType==1&&I.nodeName=="LI"){H.listItems.push(I)}}H.linksItems=[];H.evalItems=[];if(H.className.match(/\bproduits_conseilles\b/)){var G=H.getElementsByTagName("ul");for(var D=0;D<G.length;D++){var I=G[D];if(I.className.match(/\blinks\b/)){H.linksItems.push(I)}}}else{if(H.className.match(/\bliste_inline\b/)){var B=H.getElementsByTagName("div");for(var D=0;D<B.length;D++){var I=B[D];if(I.className.match(/\beval\b/)){H.evalItems.push(I)}}}}}else{if(H.className.match(/\bliste_2cols\b/)){listes_2cols.push(H);H.itemsLeft=[];H.itemsRight=[];counter=0;for(var D=0;D<H.childNodes.length;D++){var I=H.childNodes[D];if(I.nodeType==1&&I.nodeName=="LI"){var A=I.getElementsByTagName("dd");for(var E=0;E<A.length;E++){var J=A[E];if(J.className.match(/\blinks\b/)){I.linksBlock=J}}if(counter%2){H.itemsRight.push(I)}else{H.itemsLeft.push(I)}counter++}}}}}}}function fixListe2cols(){for(var B=0;B<listes_2cols.length;
B++){var G=listes_2cols[B];for(var C=0;C<G.itemsLeft.length;C++){var D=G.itemsLeft[C];var F=G.itemsRight[C];var E=D.linksBlock.offsetTop>F.linksBlock.offsetTop?D.linksBlock.offsetTop:F.linksBlock.offsetTop;D.linksBlock.style.paddingTop=intStyle(D.linksBlock,"padding-top")+(E-D.linksBlock.offsetTop)+"px";F.linksBlock.style.paddingTop=intStyle(F.linksBlock,"padding-top")+(E-F.linksBlock.offsetTop)+"px";var A=intStyle(D,"padding-top")+intStyle(D,"padding-bottom")+intStyle(D,"border-top-width")+intStyle(D,"border-bottom-width");D.style[heightPropertyToUse]=F.style[heightPropertyToUse]=(D.offsetHeight>=F.offsetHeight?D.offsetHeight:F.offsetHeight)-A+"px"}}};;var waitingMsg;AppCore.ready(function(){AppCore.register("waitingMgr",function(){var D={idPopinContainer:"waitingPopin",contentContainer:null,layerContainer:null,closeOnEscapeKey:false,closeTimer:15000};var B;function C(){B=AppCore.modules.popins.showPopin({idPopinContainer:D.idPopinContainer,content:D.contentContainer,layer:{hasLayer:true,layerObject:D.layerContainer},closeOnEscapeKey:D.closeOnEscapeKey,closeTimer:D.closeTimer})}function A(){AppCore.modules.popins.closePopin(B)}return{init:function(E){this.core.initEachArgs(D,E)},show:function(){C()},hide:function(){A()}}});waitingMsg=AppCore.modules.waitingMgr;waitingMsg["setHideTimer"]=function(){}});;AppCore.ready(function(){AppCore.register("playerIllimite",function(){var C={errorMsg:"Erreur, le lecteur 30 sec Fnacmusic nécessite l'activation des fenêtres extérieures sur le domaine www.fnac.com. Vous semblez utiliser un bloqueur de fenêtres intempestives, merci de permettre les fenêtres sur http://www.fnac.com.",widthPlayer:1024,heightPlayer:768,streamPlayer:null,newstreamPlayer:false,paramAddProduct:null,playing:false,isOpen:false,onPlayFlag:false,playerDomain:"",playerUrl:""};function A(){if(C.paramAddProduct&&C.streamPlayer["isLoaded"]){C.streamPlayer.AddProduct(C.paramAddProduct);C.paramAddProduct=null}}function B(){try{C.newstreamPlayer=false;var J=screen.Width;var E=screen.Height;var H=Math.round((screen.availWidth/2)-(C.widthplayer/2));var I=Math.round((screen.availHeight/2)-(C.heightplayer/2));var G=window.open("","Player30sec","menubar=no,directories=no,location=no,resizable=no,titlebar=no,scrollbars=no,status=no,toolbar=no,height="+C.heightPlayer+",width="+C.widthPlayer+",top="+I+",left="+H+"");if(G!=null){var F=false;try{if(G.document.getElementById("divPlayer")==null){F=true}}catch(D){F=true}if(F){C.newstreamPlayer=true;G.location.href=C.playerUrl}}else{if(G==null){throw"error"}}return G}catch(D){alert(C.errorMsg);return null}}return{init:function(D){this.parent.initEachArgs(C,D)},getStreamPlayerWindow:function(){C.streamPlayer=B();return C.streamPlayer},addProductsToPlayer:function(D){C.streamPlayer=B();if(C.streamPlayer!=null&&D!=null&&D!=""){C.paramAddProduct=D;if(!C.newstreamPlayer){A()}if(/chrome/.test(navigator.userAgent.toLowerCase())){C.streamPlayer.blur()}C.streamPlayer.focus()}},playerIsLoadedCallBack:function(){if(C.paramAddProduct!=null){C.streamPlayer.AddProduct(C.paramAddProduct);C.paramAddProduct=null}},tooglePlay:function(D){if(C.isOpen){if(!C.streamPlayer){C.streamPlayer=getStreamPlayerWindow()}C.streamPlayer.DoPlay(flag)}},updatePlayerCookies:function(){var E=AppCore.modules.cookies.get("Player");var D=AppCore.modules.cookies.get("PlayerPlaying");var F,G;if(C.streamPlayer){F=C.streamPlayer.closed?0:1;G=C.onPlayFlag?1:0}else{F=E<=0?0:1;G=D<=0?0:1}AppCore.modules.cookies.set("Player",F,{domain:C.playerDomain,path:"/"});AppCore.modules.cookies.set("PlayerPlaying",G,{domain:C.playerDomain,path:"/"})},isOpen:function(){return C.isOpen}}})});function playerLoadedCallBack(){AppCore.modules.playerIllimite.playerIsLoadedCallBack()}function AddProduct(A,B){if(typeof A!="object"){A=[A]}AddProductList(A)}function AddProductList(A){AppCore.modules.playerIllimite.addProductsToPlayer(A)}function DoPlay(A){AppCore.modules.playerIllimite.tooglePlay(A)};;
