var POWERREVIEWS=POWERREVIEWS||(function(){var BE={common:{},display:{}};var AU=false;var AX=false;var b=null;var AR={};var v={};var Ap={};var Ab={};BE.common.gResult=Ab;window.gResult=Ab;var Aw={};var s=encodeURIComponent||escape;var AG="prBaseStylesheet";var Ao="prMerchantOverrideStylesheet";var AK={pr_merchant_table:{"m8551":{"name":"TemperaturePlanet.com","cobranded":"true"},"m9654":{"name":"Davis Instruments","cobranded":"true"},"m1277":{"name":"Cole-Parmer","cobranded":"true"},"m5923":{"name":"TubingPlanet.com","cobranded":"true"},"m8027":{"name":"HotPlatePlanet.com","cobranded":"true"},"m4203":{"name":"Cole-Parmer India","cobranded":"true"},"m7797":{"name":"Cole-Parmer UK","cobranded":"true"},"m1037":{"name":"Masterflex","cobranded":"true"},"m7295":{"name":"Cole-Parmer Canada","cobranded":"true"},"m3212":{"name":"StirrerPlanet.com","cobranded":"true"}},pr_merchant_id:1277,pr_locale:"en_US",pr_read_review:"#ReviewHeader",pr_read_qa:"#QAHeader",pr_write_review:"",pr_ask_question:"",pr_answer_question:"",pr_js_controller_url:"http://services.powerreviews.com/JSController.do",pr_reviews_per_page:10,pr_zip_location:"/",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.powerreviews.com/legal/badge_definitions_~~~LOCALE~~~.html', 580, 460)",pr_expert_badge_definitions_url:"javascript:POWERREVIEWS.common.showSmallPopup('http://www.powerreviews.com/legal/expert_badge_definitions_~~~LOCALE~~~.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:"",pr_snippet_min_reviews:0,pr_source:"web",pr_image_snippet_show_image:V,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:{"11024":{"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"},"pt_BR":{"hovertext":"","description":"","filename":"badge_se_pt_BR.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"},"it_IT":{"hovertext":"","description":"","filename":"badge_se_it_IT.gif"},"fr_CA":{"hovertext":"","description":"","filename":"badge_se_fr_CA.gif"},"fr_FR":{"hovertext":"","description":"","filename":"badge_se_fr_FR.gif"}},"label":"staff-expert","isStaff":true},"11023":{"locales":{"en_CA":{"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_CA.gif"},"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_CA":{"hovertext":"Critique de personnel","description":"","filename":"badge_sr_fr_CA.gif"},"fr_FR":{"hovertext":"","description":"","filename":"badge_sr_fr_FR.gif"},"en_AU":{"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_AU.gif"},"nl_NL":{"hovertext":"Staff Beoordeler","description":"A Staff Beoordeler is een handelaar of merk werknemer die beoordelingen inzend op basis van eigendom of gebruik van het product.","filename":"badge_sr_nl_NL.gif"}},"label":"staff","isStaff":true}},pr_attribution_table:{}};var A2={};if(window&&window.location&&window.location.search){var AD=window.location.search.substring(1).split("&");for(var AC=0,Ah=AD.length;AC<Ah;++AC){var z=AD[AC].split("=");A2[z[0]]=z[1];}}function BA(BO){for(var BP=1,BN=arguments.length;BP<BN;++BP){var BQ=arguments[BP];if(BQ){var BM=BQ[BO];if(typeof BM!="undefined"){return BM;}}}return null;}function Au(BN,BM){var i=BA(BN,BM,A2,window,AK);if("pr_locale"==BN&&"3498"==Au("pr_merchant_id",BM)){if(i=="en"){i="en_CA";}else{if(i=="fr"){i="fr_CA";}}}return i;}BE.common.get=Au;function X(BQ){var BP=0;var BO;for(BO=0;BO<BQ.length;BO++){var BN=BQ.charCodeAt(BO);BN=BN*Math.abs(255-BN);BP+=BN;}BP=BP%1023;BP=BP+"";var BR=4;var BM=BP.split("");for(BO=0;BO<BR-BP.length;BO++){BM.unshift("0");}BP=BM.join("");BP=BP.substring(0,BR/2)+"/"+BP.substring(BR/2,BR);return BP;}function BI(i,BN){if(AU){return true;}else{if(!Ar(BN)){return false;}}AU=true;if(!document.getElementById(AG)){i.write('<link rel="stylesheet" href="'+AH(BN)+'/engine/pr_styles_review.css" type="text/css" id="'+AG+'">\n');}var BO=AH(BN)+"/engine/merchant_styles2.css";var BM=A3(Au("pr_style_sheet",BN));if(Au("pr_allow_engine_css_override",BN)&&BM){BO=BM;}if(!document.getElementById(Ao)){i.write('<link rel="stylesheet" href="'+BO+'" type="text/css" id="'+Ao+'">\n');}return true;}function Ar(i){if(AX){return true;}else{if(!Au("pr_page_id",i)&&!Au("pr_merchant_user_id",i)){return false;}}AX=true;return true;}function Ad(i,BM,BN){if(!document.getElementById(i)){setTimeout(function(){Ad(i,BM,BN);},1000);}else{A(i,BM,BN);}}function A(i,BN,BO){try{if(!BN){BN="";}AM(function(){AA(document.getElementById(i),BN);if(BO){BO();}});}catch(BM){}}function AA(BN,BM){if(BN.parentNode){var i=document.createElement("div");i.id=BN.id;i.className=BN.className;i.innerHTML=BM;BN.parentNode.replaceChild(i,BN);return i;}else{BN.innerHTML=BM;return BN;}}function AM(i){if(typeof i=="function"){(function(){if(BG()){try{document.documentElement.doScroll("left");}catch(BM){setTimeout(arguments.callee,50);return ;}}i();i=null;})();}}function BG(){return typeof document.all!="undefined"&&typeof window.opera=="undefined"&&!(navigator.vendor=="KDE");}function AQ(i){new Image().src=i;}function AH(BM){var i=Au("pr_zip_location",BM);if(i.charAt(i.length-1)!="/"){i+="/";}i+=Au("pr_powerreviews_root",BM);return i;}BE.common.getDocRoot=AH;function Am(i){return i.replace(/\W/g,"__");}function h(BM,BO,BN,i){this.pageId=BM;this.fullReviewCount=BO;this.quickReviewCount=BN;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 AY(BM,i,BN){return BN&&BN["locales"]&&BN["locales"][i]&&BN["locales"][i]["p"+BM];}function H(BN){var BO=document.getElementsByName(BN);for(var BM=0;BM<BO.length;BM++){if(BO[BM].checked){return BO[BM].value;}}return null;}function Aa(i,BN,BM){return i.replace(new RegExp(BN,"g"),BM);}function A3(i){return i&&i.replace(/^\s+|\s+$/g,"");}function BD(i){if(typeof i=="string"){return i.replace(/\n/g,"<br />");}else{return i;}}function u(BN,BO,BR,BM){var BP=AH(BM);var BO=BO||BN.substring(BN.indexOf(BP)+BP.length+1);if(Ab[BO]){BR(Ab[BO]);}else{var i=document.createElement("script");var BQ=function(){if(Ab[BO]){if(i.parentNode){i.parentNode.removeChild(i);delete i;}BR(Ab[BO]);}};if(BG()){i.onreadystatechange=BQ;}else{i.onload=BQ;}i.type="text/javascript";i.charset="utf-8";i.src=BN;document.getElementsByTagName("head")[0].appendChild(i);}}function L(BQ,BR,BM){if(BQ.className){var BN=BQ.className.split(" ");if(BM){var BP=BR.toUpperCase();for(var BO=0;BO<BN.length;BO++){if(BN[BO].toUpperCase()==BP){BN.splice(BO,1);BO--;}}}BN[BN.length]=BR;BQ.className=BN.join(" ");}else{BQ.className=BR;}}function AT(BP,BQ){if(BP.className){var BM=BP.className.split(" ");var BO=BQ.toUpperCase();for(var BN=0;BN<BM.length;BN++){if(BM[BN].toUpperCase()==BO){BM.splice(BN,1);BN--;}}BP.className=BM.join(" ");}}function R(BT,BU,BV){var BR=(BU=="*"&&BT.all)?BT.all:BT.getElementsByTagName(BU);var BQ=new Array();var BW=new Array();if(typeof BV=="object"){for(var BP=0;BP<BV.length;BP++){BW.push(new RegExp("(^|\\s)"+BV[BP].replace(/\-/g,"\\-")+"(\\s|$)"));}}else{BW.push(new RegExp("(^|\\s)"+BV.replace(/\-/g,"\\-")+"(\\s|$)"));}var BM;var BS;for(var BO=0;BO<BR.length;BO++){BM=BR[BO];BS=true;for(var BN=0;BN<BW.length;BN++){if(!BW[BN].test(BM.className)){BS=false;break;}}if(BS){BQ.push(BM);}}return BQ;}function Al(BM,i){if(i(BM)==true){return BM;}else{if(BM.parentNode){return arguments.callee(BM.parentNode,i);}else{return false;}}}function Ai(BM,i){Aw[BM]=i;}function e(i){return Aw[i];}BE.common.getOptions=e;function o(BM,i,BP,BN){var BO=AR[BM];if(!BO){u(AH(BN)+"/content/"+X(BM)+"/contents.js",null,function(BQ){BO=AY(BM,i,BQ);AR[BM]=BO?BO:"none";BP(BO);},BN);}else{if(BO=="none"){BP(null);}else{BP(BO);}}}function A4(BM,i,BO,BN){if(!b){u(AH(BN)+"/content/"+X(BM)+"/"+BM+"-"+i+"-meta.js",null,function(BP){b=BP?BP.metadata:null;BO();},BN);}else{BO();}}function d(BM,i,BP,BQ,BO){if(!v[BM+"-"+BP]){var BN=AH(BO)+"/content/"+X(BM)+"/"+BM+"-"+i+"-"+BP+"-reviews.js";u(BN,null,function(BU){var BS=[];for(var BT=0;BT<BU.length;BT++){var BR=BU[BT].r;Ap[BR.id]=BR;BS.push(BR);}v[BM+"-"+BP]=BS;BQ();},BO);}else{BQ();}}function B(BN,BM,BR,BS,BO){var BQ=BR.length;for(var BP=0;BP<BR.length;BP++){d(BN,BM,BR[BP],function(){if(--BQ<=0){BS();}},BO);}}function BH(i){return Math.round(i*2)/2;}function V(BN,BO,i,BM){window.open("http://images2.powerreviews.com/media_popup.html?type=image&url="+s(BN),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width="+BO+",height="+i+",top=100,left=100");}BE.common.showImagePopup=V;window.showImagePopup=V;function As(BM,i,BO){var BN=window.open(BM,"smallWindow","toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+BO+",height="+i+",top=200,left=200");if(window.focus){BN.focus();}}BE.common.showSmallPopup=As;window.showSmallPopup=As;function Ae(BM,i){window.open("http://images2.powerreviews.com/media_popup.html?type=video&url="+s(BM),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width=435,height=350,top=100,left=100");}BE.common.showVideoPopup=Ae;window.showVideoPopup=Ae;function J(BP,BN,BM,BO){var i=function(){AT(document.getElementById(BP.target),"pr-open");L(document.getElementById(BP.target),"pr-closed");};var BQ=function(){AT(document.getElementById(BP.target),"pr-closed");L(document.getElementById(BP.target),"pr-open");};if(window.event){BO=window.event;BO.cancelBubble=true;target=window.event.srcElement;currentTarget=event.srcElement.id;}else{if(BO){BO.stopPropagation();target=BO.target;currentTarget=BO.currentTarget.id;}else{return ;}}if(BN=="show"){if(document.getElementById(BP.target).className!="pr-open"){this.timedShow=setTimeout(BQ,400);}else{if(Al(target,function(BR){if(BR.id==BP.target){return true;}})){if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}else{if(BN=="hide"){if(this.timedHide!=null){window.clearTimeout(this.timedShow);}if(currentTarget==BP.link||currentTarget==BP.target||Al(target,function(BR){if(BR.id==BP.target){return true;}})){this.timedHide=setTimeout(i,800);}else{if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}}BE.common.togglePopOut=J;function m(BN,BO,BM,i){returnString=BN.substring(BO,BM);if(i){returnString+="...";}return returnString;}function BK(i,BM){content=document.getElementById(BM).innerHTML;Ad(i,content);}var W={};var k=0;var a=1;var BL=2;var A0=3;var q=4;var P=5;var y=null;var AS=new Date();var E={};var A5={};var AE=[];function Aq(i){return Au("pr_merchant_table",i)["m"+Au("pr_merchant_id",i)];}function AF(i,BM){var BN=Au("pr_analytics_script_src",BM);if(BN){i.write('<script src="'+BN+'" type="text/javascript"><\/script>');}}function D(BS,BT){if(BI(BS,BT)){var BN=Au("pr_page_id",BT);var BQ=Am(BN);var BR=Au("pr_locale",BT);var BP="engine-"+BQ+"-"+BR;Ai(BP,BT);var BO=document.getElementById("prReviewEngineDiv");if(!BO){A7(BS,BQ);}AF(BS,BT);if(!BO){Q(BQ,BR,BP,BT);}var i=function(){var BW=document.getElementById("writeReview")||document.getElementById("write-review-"+BQ);if(BW){var BU=An(BN,BT);if(BU){BW.href=BU;var BV=document.getElementById("prSummaryWriteReviewId_R")||document.getElementById("prSummaryWriteReviewId_NR");if(BV){BV.style.display="";}}}else{setTimeout(i,100);}};i();p(BQ,BR,BT);var BM=Au("pr_highlight_review_id",BT);if(BM){AV(BM,BQ,BR,BP,BT);}}}BE.display.engine=D;window.engine=D;function AV(BO,BN,BM,i,BP){Az(BO,function(BQ){if(BQ&&"Rejected"!=BQ.s1&&"Rejected"!=BQ.s2){Ad("pr-modal-"+BN,Ak(BQ,BN,BM,i,BP),function(){Ac(BN);});}},BP);}function Az(i,BN,BM){u(Au("pr_highlight_review_url").replace("~~~REVIEW_ID~~~",i),"highlight-"+i,function(BO){BN(BO&&BO.r);},BM);}function Ak(BN,BO,BM,i,BP){return("Pending"==BN.s1||"Pending"==BN.s2?"<h2>This review is pending moderation</h2>":"")+f([BN],BO,BM,null,1,1000,1,"","",true,i,BP);}function An(i,BM){return Aa(Au("pr_write_review",BM),"~~~PAGE_ID~~~",i);}function A7(i,BM){i.write('<div id="prReviewEngineDiv" class="prReviewEngine"><div id="prHeader"></div><div id="prContents"></div></div>');}function r(BO,BM){var BN=A3(Au("pr_analytics_account",BM));if(window.urchinTracker&&BN){var i="";var BP=typeof _uacct!="undefined";if(BP){i=_uacct;}_uacct=BN;urchinTracker("/product_with_"+BO+"_reviews");if(BP){_uacct=i;}}}function Q(BN,BM,i,BO){o(BN,BM,function(BQ){var BP=(BQ&&BQ.reviews&&BQ.reviews.review_count)||0;var BR=(BQ&&BQ.reviews&&BQ.reviews.review_ratings)||[0,0,0,0,0];n(BN,BM,BP,BR,i,BO);if(BP>0){Y(1,BN,BM,i,BO);}},BO);}function p(BM,i,BN){o(BM,i,function(BP){var BO=0;var BQ=0;if(BP&&BP.reviews){BO=BP.reviews.review_count;BQ=BP.reviews.avg;}AN("main",new h(BM,BO,0,BH(BQ)));window.setTimeout(function(){r(BO,BN);},2000);},BN);}function N(BQ,BN,BM,i,BO){var BP=new Date();if(BP.getTime()-AS.getTime()>1000){AS=BP;A4(BN,BM,function(){Z(BQ.selectedIndex,BN);BC(1,BN,BM,i,BO);},BO);}}BE.display.startSort=N;function Z(BN,i){b.sort(W[BN]);y=BN;var BM=document.getElementById("prHeader");if(BM){BM.focus();}}function I(BM,i){return i.rid-BM.rid;}W[k]=function(BM,i){if(BM.date==i.date){return I(BM,i);}return i.date-BM.date;};W[a]=function(BM,i){if(i.date==BM.date){return I(i,BM);}return BM.date-i.date;};W[BL]=function(BM,i){if(i.rating==BM.rating){return I(BM,i);}return i.rating-BM.rating;};W[A0]=function(BM,i){if(i.rating==BM.rating){return I(i,BM);}return BM.rating-i.rating;};W[q]=function(BM,i){if(i.helpfulScore==BM.helpfulScore){return I(BM,i);}return i.helpfulScore-BM.helpfulScore;};W[P]=function(BM,i){if(i.helpfulScore==BM.helpfulScore){return I(i,BM);}return BM.helpfulScore-i.helpfulScore;};function Y(BP,BN,BM,i,BO){o(BN,BM,function(BQ){var BR=[BP];B(BN,BM,BR,function(){var BS=0;if(BQ.reviews){BS=BQ.reviews.review_count;}Ad("prContents",f(v[BN+"-"+BP],BN,BM,BQ.name,BS,Au("pr_reviews_per_page",BO),1,"#ReviewHeader","#ReviewHeader",false,i,BO));},BO);},BO);}function BC(BP,BN,BM,i,BO){A4(BN,BM,function(){if(y==null){Z(k,BN);}o(BN,BM,function(BT){var BR=Au("pr_reviews_per_page",BO);var BX=(BP-1)*BR;var BV=BX+BR-1;if(BV>BT.reviews.review_count-1){BV=BT.reviews.review_count-1;}var BW=[];var BU={};for(var BS=BX;BS<=BV;BS++){var BQ=b[BS].batch;if(!BU[BQ]){BW.push(BQ);BU[BQ]=true;}}B(BN,BM,BW,function(){var BZ=[];for(var BY=BX;BY<=BV;BY++){BZ.push(Ap[b[BY].rid]);}Ad("prContents",f(BZ,BN,BM,BT.name,BT.reviews.review_count,BR,BP,"#ReviewHeader","#ReviewHeader",false,i,BO));},BO);},BO);},BO);}BE.display.getReviewsFromMeta=BC;function n(BN,BM,BP,BQ,i,BO){if(BP>0){u(AH(BO)+"/content/"+X(BN)+"/"+BN+"-"+BM+"-rollup.js",null,function(BR){if(BR.rollup){Ad("prHeader",C(BP,BQ,BR.rollup,BN,BM,i,BO));}},BO);}else{Ad("prHeader",C(BP,BQ,null,BN,BM,i,BO));}}function j(BM,BO,i,BN){var BP="Thank you for your feedback.  Please note that only your first vote will be counted.";if(!E[BM]||E[BM]=="undefined"){AQ(Au("pr_js_controller_url",BN)+"?command=helpfulVote&reviewId="+BM+"&voteType="+BO);E[BM]=1;}else{BP="You may only submit one vote per review.";}Ad("review_feedback"+BM,BP);}BE.display.submitHelpfulVote=j;function w(BM,i,BN){if(!A5[BM]||A5[BM]=="undefined"){document.getElementById("error_div"+BM).style.display="block";}else{Ad("review_feedback"+BM,"You have already notified us of an error for this review.");}}BE.display.launchErrorDiv=w;function Af(i){document.getElementById("error_div"+i).style.display="none";}function O(BM,i,BO){var BQ=H("error_radio"+BM);var BS=document.getElementById("error_comments"+BM).value;BS=BS.substring(0,256);var BN=document.getElementById("error_contact_email"+BM).value;var BR=document.location.href;if(BR&&typeof BR!="undefined"){var BP=BR.split("/",4)[2];BS+="\n["+BP+"]";}AQ(Au("pr_js_controller_url",BO)+"?command=helpfulVote&reviewId="+BM+"&merchantId="+Au("pr_merchant_id",BO)+"&voteType="+BQ+"&errorComments="+s(BS)+"&errorContactEmail="+s(BN));Ad("review_feedback"+BM,"Thank you for notifying us of this error.");E[BM]=1;A5[BM]=1;Af(BM);}BE.display.submitError=O;function t(BO,BN){if(typeof BO=="function"&&Ar(BN)){var BM=Au("pr_page_id",BN);var i=Am(BM);o(i,Au("pr_locale",BN),function(BP){if(BP&&BP.reviews){BO(new h(BM,BP.reviews.review_count,0,BH(BP.reviews.avg)));}else{BO(new h(BM,0,0,0));}},BN);}}BE.display.prData=t;window.prData=t;function l(i){AE.push(i);}BE.display.registerCallback=l;window.registerCallback=l;function F(){return{"offsetY":document.body.scrollTop||document.documentElement.scrollTop,"viewportWidth":document.getElementsByTagName("body")[0].clientWidth};}function Ac(i){c(i);var BM=document.getElementById("pr-modal-container-"+i);document.getElementsByTagName("body")[0].appendChild(BM);var BN=F();BM.style.left=((BN.viewportWidth-BM.offsetWidth)/2)+"px";BM.style.top=(BN.offsetY+100)+"px";AT(BM,"pr-hidden");}function AW(i){L(document.getElementById("pr-modal-container-"+i),"pr-hidden");}BE.display.hideModal=AW;function c(i){var BM=document.getElementById("pr-modal-container-"+i);var BN=R(document,"div","pr-modal-wrapper");BM.style.height="422px";BN[0].style.height="380px";}function A9(BN,BP){BK("pr-modal-"+BN,BP);var BM=document.getElementById("pr-modal-container-"+BN);var BO=R(document,"div","pr-modal-wrapper")[0];var i=R(document,"div","pr-review-faceoff-review-wrapper")[0];BM.style.width=(i.scrollWidth-20)+"px";BM.style.height=(i.offsetHeight+47)+"px";BO.style.width="auto";BO.style.height=(i.offsetHeight+5)+"px";BM.style.left=(i.offsetLeft+10)+"px";BM.style.top=(i.offsetTop-40)+"px";AT(BM,"pr-hidden");}BE.display.displayFaceoffModal=A9;function AN(BO,BN){for(var BM=0;BM<AE.length;BM++){AE[BM](BO,BN);}}function C(BQ,BN,i,BO,BT,BR,BX){var BY=[];var BS=AH(BX);BY.push('<div id="prReviewSummary"><a name="ReviewHeader"></a><div class="prSummaryHeader"><span class="prSummaryTitle">');BY.push("Review Snapshot&reg;");BY.push("</span>");if(Aq(BX).cobranded){BY.push('<span id="');BY.push(BQ>0?"prSummaryCobrandId_R":"prSummaryCobrand_NR");BY.push('" class="prSummaryCobrand"> <a class="prSummaryCobrandLink" href="#" onclick="POWERREVIEWS.common.showSmallPopup(\'');BY.push("http://www.powerreviews.com/legal/index_en_US.html");BY.push("', 410, 420); return false;\"> ");BY.push("by PowerReviews");BY.push("</a></span>");}BY.push("</div>");if(BQ>0){BY.push('<div class="prSummaryBody hreview-aggregate">                            ');if(i.r){BY.push('<div class="prSummaryProductName item"><span class="fn">');BY.push(i.r);BY.push("</span></div>");}BY.push('<div class="prSummaryRating rating"><span class="prSummaryAverageRatingText">');BY.push("Avg. Customer Rating:");BY.push('</span><div class="prStars" style="background-position: 0px ');BY.push(i.a*-46);BY.push("px; background-image: url(");BY.push(BS);BY.push("/engine/images/stars");BY.push(".gif");BY.push(')" title="');BY.push(i.a);BY.push('">&#160;</div><div class="prSummaryAverageRatingDecimal"><span class="average">');BY.push(i.d);BY.push(" </span>");if(i.d==1){BY.push("star");}else{BY.push("stars");}BY.push("</div><span>");if(BQ==1){BY.push("(");BY.push("based on {0} review".replace("{0}",'<span class="count">1</span>'));BY.push(")");}else{BY.push("(");BY.push("based on {0} reviews".replace("{0}",'<span class="count">'+BQ+"</span>"));BY.push(")");}BY.push("</span></div>");if(i.b){BY.push('<div class="prSummaryBottomLineConsensus">');BY.push(Math.round(100*i.b));BY.push("% ");BY.push("of respondents would recommend this to a friend.");BY.push("</div>");}BY.push('<div class="prReviewPoints">');if(i.g){BY.push("<p>");BY.push("Customers most agreed on the following attributes:");BY.push("</p>");for(var BP=0;BP<i.g.length;BP++){var BW=i.g[BP];var BV=[];for(var BM=0;BM<BW.v.length;BM++){var BU=BW.v[BM];BV.push(BU.n+"&nbsp;("+BU.c+")");}BY.push('<div class="attributeGroup"><div class="prSummaryKey">');BY.push(BW.n);BY.push(':</div><div class="prSummaryValue">');BY.push(BV.join(", "));BY.push('</div><div class="prAttributeGroupSeparator"></div></div>');}}BY.push("</div>");}else{BY.push('<div id="prNoReviewsExtraTextHeading">');BY.push('</div><div id="prNoReviewsExtraTextBody">');BY.push("</div>");}BY.push('<div id="');BY.push(BQ>0?"prSummaryWriteReviewId_R":"prSummaryWriteReviewId_NR");BY.push('" class="prSummaryWriteReview" style="display:none">');BY.push(BQ>0?"Already own it?":"Be the first to review this product.");BY.push(' <a class="prSummaryWriteReviewLink" href="#" id="writeReview">');BY.push("Write a Review");BY.push("</a></div>");if(BQ==0){BY.push('<div class="break"/>');}BY.push('</div></div><div id="pr-modal-container-');BY.push(BO);BY.push('" class="pr-modal-container prReviewEngine pr-hidden"><div class="pr-modal-toolbar"><a class="pr-modal-container-close" href="#" onclick="POWERREVIEWS.display.hideModal(\'');BY.push(BO);BY.push('\'); return false;"><span>close</span></a><div class="pr-clear"></div></div><div class="pr-modal-wrapper"><div id="pr-modal-');BY.push(BO);BY.push('" class="pr-modal-content"></div></div></div>');if(BQ>1){BY.push('<div class="prReviewSort"><span class="prReviewCount">');BY.push("Reviewed by {0} Customers".replace("{0}"," "+i.n+" "));BY.push('</span><span class="prReviewSortBox">');BY.push("Sort by:");BY.push('<select id="sorter" name="sorter" onchange="POWERREVIEWS.display.startSort(this, \'');BY.push(BO);BY.push("', '");BY.push(BT);BY.push("', '");BY.push(BR);BY.push("', POWERREVIEWS.common.getOptions('");BY.push(BR);BY.push('\'));"><option value="date_new" selected="true">');BY.push("Newest first");BY.push('</option><option value="date_old">');BY.push("Oldest first");BY.push('</option><option value="rating_high">');BY.push("Highest ratings first");BY.push('</option><option value="rating_low">');BY.push("Lowest ratings first");BY.push('</option><option value="helpful_high">');BY.push("Most helpful first");BY.push('</option><option value="helpful_low">');BY.push("Least helpful first");BY.push("</option></select></span></div>");}BY.push("<!-- janky -->");return BY.join("");}BE.display.processRollupTemplate=C;function f(Bc,Bx,BZ,Bf,Be,BO,BQ,Bi,i,Bt,Bj,Bd){var BU=[];var BX=(BQ-1)*BO;var BP=BX+BO-1;if(BP>Be-1){BP=Be-1;}var Bh=Au("pr_back_to_top_link",Bd);var Bs=AH(Bd);var Bw=Aa(Au("pr_badge_definitions_url",Bd),"~~~LOCALE~~~",BZ);var Bk=Aa(Au("pr_expert_badge_definitions_url",Bd),"~~~LOCALE~~~",BZ);var BW=["None","Not Good","Needs That Special Something","Average, Ordinary","That's Good Stuff","Perfect. It doesn't get any better"];if(!Bt){BU.push('<div class="prPagination"><span class="prPageCount">');if(BX==BP){BU.push("Displaying Review");BU.push(" <strong>");BU.push((BX+1));BU.push("</strong> ");}else{BU.push("Displaying Reviews");BU.push(" <strong>");BU.push((BX+1));BU.push("-");BU.push((BP+1));BU.push("</strong> ");}BU.push("of");BU.push(" ");BU.push(Be);BU.push('</span><span class="prNavBackToTopTop"><a href="');BU.push(Bh);BU.push('">');BU.push("Back to Top");BU.push("</a></span>");if(Be>BO){BU.push('<span class="prPageNav">');if(BX>0){BU.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BU.push(BQ-1);BU.push(", '");BU.push(Bx);BU.push("', '");BU.push(BZ);BU.push("', '");BU.push(Bj);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bj);BU.push('\')); return false;" href="');BU.push(Bi.replace("~~~REVIEW_PAGE~~~",BQ-1));BU.push('">&laquo; ');BU.push("Previous");BU.push("</a>");}else{BU.push("Previous");}BU.push(" | ");if(BP<Be-1){BU.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BU.push(BQ+1);BU.push(", '");BU.push(Bx);BU.push("', '");BU.push(BZ);BU.push("', '");BU.push(Bj);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bj);BU.push('\')); return false;" href="');BU.push(i.replace("~~~REVIEW_PAGE~~~",BQ+1));BU.push('">');BU.push("Next");BU.push(" &raquo;</a>");}else{BU.push("Next");}BU.push("</span>");}BU.push("</div>");}for(var Bl=0;Bl<Bc.length;Bl++){var BR=Bc[Bl];var Bo=null;if(BR.cb){var BN=Au("pr_badge_table",Bd);for(var Bg=0;Bg<BR.cb.length;Bg++){Bo=BN[BR.cb[Bg]];if(Bo){break;}}}if(Bo&&Bo.label=="staff-expert"){BU.push('<div class="prReviewWrap prExpert prStaff">');}else{BU.push('<div class="prReviewWrap">');}if(Bo&&Bo.label=="staff-expert"){BU.push('<div class="prExpertHeader">');BU.push("Staff Expert");BU.push(' <span class="prExpertHelp">(<a href="');BU.push(Bk);BU.push('">');BU.push("what's this?");BU.push("</a>)</span></div>");}if(Bt&&BR.pr&&BR.pr.n){BU.push('<p class="prReviewAbout">');BU.push("Review of");BU.push(' <a href="');BU.push(BR.pr.u);BU.push('">');BU.push(BR.pr.n);BU.push("</a></p>");}if(BR.t>0){BU.push('<p class="prReviewHelpfulText">[<span class="prReviewHelpfulCount">');BU.push(BR.v);BU.push(" ");BU.push("of");BU.push(" ");BU.push(BR.t);BU.push("</span> ");BU.push("customers found this review");BU.push(' <span class="prReviewHelpful">');BU.push("helpful");BU.push("</span>]</p>");}BU.push('<div class="prReviewRating"><div class="prStars prStarsSmall" style="background-position: 0px ');BU.push(BR.r*-36);BU.push("px; background-image: url(");BU.push(Bs);BU.push("/engine/images/stars_small");BU.push(".gif");BU.push(')" title="');BU.push(BW[BR.r]);BU.push('">&#160;</div><div class="prReviewRatingHeadline">');BU.push(BR.h);BU.push('</div></div><div class="prReviewAuthor"><span class="prReviewAuthorName">');BU.push("By");BU.push(" <span>");if(!Bt&&BR.pi){var Bb=Au("pr_see_all_reviews_url",Bd).replace("~~~MERCHANT_USER_ID~~~",BR.mu);if(Bb){BU.push('<a class="prReviewAuthorProfileLnk" href="');BU.push(Bb);BU.push('">');BU.push(BR.n);BU.push("</a>");}else{BU.push('<a class="prReviewAuthorProfileLnk" href="#" onclick="POWERREVIEWS.display.showProfile(\'');BU.push(BR.pi);BU.push("', '");BU.push(BR.n);BU.push("', '");BU.push(Bx);BU.push("', '");BU.push(BZ);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bj);BU.push("')); return false;\">");BU.push(BR.n);BU.push("</a>");}}else{BU.push(BR.n);}BU.push("</span>");if(Bo&&Bo.label=="staff"){BU.push('<a href="');BU.push(Bk);BU.push('"><img class="prVerified" src="');BU.push(Bs);BU.push("/engine/images/badge_sr_");BU.push(BZ);BU.push(".gif");BU.push('" alt="');BU.push("Staff Reviewer");BU.push('" title="');BU.push("Staff Reviewer");BU.push('"/></a>');}if(BR.m){BU.push('<img class="prSiteMember" src="');BU.push(Bs);BU.push('/engine/images/pixel.gif" alt="');BU.push("Site Member");BU.push('" title="');BU.push("Site Member");BU.push('"/>');}if(!Bo||Bo.label!="staff"){if(BR.o=="e"){BU.push('<a href="');BU.push(Bw);BU.push('"><img class="prVerified" src="');BU.push(Bs);BU.push("/engine/images/badge_vp_");BU.push(BZ);BU.push(".gif");BU.push('" alt="');BU.push("Verified Buyer");BU.push('" title="');BU.push("Verified Buyer");BU.push('"/></a>');}else{if(!false&&!BR.e&&BR.c&&BR.c=="v"){BU.push('<a href="');BU.push(Bw);BU.push('"><img class="prVerified" src="');BU.push(Bs);BU.push("/engine/images/badge_vr_");BU.push(BZ);BU.push(".gif");BU.push('" alt="');BU.push("Verified Reviewer");BU.push('" title="');BU.push("Verified Reviewer");BU.push('"/></a>');}}}BU.push('</span><span class="prReviewAuthorLocation"> ');BU.push("from");BU.push(" <span>");BU.push(BR.w);BU.push('</span></span><span class="prReviewAuthorDate"> ');BU.push("on");BU.push(" <span>");BU.push(BR.d);BU.push('</span></span></div><div class="prReviewPoints">');if(BR.a){for(var BM=0;BM<BR.a.length;BM++){var BV=BR.a[BM];for(var Bq=0;Bq<BV.v.length;Bq++){var Br=BV.v[Bq];BU.push('<div style="display:block"><div class="prAdditionalRatingName">');BU.push(Br.n);BU.push(': </div><div class="prAdditionalRatingValue"><div class="prStars prStarsSmall" style="margin-top:5px; background-position: 0px ');BU.push(Br.v*-36);BU.push("px; background-image: url(");BU.push(Bs);BU.push("/engine/images/stars_small");BU.push(".gif");BU.push(')" title="');BU.push(Br.d);BU.push('">&#160;</div></div></div>');}}BU.push("<br />");}if(BR.g){for(var BM=0;BM<BR.g.length;BM++){var BV=BR.g[BM];BU.push('<div class="prAttributeGroup"><div class="prReviewKey">');BU.push(BV.n);BU.push(':</div><div class="prReviewValue">');BU.push(BV.v.join(", "));BU.push('</div></div><div class="prAttributeGroupSeparator"></div>');}}if(BR.rp){BU.push('<div class="prAttributeGroup"><div class="prReviewKey">');BU.push("Accessories I Recommend");BU.push(":</div>");var BY=[];for(var Bu=0;Bu<BR.rp.length;Bu++){var Bm=BR.rp[Bu];if(Bm.u){BY[BY.length]='<a href="'+Bm.u+'">'+Bm.n+"</a>";}else{BY[BY.length]=Bm.n;}}BU.push('<div class="prReviewValue">');BU.push(BY.join(", "));BU.push('</div></div><div class="prAttributeGroupSeparator"></div>');}if(BR.sp){BU.push('<div class="prAttributeGroup"><div class="prReviewKey">');BU.push("Similar Products I Own");BU.push(":</div>");var Ba=[];for(var Bv=0;Bv<BR.sp.length;Bv++){var BS=BR.sp[Bv];if(BS.u){Ba[Ba.length]='<a href="'+BS.u+'">'+BS.n+"</a>";}else{Ba[Ba.length]=BS.n;}}BU.push('<div class="prReviewValue">');BU.push(Ba.join(", "));BU.push('</div></div><div class="prAttributeGroupSeparator"></div>');}if(BR.x){BU.push('<div class="prReviewKey">');BU.push(BR.x.n);BU.push(':</div><div class="prReviewValue">');BU.push(BR.x.v);BU.push("</div>");}if(BR.b){BU.push('<div class="prReviewKey">');BU.push(BR.b.n);BU.push(':</div><div class="prReviewValue">');BU.push(BR.b.v);BU.push("</div>");}BU.push("</div>");if(BR.tb){BU.push('<div class="prReviewExtraText"> ');for(var BM=0;BM<BR.tb.length;BM++){var BV=BR.tb[BM];BU.push('<div class="prAttributeGroup"><div class="prReviewKey">');BU.push(BV.n);BU.push(':</div><div class="prReviewValue">');BU.push(BV.v);BU.push('</div></div><div class="prAttributeGroupSeparator"></div>');}BU.push("</div> ");}BU.push('<div class="prReviewText">');if(Bf){BU.push('<p class="prCommentsHeader"><span class="prStrong">');BU.push("Comments about");BU.push('</span> <span class="prEmphasis">');BU.push(Bf);BU.push(":</span></p>");}BU.push('<p class="prComments">');BU.push(BD(BR.p));BU.push("</p></div>");if(BR.z){BU.push('<div class="prServiceCommentsHeader">');BU.push("Service & Delivery comments:");BU.push('</div><p class="prServiceComments">');BU.push(BD(BR.z));BU.push("</p>");}if(BR.i){if(BR.i.t=="i"){BU.push("Images");}else{if(BR.i.t=="v"){BU.push("Videos");}else{BU.push("Images and videos");}}BU.push(" ");BU.push("shared by:");BU.push(" <strong>");BU.push(BR.n);BU.push('</strong><div class="prCustomerPics">');for(var Bp=0;Bp<BR.i.r.length;Bp++){var BT=BR.i.r[Bp];if(Bp==0){BU.push('<div class="prPic prLeft">');}else{BU.push('<div class="prPic">');}if(BT.c){BU.push('<p class="prCaption">');BU.push(BT.c);BU.push("</p>");}else{BU.push('<p class="prCaption"></p>');}if(!BT.v){BU.push('<div class="prPicContent"><div class="wrap1"><div class="wrap2">');if(BT.s){BU.push('<a href="#" onclick="POWERREVIEWS.common.showImagePopup(\'');BU.push(BT.s.u);BU.push("', ");BU.push(BT.s.w);BU.push(", ");BU.push(BT.s.h);BU.push(", POWERREVIEWS.common.getOptions('");BU.push(Bj);BU.push('\')); return false;"><img src="');BU.push(Bs);BU.push("/content");BU.push(BT.h.u);BU.push('" alt="Image Thumbnail" width="');BU.push(BT.h.w);BU.push('" height="');BU.push(BT.h.h);BU.push('" /></a>');}else{BU.push('<img src="');BU.push(Bs);BU.push("/content");BU.push(BT.h.u);BU.push('" alt="Image Thumbnail" width="');BU.push(BT.h.w);BU.push('" height="');BU.push(BT.h.h);BU.push('" />');}BU.push("</div></div></div>");}else{BU.push('<div class="prVidContent"><div class="wrap"><a id="pr_video_thumbnail_container" href="#" onclick="POWERREVIEWS.common.showVideoPopup(\'');BU.push(BT.v);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bj);BU.push('\')); return false;"><img id="pr_video_thumbnail" src="');BU.push(BT.h.u);BU.push('" alt="Video Thumbnail" width="75" height="50" onerror="this.src=\'http://powerreviews.s3.amazonaws.com/videos/youtube_coming_soon.jpg\'"/></a></div></div>');}if(BT.g){if(BT.v){BU.push('<p class="prVidTags">');}else{BU.push('<p class="prPicTags">');}BU.push('<span class="prTaglabel">');BU.push("Tags:");BU.push("</span>");BU.push(BT.g.join(", "));BU.push("</p>");}BU.push("</div>");}BU.push("</div>");}if(BR.y){for(var Bn=0;Bn<BR.y.length;Bn++){BU.push('<div class="prMerchantResponse"><strong>');BU.push(Aq(Bd).name);BU.push(" ");BU.push("Response:");BU.push("</strong> ");BU.push(BD(BR.y[Bn]));BU.push("</div>");}}if(!Bt){BU.push('<div class="prReviewTools"><span class="prReviewHelpfulText">');BU.push("Was this review helpful to you?");BU.push('&nbsp;<a class="prReviewHelpfulTextLink" href="#" onclick="POWERREVIEWS.display.submitHelpfulVote(\'');BU.push(BR.id);BU.push("', 'helpful', '");BU.push(BZ);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bj);BU.push("')); return false;\">");BU.push("Yes");BU.push('</a> / <a class="prReviewHelpfulTextLink" href="#" onclick="POWERREVIEWS.display.submitHelpfulVote(\'');BU.push(BR.id);BU.push("', 'unhelpful', '");BU.push(BZ);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bj);BU.push("')); return false;\">");BU.push("No");BU.push('</a></span><span class="prReviewReportIssue"><span class="prReviewReportIssueHyphen">- </span>');BU.push("You may also");BU.push(' <a href="#" class="prReviewHelpfulTextLink" onclick="POWERREVIEWS.display.launchErrorDiv(\'');BU.push(BR.id);BU.push("', '");BU.push(BZ);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bj);BU.push("')); return false;\">");BU.push("flag this review");BU.push('</a>.</span></div><div class="errorDiv" id="error_div');BU.push(BR.id);BU.push('" style="display:none;padding-left:5px;padding-bottom:5px;"><div class="prReportIssueHeader"><span class="prReportIssueText">');BU.push("<br></span></div>");BU.push("Please let us know what kind of issue this is:");BU.push('<br><input type="radio" name="error_radio');BU.push(BR.id);BU.push('" value="profane">');BU.push("Profanity");BU.push('<br><input type="radio" name="error_radio');BU.push(BR.id);BU.push('" value="wrong_product">');BU.push("Wrong product");BU.push('<br><input type="radio" name="error_radio');BU.push(BR.id);BU.push('" value="spam">');BU.push("Spam");BU.push('<br><input type="radio" name="error_radio');BU.push(BR.id);BU.push('" value="duplicate">');BU.push("Duplicate");BU.push('<br><input type="radio" name="error_radio');BU.push(BR.id);BU.push('" value="copyright">');BU.push("Copyright violation");BU.push('<br><input type="radio" name="error_radio');BU.push(BR.id);BU.push('" value="not_review">');BU.push("Not a product review");BU.push('<br><input type="radio" name="error_radio');BU.push(BR.id);BU.push('" value="customer_image">');BU.push("Customer image");BU.push('<br><input type="radio" name="error_radio');BU.push(BR.id);BU.push('" value="customer_image">');BU.push("Problem with image");BU.push('<br><input type="radio" name="error_radio');BU.push(BR.id);BU.push('" value="other" checked="1">');BU.push("Other");BU.push("<br>");BU.push("Email Address:");BU.push('<br><input type="text" id="error_contact_email');BU.push(BR.id);BU.push('" cols="20" maxlength="80"><br><div class="prIssueSubtext">');BU.push("</div>");BU.push("Comments:");BU.push('<br><textarea id="error_comments');BU.push(BR.id);BU.push('" cols="30" rows="3"></textarea><br><a href="#"><img src="');BU.push(Bs);BU.push("/engine/images/submit_button_");BU.push(BZ);BU.push(".gif");BU.push('" style="padding-top:3px;" onclick="POWERREVIEWS.display.submitError(\'');BU.push(BR.id);BU.push("', '");BU.push(BZ);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bj);BU.push('\')); return false;" border="0"></a></div><p><strong><div class="prReviewHelpfulText" id="review_feedback');BU.push(BR.id);BU.push('"></div></strong></p>');}BU.push("</div>");}if(!Bt){BU.push('<div class="prPagination"><span class="prPageCount">');if(BX==BP){BU.push("Displaying Review");BU.push(" <strong>");BU.push((BX+1));BU.push(" </strong>");}else{BU.push("Displaying Reviews");BU.push(" <strong>");BU.push((BX+1));BU.push("-");BU.push((BP+1));BU.push(" </strong>");}BU.push("of");BU.push(" ");BU.push(Be);BU.push('</span><span class="prNavBackToTopTop"><a href="');BU.push(Bh);BU.push('">');BU.push("Back to Top");BU.push("</a></span>");if(Be>BO){BU.push('<span class="prPageNav">');if(BX>0){BU.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BU.push(BQ-1);BU.push(", '");BU.push(Bx);BU.push("', '");BU.push(BZ);BU.push("', '");BU.push(Bj);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bj);BU.push("')); location.hash = '#ReviewHeader'; return false;\" href=\"");BU.push(Bi.replace("~~~REVIEW_PAGE~~~",BQ-1));BU.push('">&laquo; ');BU.push("Previous");BU.push("</a>");}else{BU.push("Previous");}BU.push(" | ");if(BP<Be-1){BU.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BU.push(BQ+1);BU.push(", '");BU.push(Bx);BU.push("', '");BU.push(BZ);BU.push("', '");BU.push(Bj);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bj);BU.push("')); location.hash = '#ReviewHeader'; return false;\" href=\"");BU.push(i.replace("~~~REVIEW_PAGE~~~",BQ+1));BU.push('">');BU.push("Next");BU.push(" &raquo;</a>");}else{BU.push("Next");}BU.push("</span>");}BU.push("</div>");}BU.push("<!-- garby -->");return BU.join("");}BE.display.processReviewsTemplate=f;var Ax=0;function T(BN,BP){if(BI(BN,BP)){var BO=Am(Au("pr_page_id",BP));var BM=Au("pr_locale",BP);var BR="prSnippet"+BO;var i=false;if(document.getElementById(BR)){AL(BO,BM,BR,BP);}else{var BQ="prSnippet"+BO+"_"+(Ax++);BN.write('<div id="'+BQ+'" class="prSnippetEngine"></div>');AL(BO,BM,BQ,i,BP);}}}BE.display.snippet=T;window.snippet=T;function AL(BN,BM,BP,i,BO){o(BN,BM,function(BT){var BQ=Au("pr_snippet_min_reviews",BO);var BS=0;var BR=0;if(BT&&BT.reviews){BS=BT.reviews.review_count;BR=BT.reviews.avg;}if(BQ<=BS){Ad(BP,A6(BN,BS,BR,BM,i,BO));}},BO);}function A6(BT,i,BS,BX,BY,BM){var BR=[];var BN=An(Au("pr_page_id",BM),BM);var BV=BH(BS);var Be=Math.round(BV);var BO="";var Bc="";var BZ=Au("pr_snippet_star_click",BM);if(BZ){BO="cursor:pointer;";Bc='onclick="'+BZ+'"';}var Bd=["Got it? Rate it.","Not Good","Needs That Special Something","Average, Ordinary","That's Good Stuff","Perfect. It doesn't get any better"];var BU="Rating";var Bb="Review";if((i==0&&BX.substring(0,2)!="fr")||i>1){BU="Ratings";Bb="Reviews";}var BP="";if(i>0){BP="";}var Ba="star";if((BS==0&&BX.substring(0,2)!="fr")||BS>1){Ba="stars";}var BW=Au("pr_facebook_like_button_url",BM);if(BW==null){BW=document.URL;}BW=s(BW);if(BW==""){BY=false;}var BQ=window.location.protocol;BR.push('<div class="prSnippetTitle">');BR.push("Product Rating");BR.push('</div><div class="prSnippetRatingUnclickable"><div class="prStars prStarsSmall" style="padding: 0; background-position: 0px ');BR.push(BV*-36);BR.push("px; ");BR.push(BO);BR.push(" background-image: url(");BR.push(AH(BM)+"/engine/images/stars_small.gif");BR.push(')" ');BR.push(Bc);BR.push(' title="');BR.push(Bd[Be]);BR.push('">&#160;</div><div class="prSnippetRatingDecimal">');BR.push(BS);BR.push(" ");BR.push(Ba);BR.push('</div><div class="prSnippetNumberOfRatingsText">&nbsp;(');BR.push(i);BR.push(" ");BR.push(BU);BR.push(")</div></div>");if(BN){BR.push('<div class="prSnippetWriteReview">');BR.push(BP);BR.push(' <a class="prSnippetLink" href="');BR.push(BN);BR.push('">');BR.push("Write a Review");BR.push("</a></div>");}if(i>0){BR.push('<div class="prSnippetReadReviews"><a class="prSnippetLink" href="');BR.push(Au("pr_read_review",BM));BR.push('">');BR.push("Read");BR.push(" ");BR.push(i);BR.push(" ");BR.push(Bb);BR.push("</a></div>");}if(BY){BR.push('<div class="prFacebookLikeSnippet"><iframe src="');BR.push(BQ);BR.push("//www.facebook.com/plugins/like.php?href=");BR.push(BW);BR.push('&layout=button_count&show_faces=false&width=200&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:21px;" allowTransparency="true"></iframe></div>');}BR.push("<!-- hrm -->");return BR.join("");}var M=0;function AJ(i,BN){if(BI(i,BN)){var BM=Am(Au("pr_page_id",BN));var BO="prPaContainer"+BM;if(!document.getElementById(BO)){BO=BO+"_"+M++;i.write('<div id="'+BO+'"></div>');BJ(i,BO,BM,Au("pr_locale",BN),BN);}else{A8("p","prPaTotalsLabel");}AP(BM,BN);Av(BM,BN);}}BE.display.productAnswers=AJ;window.productAnswers=AJ;function BJ(BM,BN,BO,i,BP){o(BO,i,function(BT){var BQ=0,BR=0;if(BT&&BT.questions){BQ=BT.questions.question_count;BR=BT.questions.answer_count;}var BS=function(BU){Ad(BN,AB(i,BQ,BR,BU,BP));A8("p","prPaTotalsLabel");};if(BQ>0){u(AH(BP)+"/content/"+X(BO)+"/"+BO+"-"+i+"-1-questions.js",null,function(BU){BS(BU);},BP);}else{BS([]);}},BP);}function AP(BM,BN){var BP=R(document,"a","prPaAskQuestionLnk");if(BP.length>0){var BR=BF(BM,BN);for(var BO=0;BO<BP.length;BO++){var BQ=BP[BO];if(BR){BQ.href=BR;BQ.style.display="";}}}else{setTimeout(function(){AP(BM,BN);},100);}}function Av(BO,BP){var BN=R(document,"p","prPaAnswerLnk");if(BN.length>0){for(var BQ=0;BQ<BN.length;BQ++){var BS=BN[BQ];var BR=BS.childNodes[1];var BM=AI(BO,BR.id.substring(13),BP);if(BM){BR.href=BM;}BS.style.display="";}}else{setTimeout(function(){Av(BO,BP);},100);}}function BF(i,BM){return Aa(Au("pr_ask_question",BM),"~~~PAGE_ID~~~",i);}function AI(BM,i,BN){return Aa(Aa(Aa(Au("pr_answer_question",BN),"~~~PAGE_ID~~~",BM),"~~~QUESTION_ID~~~",i),"@@@QUESTION_ID@@@",i);}function AZ(i){return i.replace(/((ftp|http|https):\/\/(\w+:{0,1}\w*@)?([^<\s]+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?)/g,'<a rel="nofollow" target="_blank" href="$1">$1</a>');}function AB(BW,BM,BN,BS,BY){var BZ=[];BZ.push('<div class="prPaContainer prPaNonempty"><a name="QAHeader"></a><div class="prPaHeader"><p class="prPaQuestionPromptIntro">');BZ.push("Do you have questions about this product?");BZ.push("</p><span>");BZ.push('</span><div class="prPaQuestionSubhead"><a class="prPaAskQuestionLnk" style="display:none;" href="#"><span>');BZ.push("Ask a question");BZ.push('</span></a><p class="prPaQuestionPrompt">');BZ.push('AnswerBox - Get answers from Staff Experts and real customers by clicking "Ask a question"<br /><br />or <a href="/custserv/custserv.jsp?pageName=Contact&cm_sp=Answer-_-Box-_-ContactUs">click here</a> to ask our Customer Service Team');BZ.push('</p></div><div class="prPaCounts">');BZ.push(BM==1?"1 Question":BM+" Questions");BZ.push(" | ");BZ.push(BN==1?"1 Answer":BN+" Answers");BZ.push('</div></div><ul class="prPaQaContainer">');for(var BT=0;BT<BS.length;BT++){var BQ=BS[BT];BQ=BQ.q||BQ;var BU=BQ.as?BQ.as.length:0;var BP="Asked on <strong>"+BQ.dd+"</strong> by <strong>"+(BQ.n||"Anonymous")+"</strong>"+(BQ.l?" from<strong> "+BQ.l+"</strong>":"");BZ.push('<li><div class="prPaQaDialog"><p class="prPaQ"><p class="paPrQaPrefix">');BZ.push("Q:");BZ.push(" </p> ");BZ.push(BD(BQ.t));BZ.push('</p><div class="prPaByLine prPaAddBorder">');BZ.push(BP);BZ.push('</div></div><p class="prPaAnswerLnk" style="display:none;">');BZ.push("Know the answer?");BZ.push(' <a id="prPaQuestion-');BZ.push(BQ.id);BZ.push('" href="#">');BZ.push("Answer this question");BZ.push('</a></p><p class="prPaTotalsLabel">');BZ.push(BU==1?"1 answer":BU+" answers");BZ.push('</p><div class="prPaAnswerCont">');if(BU>0){BZ.push('<ul class="prPaAnswerList">');for(var BR=0;BR<BQ.as.length;BR++){var BX=BQ.as[BR];var BV="Answered on<strong> "+BX.dd+"</strong> by<strong> "+(BX.n||"Anonymous")+"</strong>";if(BX.l){BV+=" from <strong>"+BX.l+"</strong>";}if(BR==BQ.as.length-1){var BO='<div class="prPaAnswerDialog prPaLastAnswer">';}else{var BO='<div class="prPaAnswerDialog prPaAddBorder">';}BZ.push("<li>");BZ.push(BO);if(BX.ea){BZ.push(' <div class="prPaBadgeCase"><p class="prPaVerifiedMerchant">');BZ.push("STAFF EXPERT");BZ.push("</p></div> ");}if(BX.vp){BZ.push(' <div class="prPaBadgeCase"><p class="prPaVerifiedPurchaser">');BZ.push("VERIFIED BUYER");BZ.push("</p></div> ");}BZ.push('<p class="prPaA"><p class="paPrQaPrefix">');BZ.push("A:");BZ.push("</p> ");BZ.push(BD(BX.ea?AZ(""+BX.t):BX.t));BZ.push('</p><div class="prPaByLine">');BZ.push(BV);BZ.push("</div></div></li>");}BZ.push("</ul>");}BZ.push("</div></li>");}BZ.push('</ul></div><div class="prPaFooter">');if(BM>0){BZ.push('<a class="prPaAskQuestionLnk" style="display:none;" href="#"><span>');BZ.push("Ask a question");BZ.push('</span></a><p class="prPaQuestionPromptIntro">');BZ.push("Do you have a question about this product?");BZ.push("&nbsp;</p>");}BZ.push("</div>");return BZ.join("");}BE.display.processProductAnswersTemplate=AB;function S(BN,BM){var BQ=new Date((BN||"").replace(/-/g,"/").replace(/[TZ]/g," "));var BO=new Date((BM||"").replace(/-/g,"/").replace(/[TZ]/g," "));var BP=((BO.getTime()-BQ.getTime())/1000);var i=Math.floor(BP/86400);if(isNaN(i)||i<0){return"";}else{if(i==0){if(BP==1){return"1 second";}else{if(BP<60){return"seconds";}else{if(BP<120){return"1 minute";}else{if(BP<3600){return Math.floor(BP/60)+" minutes";}else{if(BP<7200){return"1 hour";}else{return Math.floor(BP/3600)+" hours";}}}}}}else{if(i==1){return"1 day";}else{if(i<7){return i+" days";}else{return Math.ceil(i/7)+" weeks";}}}}}function Aj(BN){var i="prPaToggleClosed";var BM=BN.nextSibling;while(BM.nodeType!=1){BM=BM.nextSibling;}BM.style.display=((BM.style.display=="none")?"block":"none");if(BN.className.match(i)){AT(BN,"prPaToggleClosed");L(BN,"prPaToggleOpen");}else{if(BN.className==""){AT(BN,"prPaToggleClosed");L(BN,"prPaToggleOpen");}else{AT(BN,"prPaToggleOpen");L(BN,"prPaToggleClosed");}}}function A8(i,BM){var BN="prPaClicker";clickers=R(document,i,BM);for(AC=0;AC<clickers.length;AC++){clickers[AC].className+=" "+BN;clickers[AC].onclick=function(){Aj(this);};Aj(clickers[AC]);}}var g=0;function G(BM,BO){if(BI(BM,BO)){var BN=Am(Au("pr_page_id",BO));var i=Au("pr_locale",BO);var BQ="pr-pa-snippet-"+BN;if(document.getElementById(BQ)){At(BN,i,BQ,BO);}else{var BP="pr-pa-snippet-"+BN+"-"+(g++);BM.write('<div id="'+BP+'" class="pr-pa-snippet"></div>');At(BN,i,BP,BO);}}}BE.display.productAnswersSnippet=G;window.productAnswersSnippet=G;function At(BM,i,BO,BN){o(BM,i,function(BR){var BP=0;var BQ=0;if(BR&&BR.questions){BP=BR.questions.question_count;BQ=BR.questions.answer_count;}Ad(BO,K(BM,BP,BQ,i,BN));},BN);}function K(BP,BN,BO,BM,BQ){var i=[];i.push('<div class="pr-pa-snippet-wrapper"><p class="pr-pa-snippet-title">');i.push("Q&A");i.push('</p><p class="pr-pa-snippet-text">');i.push("Ask Questions, share answers");i.push('</p><div class="pr-pa-snippet-qa"><div class="pr-pa-snippet-read-questions"><p class="pr-pa-snippet-questions"><a class="pr-snippet-link" href="');i.push(Au("pr_read_qa",BQ));i.push('">');i.push(BN==1?"<span>1</span> Question":"<span>{0}</span> Questions".replace("{0}",BN));i.push('</a></p><p class="pr-pa-snippet-answers"><a class="pr-snippet-link" href="');i.push(Au("pr_read_qa",BQ));i.push('">');i.push(BO==1?"<span>1</span> Answer":"<span>{0}</span> Answers".replace("{0}",BO));i.push('</a></p></div><div class="pr-pa-snippet-ask-question"><a class="pr-snippet-link" href="');i.push(Au("pr_ask_question",BQ));i.push('">');i.push("Ask a Question");i.push('</a></div><div class="pr-clear"></div></div></div>');return i.join("");}var x="prImageSnippet";var BB="prImageSnippetEmpty";var U="prImageSnippetNonempty";var Ag=0;function Ay(BO,BQ){if(BI(BO,BQ)){var BP=Am(Au("pr_page_id",BQ));var BN=Au("pr_locale",BQ);var BM="imageSnippet-"+BP+"-"+BN;Ai(BM,BQ);var i=x+BP;if(!document.getElementById(i)){i=i+"_"+Ag++;BO.write('<div id="'+i+'" class="'+BB+'"></div>');}A1(BO,i,BP,BN,Au("pr_image_snippet_max",BQ),BM,BQ);}}BE.display.imageSnippet=Ay;window.imageSnippet=Ay;function A1(BN,BO,BP,BM,BR,i,BQ){o(BP,BM,function(BS){if(BS&&BS.reviews&&BS.reviews.review_count>0){A4(BP,BM,function(){var BU=[];var BX=[];var BW={};for(var BT=0;BT<b.length&&BR>0;BT++){var BV=b[BT];if(BV.images&&BV.images>0){BR--;BU.push(BV.rid);if(!BW[BV.batch]){BX.push(BV.batch);BW[BV.batch]=true;}}}if(BU.length>0){B(BP,BM,BX,function(){var Bb=[];for(var Ba=0;Ba<BU.length;Ba++){Bb.push(Ap[BU[Ba]]);}var BY=R(BN,"*",BB);for(var BZ=0;BZ<BY.length;BZ++){AT(BY[BZ],BB);L(BY[BZ],U);}Ad(BO,AO(BP,BM,Bb,i,BQ));},BQ);}},BQ);}},BQ);}function AO(BN,BS,BR,BQ,BU){var BV=[];BV.push('<div class="prImageSnippet"><div class="prImageSnippetHeader">');BV.push("Customer Images");BV.push("</div>");for(var BO=0;BO<BR.length;BO++){var BT=BR[BO];if(BT.i){for(var BM=0;BM<BT.i.r.length;BM++){var BP=BT.i.r[BM];if(BP.s){BV.push("<div class=\"prImageSnippetImage\"><a onclick=\"POWERREVIEWS.common.get('pr_image_snippet_show_image', POWERREVIEWS.common.getOptions('");BV.push(BQ);BV.push("'))('");BV.push(BP.s.u);BV.push("', ");BV.push(BP.s.w);BV.push(", ");BV.push(BP.s.h);BV.push(", POWERREVIEWS.common.getOptions('");BV.push(BQ);BV.push('\')); return false;" href="#"><img alt="');BV.push(BP.c);BV.push('" src="');BV.push(AH(BU));BV.push("/content");BV.push(BP.h.u);BV.push('" class="');BV.push(BP.h.h>BP.h.w?"prImageSnippetImagePortrait":"prImageSnippetImageLandscape");BV.push('"></a></div>');}}}}BV.push('<div style="clear: both;"></div></div>');return BV.join("");}return BE;})();var SHOPZILLAREVIEWS=POWERREVIEWS;