var POWERREVIEWS=(function(){var J={common:{},submission:{}};var AI=false;var m=false;var N=null;var P={};var o={};var s={};var E={};J.common.gResult=E;window.gResult=E;var g={};var e=encodeURIComponent||escape;var k="prBaseStylesheet";var n="prMerchantOverrideStylesheet";var G={"0":{large:"pr-stars-0",small:"pr-stars-0-sm"},"1":{large:"pr-stars-1",small:"pr-stars-1-sm"},"1.5":{large:"pr-stars-1_5",small:"pr-stars-1_5-sm"},"2":{large:"pr-stars-2",small:"pr-stars-2-sm"},"2.5":{large:"pr-stars-2_5",small:"pr-stars-2_5-sm"},"3":{large:"pr-stars-3",small:"pr-stars-3-sm"},"3.5":{large:"pr-stars-3_5",small:"pr-stars-3_5-sm"},"4":{large:"pr-stars-4",small:"pr-stars-4-sm"},"4.5":{large:"pr-stars-4_5",small:"pr-stars-4_5-sm"},"5":{large:"pr-stars-5",small:"pr-stars-5-sm"}};var h={pr_merchant_table:{"m2347":{"name":"Directelectronique.com ","cobranded":"true"}},pr_merchant_id:2347,pr_locale:"fr_FR",pr_read_review:"#ReviewHeader",pr_read_qa:"#QAHeader",pr_write_review:"http://www.directelectronique.com/catalog/reviews.php?pr_page_id=~~~PAGE_ID~~~",pr_ask_question:"",pr_answer_question:"",pr_js_controller_url:"http://services.powerreviews.com/JSController.do",pr_reviews_per_page:5,pr_zip_location:"http://cdn.shopzilla.com/repos/12314/pr",pr_powerreviews_root:"pwr",pr_allow_engine_css_override:true,pr_style_sheet:"",pr_analytics_script_src:"",pr_analytics_account:"",pr_badge_definitions_url:"javascript:POWERREVIEWS.common.showSmallPopup('http://www.bizrate.co.uk/productreviews/~~~LOCALE~~~_badge_definitions.html', 580, 460)",pr_expert_badge_definitions_url:"javascript:POWERREVIEWS.common.showSmallPopup('http://www.bizrate.co.uk/productreviews/~~~LOCALE~~~_badge_definitions.html', 580, 460)",pr_frame_height:3000,pr_submit_review_url:"http://services.powerreviews.com/SubmitReview.do",pr_ask_question_url:"http://services.powerreviews.com/SubmitQuestion.dox",pr_answer_question_url:"http://services.powerreviews.com/SubmitAnswer.dox",pr_resize_url:"http://www.directelectronique.com/catalog/resize.html",pr_snippet_min_reviews:0,pr_source:"web",pr_image_snippet_show_image:Y,pr_image_snippet_max:7,pr_snippet_star_click:"",pr_back_to_top_link:"#",pr_highlight_review_url:"http://cdn.powerreviews.com/newreview/~~~REVIEW_ID~~~.js",pr_see_all_reviews_url:"",pr_nbr_displayed_profile_reviews:-1,pr_badge_table:{"11025":{"locales":{"en_GB":{"hovertext":"Staff Reviewer","description":"A Staff Reviewer is a merchant or brand employee who contributes a review based on ownership or usage of the product.","filename":"badge_sr_en_GB.gif"},"en_US":{"hovertext":"Staff Reviewer","description":"A Staff Reviewer is a merchant or brand employee who contributes a review based on ownership or usage of the product.","filename":"badge_sr_en_US.gif"},"de_DE":{"hovertext":"Mitarbeiter-Bewerter","description":"","filename":"badge_sr_de_DE.gif"},"fr_FR":{"hovertext":"","description":"","filename":"badge_sr_fr_FR.gif"}},"label":"staff","isStaff":true},"11026":{"locales":{"en_GB":{"hovertext":"Staff Reviewer","description":"A Staff Expert is a merchant or brand employee with recognized expertise within the company who contributes a review based on in-depth knowledge of the product as well as related products.","filename":"badge_se_en_GB.gif"},"en_US":{"hovertext":"Staff Reviewer","description":"A Staff Expert is a merchant or brand employee with recognized expertise within the company who contributes a review based on in-depth knowledge of the product as well as related products.","filename":"badge_se_en_US.gif"},"de_DE":{"hovertext":"Mitarbeiter-Bewerter","description":"","filename":"badge_se_de_DE.gif"},"fr_FR":{"hovertext":"","description":"","filename":"badge_se_fr_FR.gif"}},"label":"staff-expert","isStaff":true}},pr_attribution_table:{}};var B={};if(window&&window.location&&window.location.search){var AF=window.location.search.substring(1).split("&");for(var AD=0,T=AF.length;AD<T;++AD){var AE=AF[AD].split("=");B[AE[0]]=AE[1];}}function d(AL){for(var AM=1,AK=arguments.length;AM<AK;++AM){var AN=arguments[AM];if(AN){var AJ=AN[AL];if(typeof AJ!="undefined"){return AJ;}}}return null;}function AC(AK,AJ){var i=d(AK,AJ,B,window,h);if("pr_locale"==AK&&"3498"==AC("pr_merchant_id",AJ)){if(i=="en"){i="en_CA";}else{if(i=="fr"){i="fr_CA";}}}return i;}J.common.get=AC;function L(AN){var AM=0;var AL;for(AL=0;AL<AN.length;AL++){var AK=AN.charCodeAt(AL);AK=AK*Math.abs(255-AK);AM+=AK;}AM=AM%1023;AM=AM+"";var AO=4;var AJ=AM.split("");for(AL=0;AL<AO-AM.length;AL++){AJ.unshift("0");}AM=AJ.join("");AM=AM.substring(0,AO/2)+"/"+AM.substring(AO/2,AO);return AM;}function F(i,AK){if(AI){return true;}else{if(!X(AK)){return false;}}AI=true;if(!document.getElementById(k)){i.write('<link rel="stylesheet" href="'+I(AK)+'/engine/pr_styles_review.css" type="text/css" id="'+k+'">\n');}var AL=I(AK)+"/engine/merchant_styles2.css";var AJ=A(AC("pr_style_sheet",AK));if(AC("pr_allow_engine_css_override",AK)&&AJ){AL=AJ;}if(!document.getElementById(n)){i.write('<link rel="stylesheet" href="'+AL+'" type="text/css" id="'+n+'">\n');}V(I(AK)+"/engine/images/ph.gif?r="+Math.floor(Math.random()*10000));return true;}function X(i){if(m){return true;}else{if(!AC("pr_page_id",i)&&!AC("pr_merchant_user_id",i)){return false;}}m=true;return true;}function C(i,AJ,AK){if(!document.getElementById(i)){setTimeout(function(){C(i,AJ,AK);},1000);}else{x(i,AJ,AK);}}function x(i,AK,AL){try{if(!AK){AK="";}j(function(){AB(document.getElementById(i),AK);if(AL){AL();}});}catch(AJ){}}function AB(AK,AJ){if(AK.parentNode){var i=document.createElement("div");i.id=AK.id;i.className=AK.className;i.innerHTML=AJ;AK.parentNode.replaceChild(i,AK);return i;}else{AK.innerHTML=AJ;return AK;}}function j(i){if(typeof i=="function"){(function(){if(K()){try{document.documentElement.doScroll("left");}catch(AJ){setTimeout(arguments.callee,50);return ;}}i();i=null;})();}}function K(){return typeof document.all!="undefined"&&typeof window.opera=="undefined"&&!(navigator.vendor=="KDE");}function V(i){new Image().src=i;}function I(AJ){var i=AC("pr_zip_location",AJ);if(i.charAt(i.length-1)!="/"){i+="/";}i+=AC("pr_powerreviews_root",AJ);return i;}J.common.getDocRoot=I;function p(i){return i.replace(/\W/g,"__");}function W(AJ,AL,AK,i){this.pageId=AJ;this.fullReviewCount=AL;this.quickReviewCount=AK;this.averageRating=i;this.getFullReviewCount=function(){return this.fullReviewCount;};this.getQuickReviewCount=function(){return this.quickReviewCount;};this.getAverageRating=function(){return this.averageRating;};this.getPageId=function(){return this.pageId;};}function AH(AJ,i,AK){return AK&&AK["locales"]&&AK["locales"][i]&&AK["locales"][i]["p"+AJ];}function Z(AK){var AL=document.getElementsByName(AK);for(var AJ=0;AJ<AL.length;AJ++){if(AL[AJ].checked){return AL[AJ].value;}}return null;}function M(i,AK,AJ){return i.replace(new RegExp(AK,"g"),AJ);}function A(i){return i&&i.replace(/^\s+|\s+$/g,"");}function v(i){if(typeof i=="string"){return i.replace(/\n/g,"<br />");}else{return i;}}function r(AK,AL,AO,AJ){var AM=I(AJ);var AL=AL||AK.substring(AK.indexOf(AM)+AM.length+1);if(E[AL]){AO(E[AL]);}else{var i=document.createElement("script");var AN=function(){if(E[AL]){if(i.parentNode){i.parentNode.removeChild(i);delete i;}AO(E[AL]);}};if(K()){i.onreadystatechange=AN;}else{i.onload=AN;}i.type="text/javascript";i.charset="utf-8";i.src=AK;document.getElementsByTagName("head")[0].appendChild(i);}}function AG(AN,AO,AJ){if(AN.className){var AK=AN.className.split(" ");if(AJ){var AM=AO.toUpperCase();for(var AL=0;AL<AK.length;AL++){if(AK[AL].toUpperCase()==AM){AK.splice(AL,1);AL--;}}}AK[AK.length]=AO;AN.className=AK.join(" ");}else{AN.className=AO;}}function S(AM,AN){if(AM.className){var AJ=AM.className.split(" ");var AL=AN.toUpperCase();for(var AK=0;AK<AJ.length;AK++){if(AJ[AK].toUpperCase()==AL){AJ.splice(AK,1);AK--;}}AM.className=AJ.join(" ");}}function Q(AQ,AR,AS){var AO=(AR=="*"&&AQ.all)?AQ.all:AQ.getElementsByTagName(AR);var AN=new Array();var AT=new Array();if(typeof AS=="object"){for(var AM=0;AM<AS.length;AM++){AT.push(new RegExp("(^|\\s)"+AS[AM].replace(/\-/g,"\\-")+"(\\s|$)"));}}else{AT.push(new RegExp("(^|\\s)"+AS.replace(/\-/g,"\\-")+"(\\s|$)"));}var AJ;var AP;for(var AL=0;AL<AO.length;AL++){AJ=AO[AL];AP=true;for(var AK=0;AK<AT.length;AK++){if(!AT[AK].test(AJ.className)){AP=false;break;}}if(AP){AN.push(AJ);}}return AN;}function t(AJ,i){if(i(AJ)==true){return AJ;}else{if(AJ.parentNode){return arguments.callee(AJ.parentNode,i);}else{return false;}}}function w(AJ,i){g[AJ]=i;}function AA(i){return g[i];}J.common.getOptions=AA;function U(AJ,i,AM,AK){var AL=P[AJ];if(!AL){r(I(AK)+"/content/"+L(AJ)+"/contents.js",null,function(AN){AL=AH(AJ,i,AN);P[AJ]=AL?AL:"none";AM(AL);},AK);}else{if(AL=="none"){AM(null);}else{AM(AL);}}}function f(AJ,i,AL,AK){if(!N){r(I(AK)+"/content/"+L(AJ)+"/"+AJ+"-"+i+"-meta.js",null,function(AM){N=AM?AM.metadata:null;AL();},AK);}else{AL();}}function c(AJ,i,AM,AN,AL){if(!o[AJ+"-"+AM]){var AK=I(AL)+"/content/"+L(AJ)+"/"+AJ+"-"+i+"-"+AM+"-reviews.js";r(AK,null,function(AR){var AP=[];for(var AQ=0;AQ<AR.length;AQ++){var AO=AR[AQ].r;s[AO.id]=AO;AP.push(AO);}o[AJ+"-"+AM]=AP;AN();},AL);}else{AN();}}function a(AK,AJ,AO,AP,AL){var AN=AO.length;for(var AM=0;AM<AO.length;AM++){c(AK,AJ,AO[AM],function(){if(--AN<=0){AP();}},AL);}}function q(i){return Math.round(i*2)/2;}function Y(AK,AL,i,AJ){window.open("http://images2.powerreviews.com/media_popup.html?type=image&url="+e(AK),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width="+AL+",height="+i+",top=100,left=100");}J.common.showImagePopup=Y;function H(AJ,i,AL){var AK=window.open(AJ,"smallWindow","toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+AL+",height="+i+",top=200,left=200");if(window.focus){AK.focus();}}J.common.showSmallPopup=H;function y(AJ,i){window.open("http://images2.powerreviews.com/media_popup.html?type=video&url="+e(AJ),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width=435,height=350,top=100,left=100");}J.common.showVideoPopup=y;function O(AM,AK,AJ,AL){var i=function(){S(document.getElementById(AM.target),"pr-open");AG(document.getElementById(AM.target),"pr-closed");};var AN=function(){S(document.getElementById(AM.target),"pr-closed");AG(document.getElementById(AM.target),"pr-open");};if(window.event){AL=window.event;AL.cancelBubble=true;target=window.event.srcElement;currentTarget=event.srcElement.id;}else{if(AL){AL.stopPropagation();target=AL.target;currentTarget=AL.currentTarget.id;}else{return ;}}if(AK=="show"){if(document.getElementById(AM.target).className!="pr-open"){this.timedShow=setTimeout(AN,400);}else{if(t(target,function(AO){if(AO.id==AM.target){return true;}})){if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}else{if(AK=="hide"){if(this.timedHide!=null){window.clearTimeout(this.timedShow);}if(currentTarget==AM.link||currentTarget==AM.target||t(target,function(AO){if(AO.id==AM.target){return true;}})){this.timedHide=setTimeout(i,800);}else{if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}}J.common.togglePopOut=O;function b(AK,AL,AJ,i){returnString=AK.substring(AL,AJ);if(i){returnString+="...";}return returnString;}function u(i,AJ){content=document.getElementById(AJ).innerHTML;C(i,content);}function R(AP){var AT=[];var Ak=AC("pr_app_name",AP)||AC("appName",AP);var AX=AC("pr_page_id",AP);if(!Ak||Ak==""||Ak=="reviewSubmit"||Ak=="submitReview"){var Al=AC("pr_submit_review_url",AP);AT.push(Al);AT.push(Al.indexOf("?")>=0?"&":"?");AT.push("pageId=");AT.push(AX);}else{if(Ak=="askQuestion"){var Ap=AC("pr_ask_question_url",AP);AT.push(Ap);AT.push(Ap.indexOf("?")>=0?"&":"?");AT.push("pageId=");AT.push(AX);}else{if(Ak=="answerQuestion"){var Ag=AC("pr_answer_question_url",AP);var AM=AC("pr_question_id",AP)||AC("questionId",AP);AT.push(Ag);AT.push(Ag.indexOf("?")>=0?"&":"?");AT.push("pageId=");AT.push(AX);AT.push("&questionId=");AT.push(AM);}}}var AK=AC("pr_merchant_id",AP);if(AK){AT.push("&merchantId=");AT.push(AK);}var Ah=AC("pr_promo_code",AP);if(Ah){AT.push("&promoCode=");AT.push(Ah);}var Am=AC("pr_merchant_user_email",AP);if(Am){AT.push("&merchantUserEmail=");AT.push(Am);}var AW=AC("pr_merchant_user_id",AP)||AC("pr_user_id",AP);if(AW){AT.push("&merchantUserId=");AT.push(AW);}var Ae=AC("pr_locale",AP);if(Ae){if(Ae=="en"){Ae="en_US";}else{if(Ae=="fr"){Ae="fr_CA";}}AT.push("&locale=");AT.push(Ae);}var An=AC("pr_merchant_group_id",AP);if(An){AT.push("&merchantGroupId=");AT.push(An);}var Ai=AC("pr_site_id",AP);if(Ai){AT.push("&siteId=");AT.push(Ai);}var AL=AC("pr_style_sheet",AP);if(AL){AT.push("&cssOverride=");AT.push(AL);}var Ac=AC("pr_source",AP);AT.push("&source=");AT.push(Ac);var AQ="";var AZ=AC("pr_extra_info",AP);if(AZ&&typeof AZ=="object"){for(var Aj in AZ){if(typeof Aj=="string"&&AZ.hasOwnProperty(Aj)){AQ+=Aj+"^^"+AZ[Aj];AQ+="#";}}}var AS=AC("pr_order_id",AP);if(AS){AQ+="order_id^^"+AS+"#";}if(AQ){AT.push("&extraInfo=");AT.push(e(AQ));}var Ad=AC("pr_reviewer_nickname",AP);if(Ad){AT.push("&reviewerNickname=");AT.push(Ad);}var AU=AC("pr_reviewer_location",AP);if(AU){AT.push("&reviewerLocation=");AT.push(AU);}var Ab=AC("pr_reviewer_type",AP);if(Ab){AT.push("&reviewerType=");AT.push(Ab);}var Ar=AC("pr_rating",AP);if(Ar){AT.push("&reviewRating=");AT.push(Ar);}var Ao=AC("pr_campaign_id",AP);if(Ao){AT.push("&campaignId=");AT.push(Ao);}var AV=AC("pr_callback_end_review_template",AP);if(AV){AT.push("&callbackEndReviewTemplate=");AT.push(AV);}var AO=AC("pr_page_id_variant",AP);if(AO){AT.push("&variant=");AT.push(AO);}var Aq=AC("pr_return_url",AP);if(Aq){AT.push("&returnUrl=");AT.push(e(Aq));}var AY=AC("pr_resize_url",AP);if(AY){AT.push("&resizeUrl=");AT.push(e(AY));}else{var Aa="";var AJ=document.getElementsByTagName("script");for(var Af=0;Af<AJ.length;Af++){var AR=AJ[Af].getAttribute("src");if(AR&&AR.indexOf("appLaunch.js")>=0){Aa=AR;break;}}AT.push("&windowLocation=");AT.push(e(window.location));AT.push("&appLaunchSrc=");AT.push(e(Aa));}var AN=AC("pr_unique_review_id",AP);if(AN){AT.push("&uniqueReviewId=");AT.push(AN);}return AT.join("");}J.submission.getIframeSourceUrl=R;function l(AK){var i=R(AK);var AJ=AC("pr_frame_height",AK);document.write("<iframe id='submitReviewIframe' src='"+i+"' frameborder='0' height='"+AJ+"' width='100%' allowTransparency='true' scrolling='auto'></iframe>");}J.submission.writeOutIframe=l;function z(AJ){var i=0;if(AJ&&AJ.offsetParent){do{i+=AJ.offsetTop;}while(AJ=AJ.offsetParent);}return i;}function D(AL,AK,AJ){if(typeof AL=="number"){document.getElementById("submitReviewIframe").setAttribute("height",AL);}if(typeof AK=="number"&&AK>0){var AM=0;var i=AC("pr_scroll_to_id",AJ);if(i){AM=z(document.getElementById(i));}window.scroll(0,AM);}}J.submission.updateIframe=D;return J;})();POWERREVIEWS.submission.writeOutIframe();