if(typeof ($)=="undefined"){function $(A){if(typeof (A)=="string"){return document.getElementById(A)}else{return A}}}var ie=(navigator.appName=="Microsoft Internet Explorer");Function.prototype.bindObj=function(){if(arguments.length<2&&typeof arguments[0]=="undefined"){return this}var A=this,C=PM.Util.collectionToArray(arguments),B=C.shift();return function(D){return A.apply(B,C.concat(PM.Util.collectionToArray(arguments)))}};Function.prototype.bindObjWithEvent=function(){var A=this,C=PM.Util.collectionToArray(arguments),B=C.shift();return function(D){return A.apply(B,[D||window.event].concat(C))}};function MM_preloadImages(){var D=document;if(D.images){if(!D.MM_p){D.MM_p=new Array()}var C,B=D.MM_p.length,A=MM_preloadImages.arguments;for(C=0;C<A.length;C++){if(A[C].indexOf("#")!=0){D.MM_p[B]=new Image;D.MM_p[B++].src=A[C]}}}}function MM_swapImgRestore(){var C,A,B=document.MM_sr;for(C=0;B&&C<B.length&&(A=B[C])&&A.oSrc;C++){A.src=A.oSrc}}function MM_findObj(E,D){var C,B,A;if(!D){D=document}if((C=E.indexOf("?"))>0&&parent.frames.length){D=parent.frames[E.substring(C+1)].document;E=E.substring(0,C)}if(!(A=D[E])&&D.all){A=D.all[E]}for(B=0;!A&&B<D.forms.length;B++){A=D.forms[B][E]}for(B=0;!A&&D.layers&&B<D.layers.length;B++){A=MM_findObj(E,D.layers[B].document)}return A}function MM_swapImage(){var D,C=0,A,B=MM_swapImage.arguments;document.MM_sr=new Array;for(D=0;D<(B.length-2);D+=3){if((A=MM_findObj(B[D]))!=null){document.MM_sr[C++]=A;if(!A.oSrc){A.oSrc=A.src}A.src=B[D+2]}}}function MM_goToURL(){var i,args=MM_goToURL.arguments;document.MM_returnValue=false;for(i=0;i<(args.length-1);i+=2){eval(args[i]+".location='"+args[i+1]+"'")}}if(typeof (PM)=="undefined"){var PM={}}PM.Debug={Type:{OFF:0,INFO:1,DEBUG:2}};PM.Debug.level=PM.Debug.Type.OFF;if(typeof (JsDebugLevel)!="undefined"){PM.Debug.level=JsDebugLevel}PM.Debug.log=function(C,B){if(typeof (console)=="undefined"||PM.Debug.level==PM.Debug.Type.OFF){return }var A=PM.Debug.Type.DEBUG;if(typeof (B)=="number"){A=B}else{if(typeof (B)=="object"&&B.logType){A=B.type}}if(A==PM.Debug.Type.DEBUG&&PM.Debug.level==PM.Debug.Type.INFO){return }if(typeof (firebug)!="undefined"){switch(A){case PM.Debug.Type.INFO:firebug.d.console.cmd.info(C);break;case PM.Debug.Type.DEBUG:default:firebug.d.console.cmd.debug(C);break}return }if(typeof (console)!="undefined"){if(!console.debug){window.console.log(C)}else{switch(A){case PM.Debug.Type.INFO:window.console.info(C);break;case PM.Debug.Type.DEBUG:default:window.console.debug(C);break}}}};PM.Debug.messages=new Array();PM.Debug.store=function(B,A){PM.Debug.messages[PM.Debug.messages.length]=[B,A]};PM.Debug.displayStack=function(){PM.Debug.log("------- Messages -------");for(var A=0;A<PM.Debug.messages.length;A++){PM.Debug.log(PM.Debug.messages[A][0],PM.Debug.messages[A][1])}};PM.Util={};PM.Util.trim=function(A){if(A==null){return""}return A.replace(/(^\s+)|(\s+$)/g,"")};PM.Util.trimStrongly=function(B){if(B==null){return""}var A=PM.LinkTool.URLRemoveSpecialCaracters(B);return PM.Util.trim(A.replace(/(\s+)/g," "))};PM.Util.concat=function(){var A="";for(i=0;i<arguments.length;i++){if(arguments[i]){A=A+arguments[i]}}return A};PM.Util.checkMaxInput=function(B,A){if(B.value.length>A){B.value=B.value.substring(0,A);return 0}return(A-B.value.length)};PM.Util.checkLength=function(A,C,B){if(C.value.length>B){alert("Le champ '"+A+"' est limit? ? "+B+" caract?res (il en contient "+C.value.length+").");C.focus();return false}return true};PM.Util.checkFileExtension=function(C,A){var B;if(C.length<A.length){B=""}else{B=C.substring(C.length-A.length,C.length)}return B.toLowerCase()==A.toLowerCase()};PM.Util.absolutePosition=function(B){var A=0,C=0;do{A+=B.offsetTop||0;C+=B.offsetLeft||0;B=B.offsetParent}while(B);return[C,A]};PM.Util.getPageScroll=function(){var B=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;var A=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;return{x:B,y:A}};PM.Util.addEvent=function(C,B,A){PM.Statistics.deprecatedFunctions("PM.Util.addEvent");PM.Event.add(C,B,A)};PM.Util.removeEvent=function(C,B,A){PM.Statistics.deprecatedFunctions("PM.Util.removeEvent");PM.Event.remove(C,B,A)};PM.Util.addBookmark=function(){var B=window.document.title;var A=window.location.href;if(navigator.appName!="Microsoft Internet Explorer"){window.sidebar.addPanel(B,A,"")}else{window.external.AddFavorite(A,B)}};PM.Util.setHomePage=function(A,B){if(ie){A.style.behavior="url(#default#homepage)";A.setHomePage(window.location.href)}else{alert(B)}};PM.Util.getSimpleSharpUrlParam=function(C){var B=new RegExp("[\\#&]"+C+"=([^&]*)");var A=B.exec(window.location.href);if(A!=null){return A[1]}return null};PM.Util.getInterrogationUrlParam=function(C){var B="[\\?&]("+C+")=([^&#]*)";var B=new RegExp(B);var A=B.exec(window.location.href);if(A!=null){return A[2]}};PM.Util.whichFocus=null;PM.Util.defaultFocus=null;PM.Util.manageFocus=function(){var A=document.forms;PM.Util.whichFocus=PM.Util.defaultFocus;for(i=0;i<A.length;i++){for(j=0;j<A[i].elements.length;j++){PM.Event.add(A[i].elements[j],"focus",function(B){var C=B.target?B.target:B.srcElement;if(C.tagName){PM.Util.whichFocus=C}})}}};PM.Util.getNavigatorLanguage=function(){var B="fr";if(navigator.systemLanguage){B=navigator.systemLanguage.toLowerCase().substring(0,2)}else{if(navigator.language){B=navigator.language.toLowerCase().substring(0,2)}else{if(navigator.userLanguage){B=navigator.userLanguage.toLowerCase().substring(0,2)}else{if(navigator.userAgent.indexOf("[")!=-1){var A=navigator.userAgent.indexOf("[");var C=navigator.userAgent.indexOf("]");B=navigator.userAgent.substring(A+1,C).toLowerCase()}}}}return B};PM.Util.getOptionIndexFromValue=function(A,B){for(i=0;i<A.length;i++){if(A.options[i].value==B){return i}}};PM.Util.variableReplace=function(E,D,B,C){var A=(C)?new RegExp(D,"ig"):new RegExp("{{"+D+"}}","ig");return E.replace(A,B)};PM.Util.getElementFromEvent=function(A){var B=null;if(document.all){B=window.event.srcElement}else{B=A.target}return B};PM.Util.collectionToArray=function(B){var A=new Array();for(var C=0;C<B.length;C++){A[A.length]=B[C]}return A};PM.Util.preventDefault=function(A){if(A.preventDefault){A.preventDefault()}A.returnValue=false};PM.Util.handleAnchor=function(A,E,C){if(typeof (A)=="object"){A=A.join("|")}var F="[\\#&]("+A+")";if(E){F+="=([^&]*)(?:$|&)"}else{F+="(?:$|&|=)"}var D=new RegExp(F);var B=D.exec(window.location.href);if(B!=null){if(!E||E=="*"||E==B[2]){C.call(null,B[2])}}};PM.Util.evalScript=function(content){var scriptRegExp="(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)";var matchAll=new RegExp(scriptRegExp,"ig");var scriptsArray=content.match(matchAll);if(scriptsArray){for(i=0;i<scriptsArray.length;i++){var matchOne=new RegExp(scriptRegExp,"i");var scriptContent=scriptsArray[i].match(matchOne);if(scriptContent){eval(scriptContent[1])}}}};PM.Util.getOption=function(C,A){var B=A;if(C!=undefined){B=C}return B};function trim(A){PM.Statistics.deprecatedFunctions("trim");return PM.Util.trim(A)}function checkMaxInput(B,A){PM.Statistics.deprecatedFunctions("checkMaxInput");return PM.Util.checkMaxInput(B,A)}function checkLength(A,C,B){PM.Statistics.deprecatedFunctions("checkLength");return PM.Util.checkLength(A,C,B)}function checkFileExtension(B,A){PM.Statistics.deprecatedFunctions("checkFileExtension");return PM.Util.checkFileExtension(B,A)}function calculateElementPosition(A){PM.Statistics.deprecatedFunctions("calculateElementPosition");return PM.Util.absolutePosition(A)}function concat(){PM.Statistics.deprecatedFunctions("concat");return PM.Util.concat.apply(arguments)}PM.Event={methods:{},Type:{BEGIN:"evtBegin",INIT:"evtInit",STATISTICS:"evtStatistics",COMPLETE:"evtComplete",REDRAW:"evtRedraw"}};PM.Event.status=PM.Event.Type.BEGIN;PM.Event.add=function(E,D,B,A){PM.Debug.store(["Ajout d'un événement",arguments],PM.Debug.Type.INFO);if(D==PM.Event.Type.INIT||D==PM.Event.Type.STATISTICS||D==PM.Event.Type.COMPLETE||D==PM.Event.Type.REDRAW){if(!PM.Event.methods[D]){PM.Event.methods[D]=new Array()}PM.Event.methods[D][PM.Event.methods[D].length]=B}else{E=$(E);if(!E){PM.Debug.store(["[Erreur] : Ajout d'événement sur un objet n'existant pas",arguments],PM.Debug.Type.DEBUG);return false}if(E.addEventListener){if(D!="mouseleave"){if(A){E.addEventListener(D,function(F){PM.Util.preventDefault(F)},false)}E.addEventListener(D,B,false)}else{E.addEventListener("mouseout",function(F){if(!PM.Dom.withinElement(F.relatedTarget,this.obj)){B.call(null,F)}}.bindObj({obj:E}),false)}return true}else{if(E.attachEvent){if(A){E.attachEvent("on"+D,function(F){PM.Util.preventDefault(F)})}var C=E.attachEvent("on"+D,B);return C}else{return false}}}};PM.Event.remove=function(D,C,A){if(D.removeEventListener){D.removeEventListener(C,A,false);return true}else{if(D.detachEvent){var B=D.detachEvent("on"+C,A);return B}else{return false}}};PM.Event.eventReached=function(B){if(PM.Event.methods[B]){for(var A=0;A<PM.Event.methods[B].length;A++){fn=PM.Event.methods[B][A];fn.call()}}if(B!=PM.Event.Type.REDRAW){PM.Event.status=B}};PM.Event.add(window,"load",PM.Event.eventReached.bindObj(null,PM.Event.Type.COMPLETE));PM.Event.add(window,"resize",PM.Event.eventReached.bindObj(null,PM.Event.Type.REDRAW));PM.UI={};PM.UI.show=function(A){PM.UI.changeDisplayStyle(A,"block")};PM.UI.hide=function(A){PM.UI.changeDisplayStyle(A,"none")};PM.UI.changeDisplayStyle=function(B,A){B=$(B);B.style.display=A};PM.UI.scrollTo=function(A){var A=$(A);if(!A){return }var C=PM.Util.absolutePosition(A);if(C[1]<=0){var B=setTimeout("PM.UI.scrollTo()",100);return }window.scrollTo(0,C[1])};PM.UI.SmoothScroll=function(A){this.elt=$(A);this.speed=10;this.offsetTop=PM.Util.getPageScroll().y;this.interval=setInterval(this.render.bindObj(this),10)};PM.UI.SmoothScroll.prototype.render=function(){this.finalPos=PM.Util.absolutePosition(this.elt)[1];var A=PM.Util.getPageScroll().y;var B=window.innerHeight||document.documentElement.clientHeight;var C=document.body.scrollHeight;if(this.finalPos>A){if(C-this.finalPos>B){A+=Math.ceil((this.finalPos-A)/this.speed)}else{A+=Math.ceil((this.finalPos-A-(C-this.finalPos))/this.speed)}}else{A=A+(this.finalPos-A)/this.speed}window.scrollTo(0,A);if(A==this.finalPos||this.offsetTop==A){clearInterval(this.interval)}this.offsetTop=A};PM.UI.BlockDisabler=function(B,E,A){this.elt=$(B);this.isActive=false;this.currentEffect=null;this.div=PM.Dom.createElement("div",{className:"blk_disabler"});PM.UI.hide(this.div);PM.Dom.parent(this.elt).appendChild(this.div);if(E){this.loader=PM.Dom.createElement("div",{className:"blk_disabler_loader"});var D=PM.Dom.createElement("p");if(typeof (PM.Constants.Translation)=="undefined"){PM.Constants.Translation={txt_loader:""}}var C=PM.Dom.createElement("span",{content:A||PM.Constants.Translation.txt_loader});D.appendChild(C);this.loader.appendChild(D);PM.UI.hide(this.loader);PM.Dom.parent(this.elt).appendChild(this.loader)}if(ie6){this.ieDiv=PM.Dom.createElement("div");this.ieDiv.style.height=0;this.ieDiv.innerHTML='<iframe src="javascript:false;" style="width:0px; position: absolute; top:0px; left:0px; filter:alpha(opacity=0); z-index: 1970; height: 0; display:none;"></iframe>';PM.UI.hide(this.ieDiv);PM.Dom.parent(this.elt).appendChild(this.ieDiv)}PM.Event.add(window,PM.Event.Type.REDRAW,this.resize.bindObj(this))};PM.UI.BlockDisabler.prototype.disable=function(){this.isActive=true;if(ie6){PM.UI.show(this.ieDiv)}if(typeof Effect!="undefined"){if(this.currentEffect!=null){this.currentEffect.cancel()}this.currentEffect=new Effect.Appear(this.div,{duration:0.8,to:0.75,afterFinish:this.showLoader.bindObj(this)})}else{PM.UI.show(this.div)}this.resize()};PM.UI.BlockDisabler.prototype.showLoader=function(){if(this.loader){PM.UI.show(this.loader);this.resize()}};PM.UI.BlockDisabler.prototype.resize=function(){if(this.isActive){var B=this.elt.offsetWidth;var C=this.elt.offsetHeight;var F=PM.Util.absolutePosition(this.elt);var E=F[0];var D=F[1];this.div.style.top=D+"px";this.div.style.left=E+"px";this.div.style.width=B+"px";this.div.style.height=C+"px";if(this.loader){this.loader.style.top=(D+Math.floor((C-this.loader.offsetHeight)/2))+"px";this.loader.style.left=(E+Math.floor((B-this.loader.offsetWidth)/2))+"px"}if(ie6){var A=$s("iframe",this.ieDiv)[0];A.style.top=D+"px";A.style.left=E+"px";A.style.width=B;A.style.height=C}}};PM.UI.BlockDisabler.prototype.enable=function(){this.isActive=false;if(typeof Effect!="undefined"){if(this.currentEffect!=null){this.currentEffect.cancel()}this.currentEffect=Effect.Fade(this.div,{duration:0.8})}else{PM.UI.hide(this.div)}if(this.loader){PM.UI.hide(this.loader)}if(ie6){PM.UI.hide(this.ieDiv)}};PM.Notice={};PM.Notice.Type={SUCCESS:0,NOTICE:1,ERROR:2};PM.Notice.show=function(A,C,D,B){if(typeof (B)=="undefined"||B==true){$(A).innerHTML="<p>"+D+"</p>"}else{$(A).innerHTML=D}switch(C){case PM.Notice.Type.SUCCESS:$(A).className="notification success";break;case PM.Notice.Type.NOTICE:$(A).className="notification notice";break;case PM.Notice.Type.INFORMATION:$(A).className="notification information";break;case PM.Notice.Type.ERROR:default:$(A).className="notification error";break}if(!ie&&typeof Effect!="undefined"){Effect.Appear(A,{duration:0.5})}else{PM.UI.show(A)}};PM.Notice.hide=function(B,A){PM.UI.hide(B);if(A){A.call()}};PM.BT={};PM.BT.escape=function(C){if(C.indexOf("?")==-1){var B=new RegExp("([^:/]+://[^/]*)?([^#]*)(#.*)?","").exec(C);var E=B[1]||"";var D=B[2];var A=B[3]||"";D=unescape(D);D=escape(D);C=E+D+A}return C};PM.BT.ub=function(){var A="";for(var B=0;B<arguments.length;B++){var C=arguments[B];if(typeof (C)=="string"){A=A+C}else{A=A+String.fromCharCode(C)}}return A};PM.BT.ubs=function(){window.location.href=PM.BT.escape(PM.BT.ub.apply(null,arguments))};PM.BT.ubp=function(){arguments.slice=Array.prototype.slice;var B=PM.BT.escape(PM.BT.ub.apply(null,arguments.slice(0,arguments.length-2)));var C=arguments[arguments.length-2];var A=arguments[arguments.length-1];PM.PopUp.open(B,PM.PopUp.Type.LINK,C,A)};PM.BT.ubw=function(){window.open(PM.BT.escape(PM.BT.ub.apply(null,arguments)))};PM.BT.Action={DEFAULT:0,RETURN:1,SELF:2,POP:3,POP_NO_OPTION:4};PM.BT.ubo=function(){var A="";for(i=0;i<arguments.length;i++){A=A+arguments[i]}if(A.charAt(0)=="#"){A=A.substring(1,A.length)}return A};PM.BT.li=function(C){var A="";var B;(C==PM.BT.Action.POP)?B=arguments.length-2:B=arguments.length;for(i=1;i<B;i++){A=A+arguments[i]}if(A.charAt(0)=="#"){A=A.substring(1,A.length)}switch(parseInt(C)){case PM.BT.Action.RETURN:return A;break;case PM.BT.Action.SELF:window.location.href=PM.BT.escape(A);break;case PM.BT.Action.POP:PM.PopUp.open(PM.BT.escape(A),PM.PopUp.Type.LINK,arguments[arguments.length-2],arguments[arguments.length-1]);break;case PM.BT.Action.POP_NO_OPTION:window.open(PM.BT.escape(A));break;default:return A}};function selfpoplink(){PM.Statistics.deprecatedFunctions("selfpoplink");return PM.BT.ubo.apply(null,arguments)}function link(){PM.Statistics.deprecatedFunctions("link");var A=new Array(""+PM.BT.Action.POP_NO_OPTION);for(i=0;i<arguments.length;i++){A.push(arguments[i])}PM.BT.li.apply(null,A)}function selflink(){PM.Statistics.deprecatedFunctions("selflink");var A=new Array(""+PM.BT.Action.SELF);for(i=0;i<arguments.length;i++){A.push(arguments[i])}PM.BT.li.apply(null,A)}function poplink(){PM.Statistics.deprecatedFunctions("poplink");var A=new Array(""+PM.BT.Action.POP);for(i=0;i<arguments.length;i++){A.push(arguments[i])}PM.BT.li.apply(null,A)}function specialescape(A){PM.Statistics.deprecatedFunctions("specialescape");return PM.BT.escape(A)}PM.PopUp={};PM.PopUp.open=function(D,F,E,A,C,B){if(!B){B=""}if(F===PM.PopUp.Type.HELP&&D.indexOf("upload")!=-1){F=PM.PopUp.Type.UPLOAD}switch(F){case PM.PopUp.Type.COMPARATOR:C="compareTool";B="scrollbars=yes, resizable, toolbar, menubar, width=750, height=600";break;case PM.PopUp.Type.HELP:C="help";B="scrollbars=yes, resizable";break;case PM.PopUp.Type.CAMPAIGN:C="campaign";B="scrollbars=yes, resizable";break;case PM.PopUp.Type.PICTURE:C="picture";B="scrollbars=yes, resizable, status";break;case PM.PopUp.Type.PARTNER:C="partner";B="scrollbars=yes, resizable, status, toolbar, menubar, screenX=10, screenY=10, top=10, left=10";break;case PM.PopUp.Type.WINDOW:C="window2";B="scrollbars=yes, resizable, toolbar, menubar";break;case PM.PopUp.Type.UPLOAD:C="upload";B="scrollbars=yes, resizable, status";break;case PM.PopUp.Type.LINK:C="poplink";B="scrollbars=yes, resizable";break;case PM.PopUp.Type.CUSTOM:break;default:B="scrollbars=yes, resizable"}if(E){B+=", width="+E}if(A){B+=", height="+A}if(!C){C="popup"}var G=window.open(D,C,B);if(G){G.focus()}};PM.PopUp.Type={DEFAULT:0,COMPARATOR:1,HELP:2,CAMPAIGN:3,PICTURE:4,PARTNER:5,WINDOW:6,UPLOAD:7,LINK:8};function popHelp(B,C,A){PM.Statistics.deprecatedFunctions("popHelp");PM.PopUp.open(B,PM.PopUp.Type.HELP,C,A)}function popCampaign(B,C,A){PM.Statistics.deprecatedFunctions("popCampaign");PM.PopUp.open(B,PM.PopUp.Type.CAMPAIGN,C,A)}function popPicture(B,C,A){PM.Statistics.deprecatedFunctions("popPicture");PM.PopUp.open(B,PM.PopUp.Type.PICTURE,C,A)}function popPartner(C,B,D,A){PM.Statistics.deprecatedFunctions("popPartner");PM.PopUp.open(C,PM.PopUp.Type.PARTNER,D,A)}function popWindow2(B,C,A){PM.Statistics.deprecatedFunctions("popWindow2");PM.PopUp.open(B,PM.PopUp.Type.WINDOW,C,A)}function popDefault(D,C,E,A,B){PM.Statistics.deprecatedFunctions("popDefault");PM.PopUp.open(D,PM.PopUp.Type.CUSTOM,C,E,A,B)}function popWindow(B,C,A,E,D){PM.Statistics.deprecatedFunctions("popWindow");options="scrollbars=yes, resizable";if(arguments.length>3){options+=",left="+E+",screenX="+E}if(arguments.length>4){options+=",top="+D+",screenY="+D}PM.PopUp.open(B,PM.PopUp.Type.CUSTOM,C,A,"window",options)}function pop(D,C,E,A,B){PM.Statistics.deprecatedFunctions("pop");PM.PopUp.open(C,PM.PopUp.Type.CUSTOM,E,A,D,B)}function popPage(C,B,A){PM.Statistics.deprecatedFunctions("popPage");url=PM.LinkTool.build(C,0);PM.PopUp.open(url,PM.PopUp.Type.LINK,B,A)}function popExternalPage(C,B,A){PM.Statistics.deprecatedFunctions("popExternalPage");url=PM.LinkTool.build(C,1);PM.PopUp.open(url,PM.PopUp.Type.HELP,B,A)}function popPromo(B,C,A,D){PM.Statistics.deprecatedFunctions("popPromo");if(!D){D="no"}PM.PopUp.open(B,PM.PopUp.Type.CUSTOM,"promo",C,A,"toolbar=no,status=0,menubar=0,scrollbars="+D+",resizable=no")}function popLargeWindow(B,C,A){PM.Statistics.deprecatedFunctions("popLargeWindow");PM.PopUp.open(B,PM.PopUp.Type.CUSTOM,"Largepromo",C,A,"toolbar=yes,location=yes,status=1,menubar=1,scrollbars=yes,resizable=yes")}function popLargePromo(B,C,A){PM.Statistics.deprecatedFunctions("popLargePromo");PM.PopUp.open(B,PM.PopUp.Type.CUSTOM,"Largepromo",C,A,"toolbar=no,location=no,status=0,menubar=0,scrollbars=yes,resizable=yes")}PM.Alert=function(B,A){this.content=null;if(!B){B=""}if(!A){A={}}if(A.isAjax){this.isAjax=true}else{if(typeof (B)=="string"){this.content=B}else{if(PM.Dom.parent(B)!=null){this.content=PM.Dom.parent(B).removeChild(B);if(this.content.style&&this.content.style.display=="none"){this.content.style.display=""}}else{this.content=B}}}if(A.title){this.title=A.title}if(A.width){this.width=A.width}else{this.width=PM.Alert.size.SMALL}if(A.isModal){this.isModal=true}else{this.isModal=false}if(A.hasMargin!=undefined){this.hasMargin=A.hasMargin}else{this.hasMargin=true}if(A.hasShutBox!=undefined){this.hasShutBox=A.hasShutBox}else{this.hasShutBox=true}if(A.shutAction){this.shutAction=A.shutAction}else{this.shutAction=PM.Alert.close}if(A.shutText!=undefined){this.shutText=A.shutText}else{this.shutText=PM_CST_close_clemup}if(A.btn1Label){this.btn1Label=A.btn1Label}if(A.btn1Action){this.btn1Action=A.btn1Action}if(A.btn1Link){this.btn1Link=A.btn1Link}if(A.btn2Label){this.btn2Label=A.btn2Label}if(A.btn2Action){this.btn2Action=A.btn2Action}if(A.btn2Link){this.btn2Link=A.btn2Link}if(A.clickOutsideClose!=undefined){this.clickOutsideClose=A.clickOutsideClose}else{if(!this.isModal){this.clickOutsideClose=true}else{this.clickOutsideClose=false}}if(this.isAjax){PM.Ajax.request(B,this.ajaxResult.bindObj(this),{method:PM.Ajax.GET})}};PM.Alert.size={SMALL:"400px",MEDIUM:"550px",LARGE:"700px"};PM.Alert.isActive=false;PM.Alert.currentClickFction=null;PM.Alert.resizeFction=null;PM.Alert.shutAction=null;PM.Alert.btn1Action=null;PM.Alert.btn2Action=null;PM.Alert.build=function(){if($("pmalert_ctnt")){return true}var O=document.body;if($("top_ctner")){O=$("top_ctner")}var K=PM.Dom.createElement("div",{className:"box_blackout",id:"pmalert_bg"});K.style.display="none";O.appendChild(K);var P=PM.Dom.createElement("table",{className:"pmalert_ctner",id:"pmalert_alert"});var C=PM.Dom.createElement("tbody");P.cellspacing="0";P.style.display="none";var M=PM.Dom.createElement("tr");M.appendChild(PM.Dom.createElement("td",{className:"pmalert_tl"}));M.appendChild(PM.Dom.createElement("td",{className:"pmalert_t"}));M.appendChild(PM.Dom.createElement("td",{className:"pmalert_tr"}));C.appendChild(M);var N=PM.Dom.createElement("tr");N.appendChild(PM.Dom.createElement("td",{className:"pmalert_l"}));var J=PM.Dom.createElement("td",{className:"pmalert"});var B=PM.Dom.createElement("div",{className:"pmalert_ctn"});B.appendChild(PM.Dom.createElement("div",{className:"pmalert_title",id:"pmalert_title"}));var A=PM.Dom.createElement("p",{className:"pmalert_close",id:"pmalert_close"});var L=PM.Dom.createElement("span",{id:"pmalert_close_text"});var G=PM.Dom.createLink("#",L);A.appendChild(G);B.appendChild(A);B.appendChild(PM.Dom.createElement("div",{id:"pmalert_ctnt"}));var F=PM.Dom.createElement("div",{id:"pmalert_btns"});var I=PM.Dom.createElement("div",{className:"pmalert_btn"});I.appendChild(PM.Dom.createLink("#","","pmalert_btn1","bluelinksmall"));F.appendChild(I);var E=PM.Dom.createElement("div",{className:"pmalert_btn"});E.appendChild(PM.Dom.createLink("#","","pmalert_btn2","bluelinksmall"));F.appendChild(E);B.appendChild(F);J.appendChild(B);N.appendChild(J);N.appendChild(PM.Dom.createElement("td",{className:"pmalert_r"}));C.appendChild(N);var D=PM.Dom.createElement("tr");D.appendChild(PM.Dom.createElement("td",{className:"pmalert_bl"}));D.appendChild(PM.Dom.createElement("td",{className:"pmalert_b"}));D.appendChild(PM.Dom.createElement("td",{className:"pmalert_br"}));C.appendChild(D);P.appendChild(C);O.appendChild(P);if(ie6){var H=PM.Dom.createElement("div");H.innerHTML='<iframe id="pmalert_iframe" src="javascript:false;" style="width:0px; position: absolute; top:0px; left:0px; filter:alpha(opacity=0); z-index: 1990; height: 0; display:none;"></iframe>';O.appendChild(H)}};PM.Alert.prototype.ajaxResult=function(A){this.content=A.XmlHttpObject.responseText;this.show()};PM.Alert.displayInPage=function(K){var J=$("pmalert_alert");if(typeof (K)=="undefined"){K=$("pmalert_bg").style.display!="none"}var M=h=0;if(self.innerHeight){M=self.innerWidth;h=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){M=document.documentElement.clientWidth;h=document.documentElement.clientHeight}else{if(document.body){M=document.body.clientWidth;h=document.body.clientHeight}}}var L=document.body.offsetWidth;var I=document.body.offsetHeight;if(h>I){I=h}var D=hElt=0;var G=(J.style.display=="none");if(G){J.style.visibility="hidden";J.style.display=""}D=J.offsetWidth;hElt=J.offsetHeight;if(G){J.style.display="none";J.style.visibility="visible"}var H=PM.Util.getPageScroll();var F=H.x;var C=H.y;var B=parseInt(((M-D)/2)+F);if(B<0){B=0}var A=parseInt(((h-hElt)/2)+C);if(ie6){var E=$("pmalert_iframe");if(K){E.style.top="0px";E.style.left="0px";E.style.width=L+"px";E.style.height=I+"px"}else{E.style.top=A+"px";E.style.left=B+"px";E.style.width=D;E.style.height=hElt}}J.style.top=A+"px";J.style.left=B+"px";if(K){$("pmalert_bg").style.width=L+"px";$("pmalert_bg").style.height=I+"px"}};PM.Alert.prototype.show=function(H,D){if(!D){D={}}if(D.btn1Action){this.btn1Action=D.btn1Action}if(D.btn2Action){this.btn2Action=D.btn2Action}PM.Alert.isActive=true;PM.Alert.build();var E=$("pmalert_ctnt");while(E.firstChild){var A=E.removeChild(E.firstChild);delete A}var C=$("pmalert_ctnt");if(this.hasMargin){C=C.appendChild(PM.Dom.createElement("div",{className:"pmalert_ctnt_txt"}))}if(typeof (this.content)=="string"){C.innerHTML=this.content}else{var B=PM.Dom.createElement("div");B.appendChild(this.content);C.innerHTML=B.innerHTML}if(this.isAjax){PM.Util.evalScript(this.content)}if(this.title){$("pmalert_title").innerHTML="<h6>"+this.title+"</h6>";$("pmalert_title").style.display="block"}else{$("pmalert_title").style.display="none"}$("pmalert_close_text").innerHTML=this.shutText;if(PM.Alert.shutAction&&PM.Alert.shutAction!=null){PM.Util.removeEvent($("pmalert_close"),"click",PM.Alert.shutAction)}PM.Alert.shutAction=this.shutAction;if(this.shutAction){PM.Event.add($("pmalert_close"),"click",this.shutAction)}if(this.btn1Label){$("pmalert_btn1").innerHTML=this.btn1Label;PM.Dom.parent($("pmalert_btn1")).style.display="block";if(PM.Alert.btn1Action&&PM.Alert.btn1Action!=null){PM.Util.removeEvent($("pmalert_btn1"),"click",PM.Alert.btn1Action)}PM.Alert.btn1Action=this.btn1Action;if(this.btn1Action){PM.Event.add($("pmalert_btn1"),"click",this.btn1Action)}if(this.btn1Link){$("pmalert_btn1").href=this.btn1Link}else{$("pmalert_btn1").href="#"}}else{PM.Dom.parent($("pmalert_btn1")).style.display="none"}if(this.btn2Label){$("pmalert_btn2").innerHTML=this.btn2Label;PM.Dom.parent($("pmalert_btn2")).style.display="block";if(PM.Alert.btn2Action&&PM.Alert.btn2Action!=null){PM.Util.removeEvent($("pmalert_btn2"),"click",PM.Alert.btn2Action)}PM.Alert.btn2Action=this.btn2Action;if(this.btn2Action){PM.Event.add($("pmalert_btn2"),"click",this.btn2Action)}if(this.btn2Link){$("pmalert_btn2").href=this.btn2Link}else{$("pmalert_btn2").href="#"}}else{PM.Dom.parent($("pmalert_btn2")).style.display="none"}if(this.btn1Label&&this.btn2Label){$("pmalert_btns").className="pmalert_btns pmalert_2_btns"}else{$("pmalert_btns").className="pmalert_btns pmalert_1_btns"}if(this.btn1Label||this.btn2Label){$("pmalert_btns").style.display="block"}else{$("pmalert_btns").style.display="none"}var F=$("pmalert_alert");F.style.width=this.width;if(this.hasShutBox){$("pmalert_close").style.display="block"}else{$("pmalert_close").style.display="none"}PM.Alert.displayInPage(true);PM.Alert.resizeFction=PM.Alert.displayInPage;PM.Event.add(window,PM.Event.Type.REDRAW,PM.Alert.resizeFction);if(PM.Event.status!=PM.Event.Type.COMPLETE){PM.Event.add(window,PM.Event.Type.COMPLETE,PM.Alert.displayInPage)}var G=function(){if(H!=undefined&&H!=null&&typeof (H)=="function"){H.apply(null)}if(this.clickOutsideClose){PM.Alert.currentClickFction=this.testClick.bindObj(this);PM.Event.add(document,"click",PM.Alert.currentClickFction)}}.bindObj(this);if(typeof Effect!="undefined"){Effect.Appear(F,{duration:0.8,afterFinish:G})}else{F.style.display="block";G.apply(null)}if(ie6){$("pmalert_iframe").style.display="block"}if(this.isModal){if(typeof Effect!="undefined"){Effect.Appear($("pmalert_bg"),{duration:0.8,to:0.75})}else{$("pmalert_bg").style.display="block"}}};PM.Alert.prototype.bindTo=function(B,A){if(typeof (B)=="string"){B=$(B)}PM.Event.add(B,A,this.show.bindObj(this))};PM.Alert.prototype.testClick=function(B){var A=PM.Util.getElementFromEvent(B);while(PM.Dom.parent(A)!=null){if(A.className=="pmalert"){return }else{A=PM.Dom.parent(A)}}PM.Alert.close()};PM.Alert.close=function(A){if(!$("pmalert_alert")){return false}if(A){PM.Util.preventDefault(A)}$("pmalert_alert").style.display="none";if(ie6){$("pmalert_iframe").style.display="none"}$("pmalert_bg").style.display="none";PM.Util.removeEvent(document,"click",PM.Alert.currentClickFction);PM.Alert.currentClickFction=null;PM.Alert.isActive=false};PM.Geo={};PM.Geo.Box=function(B,A){this.w=B;this.h=A;if(isNaN(this.w)){this.w=0}if(isNaN(this.h)){this.h=0}};PM.Date=function(B){if(B){var C=B.split(" ");var A=C[0].split("-")}if(typeof (B)=="undefined"||A.length!=3){this.storedDate=new Date();if(typeof (B)!="undefined"){this.storedDate.setTime(B)}}else{if(C==2){var D=C[1].split(":");this.storedDate=new Date(A[0],A[1]-1,A[2],D[0],D[1],D[2])}else{this.storedDate=new Date(A[0],A[1]-1,A[2])}}};PM.Date.prototype.getLocaleDate=function(){var A=this.storedDate.getDate();if(A<10){A="0"+A}var B=this.storedDate.getMonth()+1;if(B<10){B="0"+B}return A+"/"+B+"/"+this.storedDate.getFullYear()};PM.LinkTool={};PM.LinkTool.gotoHome=function(){selflink("/")};PM.LinkTool.gotoPage=function(A){s=PM.LinkTool.build(A,0);document.location.href=s};PM.LinkTool.gotoExternalPage=function(A){s=PM.LinkTool.build(A,1);window.open(s)};PM.LinkTool.build=function(B,A){s="";if(A==0){s="/"}s=s+B.path;nb=B.arrParameter.length;if(nb>0){s+="?"}for(i=0;i<nb;i++){s+=B.arrParameter[i];if(i+1<nb){s+="&"}}if(B.anch!=null){s+="#"+B.anch}return s};PM.LinkTool.URLRemoveSpecialCaracters=function(B){var A=B.replace(/</g," ");A=A.replace(/>/g," ");A=A.replace(/\|/g," ");A=A.replace(/\'/g," ");A=A.replace(/\"/g," ");return PM.Util.trim(A)};PM.LinkTool.URLEncode=function(B){var A=escape(B.replace(/ /g,"+"));A=A.replace(/\//g,"%2F");A=A.replace(/\?/g,"%3F");A=A.replace(/=/g,"%3D");A=A.replace(/&/g,"%26");A=A.replace(/@/g,"%40");A=A.replace(/%u20AC/g,"euro");return A};PM.LinkTool.askConfirmation=function(B,A){if(confirm(A)){location.href=B}};PM.LinkTool.gotoSearchPage=function(A,B,D,I,E,F,H,G){var C=A+"/"+B+"/"+D+"/"+I;if(E!=""){C=C+"/"+E+"/"+F}C=C+"/"+H+"/"+PM.LinkTool.URLEncode(G);document.location.href="/"+C};PM.LinkTool.gotoSearchPageNg=function(C,A,E,D){var B=C+"/"+A.substring(2,A.length);if(D!=""){B+="/"+E+"/"+PM.LinkTool.URLEncode(D)}PM.LinkTool.gotoPage(new PM.Link(B))};PM.LinkTool.gotoSearchAll=function(A,C){var B=A+"/";if(C!=""){B+=PM.LinkTool.URLEncode(PM.Util.trimStrongly(C))}PM.LinkTool.gotoPage(new PM.Link(B))};PM.LinkTool.gotoShopPage=function(A,C){var B=A+"&login="+C;PM.LinkTool.gotoPage(new PM.Link(B))};PM.LinkTool.gotoIdentificationPage=function(A,C){var B=A+"&reference="+C;PM.LinkTool.gotoPage(new PM.Link(B))};PM.LinkTool.isFilterPage=function(A,B){return(A.substring(0,2)==B)};PM.LinkTool.gotoFilterPage=function(){if(arguments.length<=2){PM.LinkTool.gotoFilterPage2(arguments[0],arguments[1])}else{PM.LinkTool.gotoFilterPage4(arguments[0],arguments[1],arguments[2],arguments[3])}};PM.LinkTool.gotoFilterPage2=function(B,A){if(A!=undefined){document.location.href=B+A}else{document.location.href=B}};PM.LinkTool.gotoFilterPage4=function(B,D,C,A){if(C!=A){document.location.href=B+"/"+D+"/"+PM.LinkTool.URLEncode(C)}};PM.LinkTool.gotoSortPage=function(A,B){if(B==undefined||B==0){document.location.href=A.replace("/s/1","")}else{document.location.href=A.replace("/s/1","/s/"+B)}};function gotoHome(){PM.Statistics.deprecatedFunctions("gotoHome");PM.LinkTool.gotoHome()}function gotoPage(A){PM.Statistics.deprecatedFunctions("gotoPage");PM.LinkTool.gotoPage(A)}function gotoExternalPage(A){PM.Statistics.deprecatedFunctions("gotoExternalPage");PM.LinkTool.gotoExternalPage(A)}function jsBuild(B,A){PM.Statistics.deprecatedFunctions("jsBuild");return PM.LinkTool.build(B,A)}function URLEncode(A){PM.Statistics.deprecatedFunctions("URLEncode");return PM.LinkTool.URLEncode(A)}function askConfirmation(B,A){PM.Statistics.deprecatedFunctions("askConfirmation");PM.LinkTool.askConfirmation(B,A)}function gotoSearchPage(E,D,G,C,A,B,H,F){PM.Statistics.deprecatedFunctions("gotoSearchPage");PM.LinkTool.gotoSearchPage(E,D,G,C,A,B,H,F)}function gotoSearchPageNg(B,A,D,C){PM.Statistics.deprecatedFunctions("gotoSearchPageNg");PM.LinkTool.gotoSearchPageNg(B,A,D,C)}function isFilterPage(A,B){PM.Statistics.deprecatedFunctions("isFilterPage");return PM.LinkTool.isFilterPage(A,B)}function gotoFilterPage(){PM.Statistics.deprecatedFunctions("gotoFilterPage");PM.LinkTool.gotoFilterPage.apply(null,arguments)}PM.Link=function(A){this.path=A;this.anch=null;this.arrParameter=new Array()};PM.Link.prototype={add:function(A){this.arrParameter[this.arrParameter.length]=A;return this},anchor:function(A){this.anch=A;return this}};var Link=PM.Link;PM.Cookie={};PM.Cookie.set=function(C,D,B){var E="; path=/";var A="";if(B!=undefined){var F=new Date();F.setTime(F.getTime()+(86400000*parseFloat(B)));A="; expires="+F.toGMTString()}return(document.cookie=escape(C)+"="+escape(D.toString()||"")+E+A)};PM.Cookie.get=function(A){var B=document.cookie.match(new RegExp("(^|;)\\s*"+escape(A)+"=([^;\\s]*)"));return(B?unescape(B[2]):null)};PM.Cookie.getParam=function(E,C){var B=PM.Cookie.get(E);if(B!=null){var D=B.match(new RegExp(escape(C)+"=([^&]*)"));if(D){var A=decodeURIComponent(D[1]);return unescape(A)}}return null};PM.Cookie.setParam=function(D,B,C){C=encodeURIComponent(C);var A=new RegExp(B+"=([^&]*)");if(userCookie=PM.Cookie.get(D)){if(userCookie.match(A)){userCookie=userCookie.replace(A,B+"="+C)}else{userCookie+=(B+"="+C+"&")}}else{userCookie=B+"="+C+"&"}PM.Cookie.set(D,userCookie,30000)};PM.Cookie.erase=function(A){var B=PM.Cookie.get(A)||true;PM.Cookie.set(A,"",-1);return B};PM.Cookie.accept=function(){if(typeof navigator.cookieEnabled=="boolean"){return navigator.cookieEnabled}PM.Cookie.set("_test","1");return(PM.Cookie.erase("_test")==="1")};function setCookie(A,B,C){PM.Statistics.deprecatedFunctions("setCookie");return PM.Cookie.set(A,B,C)}function readCookie(A){PM.Statistics.deprecatedFunctions("readCookie");var B=PM.Cookie.get(A);return(B?B:"")}function getParamFromCookie(A){PM.Statistics.deprecatedFunctions("getParamFromCookie");var B=PM.Cookie.getParam("pm",A);return(B?B:"")}PM.Menu={height:25,opening_delay:200,closing_delay:150,nb_tabs:0,section:"",active_menu:-1,is_positionned:false,timer:-1,current_menu:-1,level1:"menu_cat",level2:"submenu"};PM.Menu.setPosition=function(){if($(PM.Menu.level1+"_1")){PM.Menu.height=$(PM.Menu.level1+"_1").offsetHeight;for(i=1;i<=PM.Menu.nb_tabs;i++){div=$(PM.Menu.level2+"_"+i);if(div){pos=PM.Util.absolutePosition($(PM.Menu.level1+"_"+i));if(pos[0]>document.documentElement.clientWidth/2){pos[0]=pos[0]-div.offsetWidth-1+$(PM.Menu.level1+"_"+i).offsetWidth}div.style.left=pos[0]+"px";div.style.top=pos[1]+PM.Menu.height+"px";if(ie6){$("framemenu_"+i).style.left=div.style.left;$("framemenu_"+i).style.top=div.style.top;$("framemenu_"+i).style.width=div.offsetWidth+"px";$("framemenu_"+i).style.height=div.offsetHeight+"px"}}}PM.Menu.is_positionned=true}};PM.Menu.update=function(A){if(A==0&&PM.Menu.timer==-1){PM.Menu.timer=setTimeout("PM.Menu.hide_submenu()",PM.Menu.closing_delay)}else{if(A==1&&PM.Menu.timer!=-1){clearTimeout(PM.Menu.timer);PM.Menu.timer=-1}}};PM.Menu.show_submenu=function(A){if(PM.Util.whichFocus){PM.Util.whichFocus.blur()}if(PM.Menu.is_positionned==false){PM.Menu.setPosition()}$(PM.Menu.level1+"_"+A).className="highlight";submenu=$(PM.Menu.level2+"_"+A);if(submenu){$(PM.Menu.level1+"_"+A).className+=" expand";if(ie6){$("framemenu_"+A).style.display="block"}submenu.style.visibility="visible"}};PM.Menu.hide_submenu=function(A){if(PM.Menu.current_menu!=PM.Menu.active_menu){$(PM.Menu.level1+"_"+PM.Menu.current_menu).className=""}else{$(PM.Menu.level1+"_"+PM.Menu.current_menu).className="cat_on"}submenu=$(PM.Menu.level2+"_"+PM.Menu.current_menu);if(submenu){submenu.style.visibility="hidden";if(ie6){$("framemenu_"+PM.Menu.current_menu).style.display="none"}}PM.Menu.current_menu=-1;if(!A&&PM.Util.whichFocus){PM.Util.whichFocus.focus()}};PM.Menu.over=function(B,A){if(A!=PM.Menu.current_menu){if(PM.Menu.current_menu!=-1){PM.Menu.hide_submenu(true)}if(B==1){PM.Menu.update(1);PM.Menu.show_submenu(A);PM.Menu.current_menu=A}}else{if(B==1){PM.Menu.update(1)}else{if(B==0){PM.Menu.update(0)}}}PM.Menu.timer_activation=-1};PM.Menu.over_delay=function(B,A){if(B==1&&PM.Menu.current_menu==-1){PM.Menu.timer_activation=setTimeout("PM.Menu.over('"+B+"','"+A+"')",PM.Menu.opening_delay)}else{if(B==0&&PM.Menu.timer_activation!=-1){clearTimeout(PM.Menu.timer_activation);PM.Menu.timer_activation=-1}else{PM.Menu.over(B,A)}}};PM.Menu.roll=function(B,A,C){if(A==PM.Menu.current_menu){source=B.srcElement?B.srcElement:B.target;if(source.tagName!="A"&&source.tagName!="DIV"){return }PM.Menu.update(C)}};PM.Menu.write=function(tab){if(typeof (price_menu)!="undefined"){var menuBuffer="";menuBuffer+='<table border="0" cellspacing="0" cellpadding="0" class="table_menu">\n';menuBuffer+="<tr>";PM.Menu.section=tab;if(eval("price_menu."+PM.Menu.section).length){PM.Menu.section=eval("price_menu."+PM.Menu.section)}PM.Menu.nb_tabs=eval("price_menu."+PM.Menu.section+".menuitems").length;for(i=1;i<=PM.Menu.nb_tabs;i++){var item=eval("price_menu."+PM.Menu.section+".menuitems["+(i-1)+"]");(i==1)?first_tag=' class="first"':first_tag="";menuBuffer+="<td onmouseover='PM.Menu.over_delay(1,"+i+");' onmouseout='PM.Menu.over_delay(0,"+i+");' id='"+PM.Menu.level1+"_"+i+"'>";menuBuffer+="<a"+first_tag+' href="'+item.link+'" onmouseover="PM.Menu.update(1)">'+item.value+"</a>";menuBuffer+="</td>\n"}menuBuffer+="</tr>";menuBuffer+="</table>";$("price_menu").innerHTML=menuBuffer}};PM.Menu.write_submenus=function(){var subBuffer="";if(ie6){for(i=1;i<=PM.Menu.nb_tabs;i++){subBuffer+='<iframe id="framemenu_'+i+'" src="javascript:false;" style="width:0px; position: absolute; top:0px; left:0px; filter:alpha(opacity=0); z-index: 190; height: 0; display:none;"></iframe>'}}($("header_menu").className=="menu_sell")?sellClass=" submenu_sell":sellClass="";for(i=1;i<=PM.Menu.nb_tabs;i++){var item=eval("price_menu."+PM.Menu.section+".menuitems["+(i-1)+"]");if(item.subitems&&item.subitems.length>0){subBuffer+='<div class="submenu'+sellClass+'" style="visibility: hidden;" id="'+PM.Menu.level2+"_"+i+'" onmouseover="PM.Menu.roll(event,'+i+',1);" onmouseout="PM.Menu.roll(event,'+i+',0)">';for(j=0;j<item.subitems.length;j++){subBuffer+='<a href="'+item.subitems[j].link+'">'+item.subitems[j].value+"</a>"}subBuffer+="</div>\n"}}$("pm_submenu").innerHTML=subBuffer};PM.Menu.highlight=function(breadcrumbs){for(i=0;i<breadcrumbs.length;i++){submenuid=eval("price_menu."+PM.Menu.section+".alias."+breadcrumbs[i]);if(submenuid){$(PM.Menu.level1+"_"+submenuid).className="cat_on";PM.Menu.active_menu=submenuid;return }}};PM.Dom={};PM.Dom.createLink=function(A,B,E,D){var C=document.createElement("a");C.href=A;if(B){if(typeof (B)=="string"){C.appendChild(document.createTextNode(B))}else{C.appendChild(B)}}if(E){C.id=E}if(D){C.className=D}return C};PM.Dom.createImage=function(A,B){var C=document.createElement("img");C.src=A;if(A){C.alt=B}return C};PM.Dom.nextObject=function(A){do{A=A.nextSibling}while(A&&A.nodeType!=1);return A};PM.Dom.previousObject=function(A){do{A=A.previousSibling}while(A&&A.nodeType!=1);return A};PM.Dom.parent=function(A){A=$(A);if(document.all){return A.parentElement}else{return A.parentNode}};PM.Dom.createElement=function(B,A){var C=document.createElement(B);if(A){if(A.className){C.className=A.className}if(A.id){C.id=A.id}if(A.content){if(typeof (A.content)=="string"){C.appendChild(document.createTextNode(A.content))}else{C.appendChild(A.content)}}}return C};PM.Dom.withinElement=function(B,A){while(B&&B!=A){B=PM.Dom.parent(B)}return B==A};PM.Dom.Class={};PM.Dom.Class.add=function(B,A){B=$(B);if(B&&A&&!B.className.match(A)){B.className+=" "+A}};PM.Dom.Class.replace=function(B,C,A){B=$(B);if(B){B.className=B.className.replace(new RegExp(C,"g"),A)}};PM.Dom.Class.remove=function(B,A){PM.Dom.Class.replace(B,A,"")};PM.Comparator={separator:"*",maxProducts:5};PM.Comparator.clear=function(){PM.Cookie.erase(PM.Comparator.Cookie.Product);PM.Cookie.erase(PM.Comparator.Cookie.Group)};PM.Comparator.hasProduct=function(B){var A=PM.Cookie.get(PM.Comparator.Cookie.Product);return(A.indexOf(PM.Comparator.separator+B+PM.Comparator.separator)>=0)};PM.Comparator.isFull=function(){var B=PM.Cookie.get(PM.Comparator.Cookie.Product);if(!B){return false}B=B.substring(1,B.length-1);var A=B.split(PM.Comparator.separator);if(A.length<PM.Comparator.maxProducts){return false}else{return true}};PM.Comparator.isEmpty=function(){var A=PM.Cookie.get(PM.Comparator.Cookie.Product);if(!A||A==PM.Comparator.separator||A==""){return true}else{return false}};PM.Comparator.isSameGroup=function(B){var A=PM.Cookie.get(PM.Comparator.Cookie.Group);if(!A||A==""){return true}else{return(B==A)}};PM.Comparator.add=function(A,D,F,H,G,B,I){if(!PM.Comparator.isSameGroup(G)){if(confirm(F)){PM.Comparator.clear()}else{return false}}else{if(PM.Comparator.isFull()){alert(H);PM.PopUp.open(A,PM.PopUp.Type.COMPARATOR);return false}}var E=PM.Comparator.isEmpty();var C=PM.Comparator.separator;if(E){alert(D)}else{C=PM.Cookie.get(PM.Comparator.Cookie.Product)}if(E||!PM.Comparator.hasProduct(B)){C=C+B+PM.Comparator.separator}PM.Cookie.set(PM.Comparator.Cookie.Product,C);PM.Cookie.set(PM.Comparator.Cookie.Group,G);if(!E){PM.PopUp.open(A,PM.PopUp.Type.COMPARATOR)}window.location.reload();return false};PM.Comparator.remove=function(A,C){var B=PM.Cookie.get(PM.Comparator.Cookie.Product);PM.Cookie.set(PM.Comparator.Cookie.Product,B.replace(PM.Comparator.separator+C,""));if(PM.Comparator.isEmpty()){PM.Comparator.clear()}if(A){PM.PopUp.open(A,PM.PopUp.Type.COMPARATOR)}window.location.reload()};PM.Comparator.Cookie={Group:"comparegroup",Product:"compareproduct"};PM.Cart={Cookie:"cart"};PM.Cart.display=function(E,D,B){var H=PM.Cookie.get(PM.Cart.Cookie);var C=$("cart_items");if(C){for(var G=0;G<C.childNodes.length;++G){C.removeChild(C.childNodes.item(G))}C.appendChild(document.createTextNode("("));var F=C;if(H!=null&&H>0){var A=PM.Dom.createLink(E);C.appendChild(A);F=A}else{H=0}if(H>1){F.appendChild(document.createTextNode(H+" "+B))}else{F.appendChild(document.createTextNode(H+" "+D))}C.appendChild(document.createTextNode(")"))}};PM.Cart.display_cob=function(E,C,D,B,A){var F=PM.Cookie.get(PM.Cart.Cookie);if(!F||E||F!=0){document.write('<a href="'+C+'" class="panier">'+D+"</a>")}if(F){if(F!=0){document.write('<a href="'+C+'" class="nonu">');if(F>1){document.write(F+" "+A)}else{document.write(F+" "+B)}document.write("</a>")}}};PM.Cart.exists=function(){var A=PM.Cookie.get(PM.Cart.Cookie);if(A!=""&&A!=0){return true}else{return false}};PM.Memo={Cookie:"memo"};PM.Memo.exists=function(){var A=PM.Cookie.get(PM.Memo.Cookie);return(A!=""&&A!=0)};PM.Memo.display=function(C,A){var B=PM.Cookie.get(PM.Memo.Cookie);if(B>1){document.write(B+" "+A)}else{B=B==1?B:0;document.write(B+" "+C)}};function hasMemo(){PM.Statistics.deprecatedFunctions("hasMemo");return PM.Memo.exists()}function displayMemo(B,A){PM.Statistics.deprecatedFunctions("displayMemo");PM.Memo.display(B,A)}PM.Spot={};PM.Spot.showCmsButton=function(E,A){$("divCms").innerHTML='<a href="'+E+'" class="bg_bo">IG</a>';var D=A.offsetWidth;var C=calculateElementPosition(A);var B=C[0]+D;if(document.all){$("divCms").style.setAttribute("cssText","position:absolute;left:"+B+"px;top:"+C[1]+"px;z-index:200")}else{$("divCms").setAttribute("style","position:absolute;left:"+B+"px;top:"+C[1]+"px;z-index:200")}};PM.Spot.hideCmsButton=function(){$("divCms").setAttribute("style","display:none")};function showCmsButton(B,A){PM.Statistics.deprecatedFunctions("showCmsButton");PM.Spot.showCmsButton(B,A)}function hideCmsButton(){PM.Statistics.deprecatedFunctions("hideCmsButton");PM.Spot.hideCmsButton()}PM.Ajax={GET:1,POST:2,activeRequests:{},disablers:{}};PM.Ajax.getXmlHttpObject=function(){if(window.XMLHttpRequest){return new XMLHttpRequest()}else{return new ActiveXObject("Microsoft.XMLHTTP")}};PM.Ajax.updateDiv=function(A){if(A.updateId){var B=A.XmlHttpObject.responseText;$(A.updateId).innerHTML=B;if(A.evalScripts){PM.Util.evalScript(B)}}};PM.Ajax.request=function(url,callFunction,options){if(!options){options={}}var disableBlockWhenSubmitting=(typeof options.disableBlockWhenSubmitting=="undefined")||options.disableBlockWhenSubmitting;var isAsynchronous=(typeof options.isAsynchronous=="undefined")||options.isAsynchronous;var XmlHttpObject=PM.Ajax.getXmlHttpObject();if(options.preventMultipleCalls){if(PM.Ajax.activeRequests[options.preventMultipleCalls]==true){return false}PM.Ajax.activeRequests[options.preventMultipleCalls]=true;if(disableBlockWhenSubmitting){if(typeof (PM.Ajax.disablers[options.preventMultipleCalls])=="undefined"){PM.Ajax.disablers[options.preventMultipleCalls]=new PM.UI.BlockDisabler(options.preventMultipleCalls,true)}PM.Ajax.disablers[options.preventMultipleCalls].disable()}}if(isAsynchronous){XmlHttpObject.onreadystatechange=function(){if(XmlHttpObject.readyState==4){response=XmlHttpObject.responseText;if(response!=null){if(!response.match(new RegExp("<html[^>]*>","i"))){var tagRegExp='{.*(values|"action":"tag")+.*(values|"action":"tag")+.*}';var matchTag=new RegExp(tagRegExp,"i");var tagArray=response.match(matchTag);response=response.replace(matchTag,"");if(XmlHttpObject.status==200){options.XmlHttpObject={responseText:response,responseXML:XmlHttpObject.responseXML};if(options.XmlHttpObject.responseText){options.responseText=response}if(callFunction){callFunction.apply(null,[options])}if(options.waitId&&$(options.waitId)){$(options.waitId).style.visibility="hidden"}}if(tagArray){eval("var res = "+tagArray[0]);var tmp_xtpage=res.values.xtpage;if(res.values.xtparams){tmp_xtpage+="&"+res.values.xtparams}PM.Statistics.tagView(res.values.s2,tmp_xtpage)}}else{if(options.errorCallback){options.errorCallback.apply(null,[options])}}}if(options.preventMultipleCalls){PM.Ajax.activeRequests[options.preventMultipleCalls]=false;if(disableBlockWhenSubmitting){PM.Ajax.disablers[options.preventMultipleCalls].enable()}}}}}if(options.waitId&&$(options.waitId)){$(options.waitId).style.visibility="visible"}if(options.method&&options.method==PM.Ajax.POST){XmlHttpObject.open("POST",url,isAsynchronous);if(options.requestHeaders){for(key in options.requestHeaders){XmlHttpObject.setRequestHeader(key,options.requestHeaders[key])}}XmlHttpObject.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");if(options.urlParams){XmlHttpObject.send(options.urlParams)}else{XmlHttpObject.send(null)}}else{if(options.urlParams){url+="?"+options.urlParams}XmlHttpObject.open("GET",url,isAsynchronous);XmlHttpObject.send(null)}if(!isAsynchronous){options.XmlHttpObject=XmlHttpObject;if(callFunction){callFunction.apply(null,[options])}if(options.waitId){$(options.waitId).style.visibility="hidden"}}};PM.Ajax.update=function(C,A,B){if(!B){B={}}B.updateId=A;PM.Ajax.request(C,PM.Ajax.updateDiv,B)};PM.Ajax.authenticate=function(A){window.location.href=A.loginURL};PM.Statistics={};PM.Statistics.Type={NAVIGATION:"N",OUT:"S",ACTION:"A"};PM.Statistics.Xtn2={ROOT:"0",CART:"26",FPDA:"31",OTHERS:"35",COMMUNITY:"38"};PM.Statistics.tagView=function(B,A){if(typeof (xt_med)!="undefined"){if(B==null){B=window.xtn2}xt_med("F",B,A)}else{PM.Event.add(window,PM.Event.Type.STATISTICS,PM.Statistics.tagView.bindObj(window,B,A))}};PM.Statistics.tagClick=function(B,A,C){if(typeof (xt_med)!="undefined"){if(B==null){B=window.xtn2}xt_med("C",B,A,C)}else{PM.Event.add(window,PM.Event.Type.STATISTICS,PM.Statistics.tagClick.bindObj(window,B,A,C))}};PM.Statistics.deprecatedFunctions=function(A){PM.Statistics.tagClick(PM.Statistics.Xtn2.OTHERS,"Deprecated::"+A,PM.Statistics.Type.ACTION)};PM.Statistics.Criteria=function(){this.tag=""};PM.Statistics.Criteria.prototype.append=function(A,B){this.tag+="&"+A+"="+B};PM.Statistics.Criteria.prototype.reset=function(){this.tag=""};PM.Statistics.Tracking={};PM.Statistics.Tracking.concat=function(B,C,A){if(A!=null){if(typeof (B)=="undefined"){B=""}B+="&";if(C!=null){B+=C+"="}B+=A}return B};var xitiTags=new Array();PM.Statistics.Tracking.writeTag=function(D,E){if(!window.xtsite){window.ajaxSpecXtpage=D;window.ajaxSpecXtn2=E}else{if(D==null){D=window.xtpage}if(E==null){E=window.xtn2}var A=window.xtparam?"&"+window.xtparam:"";var B=new Date();var C=xitiTags.length;xitiTags[C]=new Image();xitiTags[C].src=xtsd+".xiti.com/hit.xiti?s="+xtsite+"&s2="+E+"&p="+D+"&di="+A+"&hl="+B.getHours()+"x"+B.getMinutes()+"x"+B.getSeconds();PM.Debug.log("Envoi du tag XITI:"+D,PM.Debug.Type.DEBUG)}};PM.Statistics.Tracking.addAutopromoId=function(A){var D=false;if(window.xt_ati!=null){if(!window.xt_ati.match(new RegExp(A,"i"))){window.xt_ati+=","+A;D=true}}else{window.xt_ati=A;D=true}if(D==true&&PM.Event.status==PM.Event.Type.COMPLETE){var C="http://logc11.xiti.com/go.ad?xts";if(isSecure){C="https://logs11.xiti.com/go.ad?xts"}var E=C+site_niveau1;var B=new Date();E+="&atc="+A;E+="&type=AT&rn="+B.getHours()+"x"+B.getMinutes()+"x"+B.getSeconds();PM.Image.load(E)}if(D){PM.Debug.log("addAutopromoId "+A)}return D};PM.Statistics.Tracking.logAutopromos=function(){PM.Debug.store("Autopromos: "+window.xt_ati,PM.Debug.Type.DEBUG)};PM.Statistics.Tracking.addPublisherId=function(A){PM.Statistics.Tracking.addAutopromoId(A)};PM.Statistics.Tracking.addABTest=function(A,E,D){if(!D){D={}}this.tl=A;this.tv=E;var F="&tl="+this.tl.replace(/[ \'<>&"]/g,"_")+"&tv="+this.tv.replace(/[ \'<>&"]/g,"_");if(!D.isAfterPageLoading){if(window.xtparam!=null){window.xtparam+=F}else{window.xtparam=F}}else{var C=new Date();var B=xtsd+".xiti.com/hit.xiti?s="+xtsite+"&s2="+xtn2+F;B+="&type=AT&rn="+C.getHours()+"x"+C.getMinutes()+"x"+C.getSeconds();PM.Image.load(B);PM.Debug.log("Impression XITI de l'ABTest "+A+" : "+B,PM.Debug.Type.DEBUG)}};PM.Statistics.Tracking.computeABTestingCriteria=function(B){var A="";if(B){A+="&"+B}if(window.xtparam!=null){window.xtparam+=A}else{window.xtparam=A}};PM.Statistics.Tracking.debug=function(){var A={};A.xtnv=window.xtnv;A.xtsd=window.xtsd;A.xtsite=window.xtsite;A.xtn2=window.xtn2;A.xtpage=window.xtpage;A.xtdi=window.xtdi;A.xto_force=window.xto_force;A.xtparam=window.xtparam;PM.Debug.log(["Debug variables XiTi",A],PM.Debug.Type.INFO)};PM.Image={imgArray:new Array()};PM.Image.load=function(A){var B=PM.Image.imgArray.length;PM.Image.imgArray[B]=new Image();PM.Image.imgArray[B].src=A};PM.Provenance={};PM.Provenance.condamn=function(){var A=PM.Cookie.setParam("pmup","pmup_provenance",0);PM.Alert.close()};PM.Provenance.execute=function(){var F=PM.Cookie.get("pmup");if(F!=null){var E=PM.Cookie.getParam("pmup","pmup_provenance");if(E!=null&&E!=1){return }}var B=PM.Cookie.get("provenance");if(B==null){PM.Cookie.set("provenance",1)}else{return }var A=PM.Util.getNavigatorLanguage();A=A.toLowerCase();var D=false;for(var C=0;C<prov_list.length;C++){if(A.indexOf(prov_list[C])!=-1){D=true}}if(D==true){new PM.Alert("/info/redirect_site_"+A,{isAjax:true,shutText:"",hasMargin:false,clickOutsideClose:false,width:"427px"})}};PM.Event.add(window,PM.Event.Type.INIT,PM.Provenance.execute);PM.Tooltip=function(C,D,A,B){this.targetId=C;this.targetElt=$(C);this.contentId=D;this.contentElt=$(D);this.globalId=A;this.globalElt=$(A);this.positionning=PM.Util.getOption(B.positionning,PM.Tooltip.positionning.TOP_LEFT);this.timerIn=PM.Util.getOption(B.timerIn,100);this.timerOut=PM.Util.getOption(B.timerOut,100);this.width=PM.Util.getOption(B.width,PM.Tooltip.size.MEDIUM);this.updateDivId=PM.Util.getOption(B.updateDivId,this.contentId);this.marginBottom=PM.Util.getOption(B.marginBottom,0);this.showCallMethod=B.showCallMethod;this.ajaxUrlUpdate=B.ajaxUrlUpdate;this.clickCallMethod=B.clickCallMethod;this.activeHackIeNavGrid=B.activeHackIeNavGrid;this.activeHackIeFpDesc=B.activeHackIeFpDesc;this.printConfiguration();this.waitId="tooltip_wait";this.contentUpdated=false;this.displayed=false;this.showTimer=null;this.hideTimer=null;this.build();this.bindTo();this.clicking=false};PM.Tooltip.tooltipDisplayed=null;PM.Tooltip.tooltipWaiting=null;PM.Tooltip.size={SMALL:"tooltip_s",MEDIUM:"tooltip_m",LARGE:"tooltip_l"};PM.Tooltip.positionning={TOP_LEFT:1,TOP_MIDDLE:2,TOP_RIGHT:3,BOTTOM_LEFT:4,BOTTOM_MIDDLE:5,BOTTOM_RIGHT:6};PM.Tooltip.prototype.build=function(){PM.Dom.Class.remove(this.contentElt,this.width);PM.Dom.Class.add(this.contentElt,this.width);if(ie6){var B=this.contentElt;var A=PM.Dom.createElement("div");A.innerHTML='<iframe id="'+this.contentId+'_iframe" src="javascript:false;" style="width:0px; position: absolute; top:0px; left:0px; filter:alpha(opacity=0); z-index: -1; height: 0; display:none;"></iframe>';B.appendChild(A)}};PM.Tooltip.prototype.bindTo=function(){PM.Event.add(this.targetElt,"mouseover",this.mouseOverTargetDetected.bindObj(this));PM.Event.add(this.targetElt,"mouseleave",this.mouseLeaveTargetDetected.bindObj(this));PM.Event.add(this.contentElt,"mouseleave",this.mouseLeaveContentDetected.bindObj(this));PM.Event.add(this.contentElt,"mouseover",this.mouseOverContentDetected.bindObj(this));PM.Event.add(document,"click",this.testTooltipClick.bindObj(this))};PM.Tooltip.prototype.mouseOverTargetDetected=function(){if(PM.Tooltip.tooltipWaiting!=this){if(PM.Tooltip.tooltipWaiting!=null){PM.Tooltip.tooltipWaiting.killShow()}PM.Tooltip.tooltipWaiting=this}if(PM.Tooltip.tooltipDisplayed==null&&!this.isWaitingForDisplay()){PM.Tooltip.tooltipWaiting.launchShow()}else{if(PM.Tooltip.tooltipDisplayed==this&&this.isWaitingForHide()){PM.Tooltip.tooltipDisplayed.killHide()}}};PM.Tooltip.prototype.mouseLeaveTargetDetected=function(){if(PM.Tooltip.tooltipWaiting==this){PM.Tooltip.tooltipWaiting.killShow()}if(PM.Tooltip.tooltipDisplayed==this){PM.Tooltip.tooltipDisplayed.launchHide()}};PM.Tooltip.prototype.mouseLeaveContentDetected=function(){if(PM.Tooltip.tooltipDisplayed==this&&!this.isWaitingForHide()){this.launchHide()}};PM.Tooltip.prototype.mouseOverContentDetected=function(){if(this.isWaitingForHide()){this.killHide()}if(PM.Tooltip.tooltipWaiting!=null){PM.Tooltip.tooltipWaiting.killShow()}};PM.Tooltip.prototype.isWaitingForDisplay=function(){return this.showTimer!=null};PM.Tooltip.prototype.isWaitingForHide=function(){return this.hideTimer!=null};PM.Tooltip.prototype.launchShow=function(){this.showTimer=setTimeout(this.show.bindObj(this),this.timerIn)};PM.Tooltip.prototype.clickOnTargetDetected=function(A){if(A.button==2){return }PM.Util.preventDefault(A);PM.Tooltip.tooltipWaiting=this;PM.Tooltip.tooltipWaiting.show()};PM.Tooltip.prototype.clickOnTooltipDetected=function(A){if(A.button==2){return }if(this.clickCallMethod&&!this.clicking){PM.Util.preventDefault(A);this.clicking=true;this.clickCallMethod.apply(null);this.clicking=false}};PM.Tooltip.prototype.killShow=function(){PM.Tooltip.tooltipWaiting=null;clearTimeout(this.showTimer);this.showTimer=null};PM.Tooltip.prototype.killHide=function(){clearTimeout(this.hideTimer);this.hideTimer=null};PM.Tooltip.prototype.launchHide=function(){if(this.displayed){this.hideTimer=setTimeout(this.hide.bindObj(this),this.timerOut)}};PM.Tooltip.prototype.testTooltipClick=function(C){var A=PM.Util.getElementFromEvent(C);var B=0;while(PM.Dom.parent(A)!=null){if(A.id==this.targetId){this.clickOnTargetDetected(C);return }else{if(A.id==this.contentId){this.clickOnTooltipDetected(C);return }else{A=PM.Dom.parent(A)}}}if(this.isWaitingForHide()){this.killHide();this.hide()}};PM.Tooltip.prototype.displayInPage=function(){var A=parseInt(this.contentElt.offsetWidth);var K=parseInt(this.contentElt.offsetHeight);var I=parseInt(this.targetElt.offsetWidth);var H=parseInt(this.targetElt.offsetHeight);var G=parseInt(this.globalElt.offsetWidth);var B=parseInt(this.globalElt.offsetHeight);var J=PM.Util.absolutePosition(this.globalElt);var L=parseInt(J[0]);var E=parseInt(J[1]);var F=0;var D=0;if(this.positionning==PM.Tooltip.positionning.TOP_LEFT){F=0;D=0-K-this.marginBottom}else{if(this.positionning==PM.Tooltip.positionning.TOP_MIDDLE){F=0-((A/2)-(G/2));D=0-K-this.marginBottom}else{if(this.positionning==PM.Tooltip.positionning.TOP_RIGHT){F=0-(A-G);D=0-K-this.marginBottom}}}if(this.positionning==PM.Tooltip.positionning.BOTTOM_LEFT){F=0;D=B+this.marginBottom}else{if(this.positionning==PM.Tooltip.positionning.BOTTOM_MIDDLE){F=0-((A/2)-(G/2));D=B+this.marginBottom}else{if(this.positionning==PM.Tooltip.positionning.BOTTOM_RIGHT){F=0-(A-G);D=B+this.marginBottom}}}if((L+F)<0){F=0}if(ie6){var C=$(this.contentId+"_iframe");C.style.top=(0-this.marginBottom)+"px";C.style.left=0+"px";C.style.width=A+"px";C.style.height=K+"px";C.style.display="block"}this.contentElt.style.left=F+"px";this.contentElt.style.top=D+"px"};PM.Tooltip.prototype.show=function(){this.showTimer=null;if(PM.Tooltip.tooltipDisplayed!=null||PM.Tooltip.tooltipWaiting==null){return }PM.Tooltip.tooltipDisplayed=this;this.displayed=true;PM.Tooltip.tooltipWaiting=null;PM.Dom.Class.remove(this.globalElt,"tooltip_inactive");PM.Dom.Class.add(this.globalElt,"tooltip_active");if(this.ajaxUrlUpdate&&!this.contentUpdated){PM.Ajax.request(this.ajaxUrlUpdate,this.fillContent.bindObj(this),{waitId:PM.Tooltip.waitId})}if(this.activeHackIeNavGrid&&(ie6||ie7)){this.installHackIeOnlyForNavGrid(true)}if(this.activeHackIeFpDesc&&ie){this.installHackIeOnlyForFpDesc(true)}this.displayInPage();if(this.showCallMethod){this.showCallMethod.apply(null)}};PM.Tooltip.prototype.fillContent=function(A){var B=A.XmlHttpObject.responseText;$(this.updateDivId).innerHTML=B;this.contentUpdated=true;this.displayInPage()};PM.Tooltip.prototype.hide=function(){this.hideTimer=null;if(PM.Tooltip.tooltipDisplayed==this){PM.Tooltip.tooltipDisplayed=null;this.displayed=false;if(PM.Tooltip.tooltipWaiting!=null){PM.Tooltip.tooltipWaiting.show();PM.Tooltip.tooltipWaiting=null}PM.Dom.Class.remove(this.globalElt,"tooltip_active");PM.Dom.Class.add(this.globalElt,"tooltip_inactive");if(this.activeHackIeNavGrid&&(ie6||ie7)){this.installHackIeOnlyForNavGrid(false)}if(this.activeHackIeFpDesc&&ie){this.installHackIeOnlyForFpDesc(false)}}};PM.Tooltip.prototype.installHackIeOnlyForNavGrid=function(B){var A=this.globalElt;while(PM.Dom.parent(A)!=null){if(A.className.match("announce_blk")){if(B){PM.Dom.Class.add(A,"announce_blk_ttip_active")}else{PM.Dom.Class.remove(A,"announce_blk_ttip_active")}return }else{A=PM.Dom.parent(A)}}};PM.Tooltip.prototype.installHackIeOnlyForFpDesc=function(C){var A=this.globalElt;var B=PM.Dom.parent(A);if(B!=null){PM.Debug.log(C);if(C){PM.Dom.Class.remove(B,"pm_ie")}else{PM.Dom.Class.add(B,"pm_ie")}}};PM.Tooltip.prototype.printConfiguration=function(){PM.Debug.log("Conf "+this.globalId+": pos="+this.positionning+", timerIn="+this.timerIn+", timerOut="+this.timerOut+", width="+this.width+", updateDivId="+this.updateDivId+", marginBottom="+this.marginBottom,PM.Debug.Type.DEBUG)};PM.Event.add(window,"resize",PM.Menu.setPosition);PM.Event.add(window,"load",PM.Menu.setPosition);PM.Event.add(window,"load",PM.Util.manageFocus);PM.Flash={};if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(K,B,L,D,H,I,F,E,C,J){if(!document.getElementById){return }this.DETECT_KEY=J?J:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(K){this.setAttribute("swf",K)}if(B){this.setAttribute("id",B)}if(L){this.setAttribute("width",L)}if(D){this.setAttribute("height",D)}if(H){this.setAttribute("version",new deconcept.PlayerVersion(H.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(I){this.addParam("bgcolor",I)}var A=F?F:"high";this.addParam("quality",A);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var G=(E)?E:window.location;this.setAttribute("xiRedirectUrl",G);this.setAttribute("redirectUrl","");if(C){this.setAttribute("redirectUrl",C)}};deconcept.SWFObject.prototype={useExpressInstall:function(A){this.xiSWFPath=!A?"expressinstall.swf":A;this.setAttribute("useExpressInstall",true)},setAttribute:function(A,B){this.attributes[A]=B},getAttribute:function(A){return this.attributes[A]},addParam:function(B,A){this.params[B]=A},getParams:function(){return this.params},addVariable:function(B,A){this.variables[B]=A},getVariable:function(A){return this.variables[A]},getVariables:function(){return this.variables},getVariablePairs:function(){var C=new Array();var B;var A=this.getVariables();for(B in A){C[C.length]=B+"="+A[B]}return C},getSWFHTML:function(){var B="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}B='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';B+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var F=this.getParams();for(var E in F){B+=[E]+'="'+F[E]+'" '}var D=this.getVariablePairs().join("&");if(D.length>0){B+='flashvars="'+D+'"'}B+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}B='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';B+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var C=this.getParams();for(var E in C){B+='<param name="'+E+'" value="'+C[E]+'" />'}var A=this.getVariablePairs().join("&");if(A.length>0){B+='<param name="flashvars" value="'+A+'" />'}B+="</object>"}return B},write:function(B){if(this.getAttribute("useExpressInstall")){var A=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(A)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var C=(typeof B=="string")?document.getElementById(B):B;C.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var E=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var A=navigator.plugins["Shockwave Flash"];if(A&&A.description){E=new deconcept.PlayerVersion(A.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var B=1;var C=3;while(B){try{C++;B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+C);E=new deconcept.PlayerVersion([C,0,0])}catch(D){B=null}}}else{try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(D){try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");E=new deconcept.PlayerVersion([6,0,21]);B.AllowScriptAccess="always"}catch(D){if(E.major==6){return E}}try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(D){}}if(B!=null){E=new deconcept.PlayerVersion(B.GetVariable("$version").split(" ")[1].split(","))}}}return E};deconcept.PlayerVersion=function(A){this.major=A[0]!=null?parseInt(A[0]):0;this.minor=A[1]!=null?parseInt(A[1]):0;this.rev=A[2]!=null?parseInt(A[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(A){if(this.major<A.major){return false}if(this.major>A.major){return true}if(this.minor<A.minor){return false}if(this.minor>A.minor){return true}if(this.rev<A.rev){return false}return true};deconcept.util={getRequestParameter:function(C){var D=document.location.search||document.location.hash;if(C==null){return D}if(D){var B=D.substring(1).split("&");for(var A=0;A<B.length;A++){if(B[A].substring(0,B[A].indexOf("="))==C){return B[A].substring((B[A].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var B=document.getElementsByTagName("OBJECT");for(var C=B.length-1;C>=0;C--){B[C].style.display="none";for(var A in B[C]){if(typeof B[C][A]=="function"){B[C][A]=function(){}}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(!document.getElementById&&document.all){document.getElementById=function(A){return document.all[A]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;