var POWERREVIEWS=POWERREVIEWS||(function(){var A6={common:{},display:{}};var AS=false;var AU=false;var b=null;var AO={};var x={};var Am={};var AX={};A6.common.gResult=AX;window.gResult=AX;var Ar={};var t=encodeURIComponent||escape;var AG="prBaseStylesheet";var Ak="prMerchantOverrideStylesheet";var v={"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 AI={pr_merchant_table:{"m8235":{"name":"US Medical Supplies","cobranded":"true"}},pr_merchant_id:8235,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 Aw={};if(window&&window.location&&window.location.search){var AD=window.location.search.substring(1).split("&");for(var AC=0,Ad=AD.length;AC<Ad;++AC){var AA=AD[AC].split("=");Aw[AA[0]]=AA[1];}}function A3(BF){for(var BG=1,BE=arguments.length;BG<BE;++BG){var BH=arguments[BG];if(BH){var BD=BH[BF];if(typeof BD!="undefined"){return BD;}}}return null;}function Aq(BE,BD){var i=A3(BE,BD,Aw,window,AI);if("pr_locale"==BE&&"3498"==Aq("pr_merchant_id",BD)){if(i=="en"){i="en_CA";}else{if(i=="fr"){i="fr_CA";}}}return i;}A6.common.get=Aq;function X(BH){var BG=0;var BF;for(BF=0;BF<BH.length;BF++){var BE=BH.charCodeAt(BF);BE=BE*Math.abs(255-BE);BG+=BE;}BG=BG%1023;BG=BG+"";var BI=4;var BD=BG.split("");for(BF=0;BF<BI-BG.length;BF++){BD.unshift("0");}BG=BD.join("");BG=BG.substring(0,BI/2)+"/"+BG.substring(BI/2,BI);return BG;}function BA(i,BE){if(AS){return true;}else{if(!Ao(BE)){return false;}}AS=true;if(!document.getElementById(AG)){i.write('<link rel="stylesheet" href="'+AH(BE)+'/engine/pr_styles_review.css" type="text/css" id="'+AG+'">\n');}var BF=AH(BE)+"/engine/merchant_styles2.css";var BD=Ax(Aq("pr_style_sheet",BE));if(Aq("pr_allow_engine_css_override",BE)&&BD){BF=BD;}if(!document.getElementById(Ak)){i.write('<link rel="stylesheet" href="'+BF+'" type="text/css" id="'+Ak+'">\n');}return true;}function Ao(i){if(AU){return true;}else{if(!Aq("pr_page_id",i)&&!Aq("pr_merchant_user_id",i)){return false;}}AU=true;return true;}function AZ(i,BD,BE){if(!document.getElementById(i)){setTimeout(function(){AZ(i,BD,BE);},1000);}else{A(i,BD,BE);}}function A(i,BE,BF){try{if(!BE){BE="";}AL(function(){AB(document.getElementById(i),BE);if(BF){BF();}});}catch(BD){}}function AB(BE,BD){if(BE.parentNode){var i=document.createElement("div");i.id=BE.id;i.className=BE.className;i.innerHTML=BD;BE.parentNode.replaceChild(i,BE);return i;}else{BE.innerHTML=BD;return BE;}}function AL(i){if(typeof i=="function"){(function(){if(A7()){try{document.documentElement.doScroll("left");}catch(BD){setTimeout(arguments.callee,50);return ;}}i();i=null;})();}}function A7(){return typeof document.all!="undefined"&&typeof window.opera=="undefined"&&!(navigator.vendor=="KDE");}function AN(i){new Image().src=i;}function AH(BD){var i=Aq("pr_zip_location",BD);if(i.charAt(i.length-1)!="/"){i+="/";}i+=Aq("pr_powerreviews_root",BD);return i;}A6.common.getDocRoot=AH;function Ah(i){return i.replace(/\W/g,"__");}function j(BD,BF,BE,i){this.pageId=BD;this.fullReviewCount=BF;this.quickReviewCount=BE;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 AV(BD,i,BE){return BE&&BE["locales"]&&BE["locales"][i]&&BE["locales"][i]["p"+BD];}function I(BE){var BF=document.getElementsByName(BE);for(var BD=0;BD<BF.length;BD++){if(BF[BD].checked){return BF[BD].value;}}return null;}function AW(i,BE,BD){return i.replace(new RegExp(BE,"g"),BD);}function Ax(i){return i&&i.replace(/^\s+|\s+$/g,"");}function A5(i){if(typeof i=="string"){return i.replace(/\n/g,"<br />");}else{return i;}}function w(BE,BF,BI,BD){var BG=AH(BD);var BF=BF||BE.substring(BE.indexOf(BG)+BG.length+1);if(AX[BF]){BI(AX[BF]);}else{var i=document.createElement("script");var BH=function(){if(AX[BF]){if(i.parentNode){i.parentNode.removeChild(i);delete i;}BI(AX[BF]);}};if(A7()){i.onreadystatechange=BH;}else{i.onload=BH;}i.type="text/javascript";i.charset="utf-8";i.src=BE;document.getElementsByTagName("head")[0].appendChild(i);}}function M(BH,BI,BD){if(BH.className){var BE=BH.className.split(" ");if(BD){var BG=BI.toUpperCase();for(var BF=0;BF<BE.length;BF++){if(BE[BF].toUpperCase()==BG){BE.splice(BF,1);BF--;}}}BE[BE.length]=BI;BH.className=BE.join(" ");}else{BH.className=BI;}}function AQ(BG,BH){if(BG.className){var BD=BG.className.split(" ");var BF=BH.toUpperCase();for(var BE=0;BE<BD.length;BE++){if(BD[BE].toUpperCase()==BF){BD.splice(BE,1);BE--;}}BG.className=BD.join(" ");}}function T(BK,BL,BM){var BI=(BL=="*"&&BK.all)?BK.all:BK.getElementsByTagName(BL);var BH=new Array();var BN=new Array();if(typeof BM=="object"){for(var BG=0;BG<BM.length;BG++){BN.push(new RegExp("(^|\\s)"+BM[BG].replace(/\-/g,"\\-")+"(\\s|$)"));}}else{BN.push(new RegExp("(^|\\s)"+BM.replace(/\-/g,"\\-")+"(\\s|$)"));}var BD;var BJ;for(var BF=0;BF<BI.length;BF++){BD=BI[BF];BJ=true;for(var BE=0;BE<BN.length;BE++){if(!BN[BE].test(BD.className)){BJ=false;break;}}if(BJ){BH.push(BD);}}return BH;}function Ag(BD,i){if(i(BD)==true){return BD;}else{if(BD.parentNode){return arguments.callee(BD.parentNode,i);}else{return false;}}}function Ae(BD,i){Ar[BD]=i;}function g(i){return Ar[i];}A6.common.getOptions=g;function p(BD,i,BG,BE){var BF=AO[BD];if(!BF){w(AH(BE)+"/content/"+X(BD)+"/contents.js",null,function(BH){BF=AV(BD,i,BH);AO[BD]=BF?BF:"none";BG(BF);},BE);}else{if(BF=="none"){BG(null);}else{BG(BF);}}}function Ay(BD,i,BF,BE){if(!b){w(AH(BE)+"/content/"+X(BD)+"/"+BD+"-"+i+"-meta.js",null,function(BG){b=BG?BG.metadata:null;BF();},BE);}else{BF();}}function d(BD,i,BG,BH,BF){if(!x[BD+"-"+BG]){var BE=AH(BF)+"/content/"+X(BD)+"/"+BD+"-"+i+"-"+BG+"-reviews.js";w(BE,null,function(BL){var BJ=[];for(var BK=0;BK<BL.length;BK++){var BI=BL[BK].r;Am[BI.id]=BI;BJ.push(BI);}x[BD+"-"+BG]=BJ;BH();},BF);}else{BH();}}function B(BE,BD,BI,BJ,BF){var BH=BI.length;for(var BG=0;BG<BI.length;BG++){d(BE,BD,BI[BG],function(){if(--BH<=0){BJ();}},BF);}}function A8(i){return Math.round(i*2)/2;}function V(BE,BF,i,BD){window.open("http://images2.powerreviews.com/media_popup.html?type=image&url="+t(BE),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width="+BF+",height="+i+",top=100,left=100");}A6.common.showImagePopup=V;window.showImagePopup=V;function Ap(BD,i,BF){var BE=window.open(BD,"smallWindow","toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+BF+",height="+i+",top=200,left=200");if(window.focus){BE.focus();}}A6.common.showSmallPopup=Ap;window.showSmallPopup=Ap;function Ab(BD,i){window.open("http://images2.powerreviews.com/media_popup.html?type=video&url="+t(BD),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width=435,height=350,top=100,left=100");}A6.common.showVideoPopup=Ab;window.showVideoPopup=Ab;function L(BG,BE,BD,BF){var i=function(){AQ(document.getElementById(BG.target),"pr-open");M(document.getElementById(BG.target),"pr-closed");};var BH=function(){AQ(document.getElementById(BG.target),"pr-closed");M(document.getElementById(BG.target),"pr-open");};if(window.event){BF=window.event;BF.cancelBubble=true;target=window.event.srcElement;currentTarget=event.srcElement.id;}else{if(BF){BF.stopPropagation();target=BF.target;currentTarget=BF.currentTarget.id;}else{return ;}}if(BE=="show"){if(document.getElementById(BG.target).className!="pr-open"){this.timedShow=setTimeout(BH,400);}else{if(Ag(target,function(BI){if(BI.id==BG.target){return true;}})){if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}else{if(BE=="hide"){if(this.timedHide!=null){window.clearTimeout(this.timedShow);}if(currentTarget==BG.link||currentTarget==BG.target||Ag(target,function(BI){if(BI.id==BG.target){return true;}})){this.timedHide=setTimeout(i,800);}else{if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}}A6.common.togglePopOut=L;function n(BE,BF,BD,i){returnString=BE.substring(BF,BD);if(i){returnString+="...";}return returnString;}function BB(i,BD){content=document.getElementById(BD).innerHTML;AZ(i,content);}var W={};var l=0;var a=1;var BC=2;var Av=3;var r=4;var R=5;var z=null;var AP=new Date();var F={};var Az={};var AE=[];function An(i){return Aq("pr_merchant_table",i)["m"+Aq("pr_merchant_id",i)];}function AF(i,BD){var BE=Aq("pr_analytics_script_src",BD);if(BE){i.write('<script src="'+BE+'" type="text/javascript"><\/script>');}}function D(BJ,BK){if(BA(BJ,BK)){var BE=Aq("pr_page_id",BK);var BH=Ah(BE);var BI=Aq("pr_locale",BK);var BG="engine-"+BH+"-"+BI;Ae(BG,BK);var BF=document.getElementById("prReviewEngineDiv");if(!BF){A1(BJ,BH);}AF(BJ,BK);if(!BF){S(BH,BI,BG,BK);}var i=function(){var BN=document.getElementById("writeReview")||document.getElementById("write-review-"+BH);if(BN){var BL=Aj(BE,BK);if(BL){BN.href=BL;var BM=document.getElementById("prSummaryWriteReviewId_R")||document.getElementById("prSummaryWriteReviewId_NR");if(BM){BM.style.display="";}}}else{setTimeout(i,100);}};i();q(BH,BI,BK);var BD=Aq("pr_highlight_review_id",BK);if(BD){AR(BD,BH,BI,BG,BK);}}}A6.display.engine=D;window.engine=D;function AR(BF,BE,BD,i,BG){Au(BF,function(BH){if(BH&&"Rejected"!=BH.s1&&"Rejected"!=BH.s2){AZ("pr-modal-"+BE,Af(BH,BE,BD,i,BG),function(){AY(BE);});}},BG);}function Au(i,BE,BD){w(Aq("pr_highlight_review_url").replace("~~~REVIEW_ID~~~",i),"highlight-"+i,function(BF){BE(BF&&BF.r);},BD);}function Af(BE,BF,BD,i,BG){return("Pending"==BE.s1||"Pending"==BE.s2?"<h2>This review is pending moderation</h2>":"")+h([BE],BF,BD,null,1,1000,1,"","",true,i,BG);}function Aj(i,BD){return AW(Aq("pr_write_review",BD),"~~~PAGE_ID~~~",i);}function A1(i,BD){i.write('<div id="prReviewEngineDiv" class="prReviewEngine"><div id="prHeader"></div><div id="prContents"></div></div>');}function s(BF,BD){var BE=Ax(Aq("pr_analytics_account",BD));if(window.urchinTracker&&BE){var i="";var BG=typeof _uacct!="undefined";if(BG){i=_uacct;}_uacct=BE;urchinTracker("/product_with_"+BF+"_reviews");if(BG){_uacct=i;}}}function S(BE,BD,i,BF){p(BE,BD,function(BH){var BG=(BH&&BH.reviews&&BH.reviews.review_count)||0;var BI=(BH&&BH.reviews&&BH.reviews.review_ratings)||[0,0,0,0,0];o(BE,BD,BG,BI,i,BF);if(BG>0){Y(1,BE,BD,i,BF);}},BF);}function q(BD,i,BE){p(BD,i,function(BG){var BF=0;var BH=0;if(BG&&BG.reviews){BF=BG.reviews.review_count;BH=BG.reviews.avg;}AM("main",new j(BD,BF,0,A8(BH)));window.setTimeout(function(){s(BF,BE);},2000);},BE);}function O(BH,BE,BD,i,BF){var BG=new Date();if(BG.getTime()-AP.getTime()>1000){AP=BG;Ay(BE,BD,function(){Z(BH.selectedIndex,BE);A4(1,BE,BD,i,BF);},BF);}}A6.display.startSort=O;function Z(BE,i){b.sort(W[BE]);z=BE;var BD=document.getElementById("prHeader");if(BD){BD.focus();}}function J(BD,i){return i.rid-BD.rid;}W[l]=function(BD,i){if(BD.date==i.date){return J(BD,i);}return i.date-BD.date;};W[a]=function(BD,i){if(i.date==BD.date){return J(i,BD);}return BD.date-i.date;};W[BC]=function(BD,i){if(i.rating==BD.rating){return J(BD,i);}return i.rating-BD.rating;};W[Av]=function(BD,i){if(i.rating==BD.rating){return J(i,BD);}return BD.rating-i.rating;};W[r]=function(BD,i){if(i.helpfulScore==BD.helpfulScore){return J(BD,i);}return i.helpfulScore-BD.helpfulScore;};W[R]=function(BD,i){if(i.helpfulScore==BD.helpfulScore){return J(i,BD);}return BD.helpfulScore-i.helpfulScore;};function Y(BG,BE,BD,i,BF){p(BE,BD,function(BH){var BI=[BG];B(BE,BD,BI,function(){var BJ=0;if(BH.reviews){BJ=BH.reviews.review_count;}AZ("prContents",h(x[BE+"-"+BG],BE,BD,BH.name,BJ,Aq("pr_reviews_per_page",BF),1,"#ReviewHeader","#ReviewHeader",false,i,BF));},BF);},BF);}function A4(BG,BE,BD,i,BF){Ay(BE,BD,function(){if(z==null){Z(l,BE);}p(BE,BD,function(BK){var BI=Aq("pr_reviews_per_page",BF);var BO=(BG-1)*BI;var BM=BO+BI-1;if(BM>BK.reviews.review_count-1){BM=BK.reviews.review_count-1;}var BN=[];var BL={};for(var BJ=BO;BJ<=BM;BJ++){var BH=b[BJ].batch;if(!BL[BH]){BN.push(BH);BL[BH]=true;}}B(BE,BD,BN,function(){var BQ=[];for(var BP=BO;BP<=BM;BP++){BQ.push(Am[b[BP].rid]);}AZ("prContents",h(BQ,BE,BD,BK.name,BK.reviews.review_count,BI,BG,"#ReviewHeader","#ReviewHeader",false,i,BF));},BF);},BF);},BF);}A6.display.getReviewsFromMeta=A4;function o(BE,BD,BG,BH,i,BF){if(BG>0){w(AH(BF)+"/content/"+X(BE)+"/"+BE+"-"+BD+"-rollup.js",null,function(BI){if(BI.rollup){AZ("prHeader",C(BG,BH,BI.rollup,BE,BD,i,BF));}},BF);}else{AZ("prHeader",C(BG,BH,null,BE,BD,i,BF));}}function k(BD,BF,i,BE){var BG="Thank you for your feedback.  Please note that only your first vote will be counted.";if(!F[BD]||F[BD]=="undefined"){AN(Aq("pr_js_controller_url",BE)+"?command=helpfulVote&reviewId="+BD+"&voteType="+BF);F[BD]=1;}else{BG="You may only submit one vote per review.";}AZ("review_feedback"+BD,BG);}A6.display.submitHelpfulVote=k;function y(BE,BD,i,BF){if(!Az[BE]||Az[BE]=="undefined"){var BG=document.getElementById("error_div"+BE);BG.innerHTML=AK(BE,BD,i,BF);document.getElementById("error_div"+BE).style.display="block";}else{AZ("review_feedback"+BE,"You have already notified us of an error for this review.");}}A6.display.launchErrorDiv=y;function Ac(i){document.getElementById("error_div"+i).style.display="none";}function Q(BD,i,BF){var BH=I("error_radio"+BD);var BJ=document.getElementById("error_comments"+BD).value;BJ=BJ.substring(0,256);var BE=document.getElementById("error_contact_email"+BD).value;var BI=document.location.href;if(BI&&typeof BI!="undefined"){var BG=BI.split("/",4)[2];BJ+="\n["+BG+"]";}AN(Aq("pr_js_controller_url",BF)+"?command=helpfulVote&reviewId="+BD+"&merchantId="+Aq("pr_merchant_id",BF)+"&voteType="+BH+"&errorComments="+t(BJ)+"&errorContactEmail="+t(BE));AZ("review_feedback"+BD,"Thank you for notifying us of this error.");F[BD]=1;Az[BD]=1;Ac(BD);}A6.display.submitError=Q;function u(BF,BE){if(typeof BF=="function"&&Ao(BE)){var BD=Aq("pr_page_id",BE);var i=Ah(BD);p(i,Aq("pr_locale",BE),function(BG){if(BG&&BG.reviews){BF(new j(BD,BG.reviews.review_count,0,A8(BG.reviews.avg)));}else{BF(new j(BD,0,0,0));}},BE);}}A6.display.prData=u;window.prData=u;function m(i){AE.push(i);}A6.display.registerCallback=m;window.registerCallback=m;function G(){return{"offsetY":document.body.scrollTop||document.documentElement.scrollTop,"viewportWidth":document.getElementsByTagName("body")[0].clientWidth};}function AY(i){c(i);var BD=document.getElementById("pr-modal-container-"+i);document.getElementsByTagName("body")[0].appendChild(BD);var BE=G();BD.style.left=((BE.viewportWidth-BD.offsetWidth)/2)+"px";BD.style.top=(BE.offsetY+100)+"px";AQ(BD,"pr-hidden");}function AT(i){M(document.getElementById("pr-modal-container-"+i),"pr-hidden");}A6.display.hideModal=AT;function c(i){var BD=document.getElementById("pr-modal-container-"+i);var BE=T(document,"div","pr-modal-wrapper");BD.style.height="422px";BE[0].style.height="380px";}function A2(BE,BG){BB("pr-modal-"+BE,BG);var BD=document.getElementById("pr-modal-container-"+BE);var BF=T(document,"div","pr-modal-wrapper")[0];var i=T(document,"div","pr-review-faceoff-review-wrapper")[0];BD.style.width=(i.scrollWidth-20)+"px";BD.style.height=(i.offsetHeight+47)+"px";BF.style.width="auto";BF.style.height=(i.offsetHeight+5)+"px";BD.style.left=(i.offsetLeft+10)+"px";BD.style.top=(i.offsetTop-40)+"px";AQ(BD,"pr-hidden");}A6.display.displayFaceoffModal=A2;function AM(BF,BE){for(var BD=0;BD<AE.length;BD++){AE[BD](BF,BE);}}function N(BF){var BD={canonicalGroupSet:{},histogramDisplayGroupList:[],subratingsGroupList:[],otherGroupList:[]};if(BF){if(BF.g){for(var BE=0;BE<BF.g.length;BE++){var BG=BF.g[BE];if(BG.k=="pros"||BG.k=="cons"||BG.k=="bestuses"){BD.canonicalGroupSet[BG.k]=BG;}else{if(BG.a){BD.histogramDisplayGroupList.push(BG);}else{BD.otherGroupList.push(BG);}}}}BD.subratingGroupList=BF.ar||[];}return BD;}function C(BH,BE,i,BF,BK,BI,BO){var BP=[];var BJ=AH(BO);BP.push('<div id="prReviewSummary"><a name="ReviewHeader"></a><div class="prSummaryHeader"><span class="prSummaryTitle">');BP.push("Review Snapshot&reg;");BP.push("</span>");if(An(BO).cobranded){BP.push('<span id="');BP.push(BH>0?"prSummaryCobrandId_R":"prSummaryCobrand_NR");BP.push('" class="prSummaryCobrand"> <a class="prSummaryCobrandLink" href="#" onclick="POWERREVIEWS.common.showSmallPopup(\'');BP.push("http://www.powerreviews.com/legal/index_en_US.html");BP.push("', 410, 420); return false;\"> ");BP.push("by PowerReviews");BP.push("</a></span>");}BP.push("</div>");if(BH>0){BP.push('<div class="prSummaryBody">                        <div class="prSummaryRating"><span class="prSummaryAverageRatingText">');BP.push("Avg. Customer Rating:");BP.push('</span><div class="prStars" style="background-position: 0px ');BP.push(i.a*-46);BP.push("px; background-image: url(");BP.push(BJ);BP.push("/engine/images/stars");BP.push(".gif");BP.push(')" title="');BP.push(i.a);BP.push('">&#160;</div><div class="prSummaryAverageRatingDecimal">');BP.push(i.d);BP.push(" ");if(i.d==1){BP.push("star");}else{BP.push("stars");}BP.push("</div><span>");if(BH==1){BP.push("(");BP.push("based on {0} review".replace("{0}","1"));BP.push(")");}else{BP.push("(");BP.push("based on {0} reviews".replace("{0}",BH));BP.push(")");}BP.push("</span></div>");if(i.b){BP.push('<div class="prSummaryBottomLineConsensus">');BP.push(Math.round(100*i.b));BP.push("% ");BP.push("of respondents would recommend this to a friend.");BP.push("</div>");}BP.push('<div class="prReviewPoints">');if(i.g){BP.push("<p>");BP.push("Customers most agreed on the following attributes:");BP.push("</p>");for(var BG=0;BG<i.g.length;BG++){var BN=i.g[BG];var BM=[];for(var BD=0;BD<BN.v.length;BD++){var BL=BN.v[BD];if(BL.c>2){BM.push(BL.n+"&nbsp;("+BL.c+")");}}BP.push('<div class="attributeGroup"><div class="prSummaryKey">');BP.push(BN.n);BP.push(':</div><div class="prSummaryValue">');BP.push(BM.join(", "));BP.push('</div><div class="prAttributeGroupSeparator"></div></div>');}}BP.push("</div>");}else{BP.push('<div id="prNoReviewsExtraTextHeading">');BP.push('</div><div id="prNoReviewsExtraTextBody">');BP.push("</div>");}BP.push('<div id="');BP.push(BH>0?"prSummaryWriteReviewId_R":"prSummaryWriteReviewId_NR");BP.push('" class="prSummaryWriteReview" style="display:none">');BP.push(BH>0?"Already own it?":"Be the first to review this product.");BP.push(' <a class="prSummaryWriteReviewLink" href="#" id="writeReview">');BP.push("Write a Review");BP.push("</a></div>");if(BH==0){BP.push('<div class="break"/>');}BP.push('</div></div><div id="pr-modal-container-');BP.push(BF);BP.push('" class="pr-modal-container prReviewEngine pr-hidden"><div class="pr-modal-toolbar"><a class="pr-modal-container-close" href="#" onclick="POWERREVIEWS.display.hideModal(\'');BP.push(BF);BP.push('\'); return false;"><span>close</span></a><div class="pr-clear"></div></div><div class="pr-modal-wrapper"><div id="pr-modal-');BP.push(BF);BP.push('" class="pr-modal-content"></div></div></div>');if(BH>1){BP.push('<div class="prReviewSort"><span class="prReviewCount">');BP.push("Reviewed by {0} Customers".replace("{0}"," "+i.n+" "));BP.push('</span><span class="prReviewSortBox">');BP.push("Sort by:");BP.push('<select id="sorter" name="sorter" onchange="POWERREVIEWS.display.startSort(this, \'');BP.push(BF);BP.push("', '");BP.push(BK);BP.push("', '");BP.push(BI);BP.push("', POWERREVIEWS.common.getOptions('");BP.push(BI);BP.push('\'));"><option value="date_new" selected="true">');BP.push("Newest first");BP.push('</option><option value="date_old">');BP.push("Oldest first");BP.push('</option><option value="rating_high">');BP.push("Highest ratings first");BP.push('</option><option value="rating_low">');BP.push("Lowest ratings first");BP.push('</option><option value="helpful_high">');BP.push("Most helpful first");BP.push('</option><option value="helpful_low">');BP.push("Least helpful first");BP.push("</option></select></span></div>");}BP.push("<!-- janky -->");return BP.join("");}A6.display.processRollupTemplate=C;function h(BT,Bo,BQ,BW,BV,BF,BH,BZ,i,Bk,Ba,BU){var BL=[];var BO=(BH-1)*BF;var BG=BO+BF-1;if(BG>BV-1){BG=BV-1;}var BY=Aq("pr_back_to_top_link",BU);var Bj=AH(BU);var Bn=AW(Aq("pr_badge_definitions_url",BU),"~~~LOCALE~~~",BQ);var Bb=AW(Aq("pr_expert_badge_definitions_url",BU),"~~~LOCALE~~~",BQ);var BN=["None","Not Good","Needs That Special Something","Average, Ordinary","That's Good Stuff","Perfect. It doesn't get any better"];if(!Bk){BL.push('<div class="prPagination"><span class="prPageCount">');if(BO==BG){BL.push("Displaying Review");BL.push(" <strong>");BL.push((BO+1));BL.push("</strong> ");}else{BL.push("Displaying Reviews");BL.push(" <strong>");BL.push((BO+1));BL.push("-");BL.push((BG+1));BL.push("</strong> ");}BL.push("of");BL.push(" ");BL.push(BV);BL.push('</span><span class="prNavBackToTopTop"><a href="');BL.push(BY);BL.push('">');BL.push("Back to Top");BL.push("</a></span>");if(BV>BF){BL.push('<span class="prPageNav">');if(BO>0){BL.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BL.push(BH-1);BL.push(", '");BL.push(Bo);BL.push("', '");BL.push(BQ);BL.push("', '");BL.push(Ba);BL.push("', POWERREVIEWS.common.getOptions('");BL.push(Ba);BL.push('\')); return false;" href="');BL.push(BZ.replace("~~~REVIEW_PAGE~~~",BH-1));BL.push('">&laquo; ');BL.push("Previous");BL.push("</a>");}else{BL.push("Previous");}BL.push(" | ");if(BG<BV-1){BL.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BL.push(BH+1);BL.push(", '");BL.push(Bo);BL.push("', '");BL.push(BQ);BL.push("', '");BL.push(Ba);BL.push("', POWERREVIEWS.common.getOptions('");BL.push(Ba);BL.push('\')); return false;" href="');BL.push(i.replace("~~~REVIEW_PAGE~~~",BH+1));BL.push('">');BL.push("Next");BL.push(" &raquo;</a>");}else{BL.push("Next");}BL.push("</span>");}BL.push("</div>");}for(var Bc=0;Bc<BT.length;Bc++){var BI=BT[Bc];var Bf=null;if(BI.cb){var BE=Aq("pr_badge_table",BU);for(var BX=0;BX<BI.cb.length;BX++){Bf=BE[BI.cb[BX]];if(Bf){break;}}}if(Bf&&Bf.label=="staff-expert"){BL.push('<div class="prReviewWrap prExpert prStaff">');}else{BL.push('<div class="prReviewWrap">');}if(Bf&&Bf.label=="staff-expert"){BL.push('<div class="prExpertHeader">');BL.push("Staff Expert");BL.push(' <span class="prExpertHelp">(<a href="');BL.push(Bb);BL.push('">');BL.push("what's this?");BL.push("</a>)</span></div>");}if(Bk&&BI.pr&&BI.pr.n){BL.push('<p class="prReviewAbout">');BL.push("Review of");BL.push(' <a href="');BL.push(BI.pr.u);BL.push('">');BL.push(BI.pr.n);BL.push("</a></p>");}if(BI.t>0){BL.push('<p class="prReviewHelpfulText">[<span class="prReviewHelpfulCount">');BL.push(BI.v);BL.push(" ");BL.push("of");BL.push(" ");BL.push(BI.t);BL.push("</span> ");BL.push("customers found this review");BL.push(' <span class="prReviewHelpful">');BL.push("helpful");BL.push("</span>]</p>");}BL.push('<div class="prReviewRating"><div class="prStars prStarsSmall" style="background-position: 0px ');BL.push(BI.r*-36);BL.push("px; background-image: url(");BL.push(Bj);BL.push("/engine/images/stars_small");BL.push(".gif");BL.push(')" title="');BL.push(BN[BI.r]);BL.push('">&#160;</div><div class="prReviewRatingHeadline">');BL.push(BI.h);BL.push('</div></div><div class="prReviewAuthor"><span class="prReviewAuthorName">');BL.push("By");BL.push(" <span>");if(!Bk&&BI.pi){var BS=Aq("pr_see_all_reviews_url",BU).replace("~~~MERCHANT_USER_ID~~~",BI.mu);if(BS){BL.push('<a class="prReviewAuthorProfileLnk" href="');BL.push(BS);BL.push('">');BL.push(BI.n);BL.push("</a>");}else{BL.push('<a class="prReviewAuthorProfileLnk" href="#" onclick="POWERREVIEWS.display.showProfile(\'');BL.push(BI.pi);BL.push("', '");BL.push(BI.n);BL.push("', '");BL.push(Bo);BL.push("', '");BL.push(BQ);BL.push("', POWERREVIEWS.common.getOptions('");BL.push(Ba);BL.push("')); return false;\">");BL.push(BI.n);BL.push("</a>");}}else{BL.push(BI.n);}BL.push("</span>");if(Bf&&Bf.label=="staff"){BL.push('<a href="');BL.push(Bb);BL.push('"><img class="prVerified" src="');BL.push(Bj);BL.push("/engine/images/badge_sr_");BL.push(BQ);BL.push(".gif");BL.push('" alt="');BL.push("Staff Reviewer");BL.push('" title="');BL.push("Staff Reviewer");BL.push('"/></a>');}if(BI.m){BL.push('<img class="prSiteMember" src="');BL.push(Bj);BL.push('/engine/images/pixel.gif" alt="');BL.push("Site Member");BL.push('" title="');BL.push("Site Member");BL.push('"/>');}if(!Bf||Bf.label!="staff"){if(BI.o=="e"){BL.push('<a href="');BL.push(Bn);BL.push('"><img class="prVerified" src="');BL.push(Bj);BL.push("/engine/images/badge_vp_");BL.push(BQ);BL.push(".gif");BL.push('" alt="');BL.push("Verified Buyer");BL.push('" title="');BL.push("Verified Buyer");BL.push('"/></a>');}else{if(!false&&!BI.e&&BI.c&&BI.c=="v"){BL.push('<a href="');BL.push(Bn);BL.push('"><img class="prVerified" src="');BL.push(Bj);BL.push("/engine/images/badge_vr_");BL.push(BQ);BL.push(".gif");BL.push('" alt="');BL.push("Verified Reviewer");BL.push('" title="');BL.push("Verified Reviewer");BL.push('"/></a>');}}}BL.push('</span><span class="prReviewAuthorLocation"> ');BL.push("from");BL.push(" <span>");BL.push(BI.w);BL.push('</span></span><span class="prReviewAuthorDate"> ');BL.push("on");BL.push(" <span>");BL.push(BI.d);BL.push('</span></span></div><div class="prReviewPoints">');if(BI.a){for(var BD=0;BD<BI.a.length;BD++){var BM=BI.a[BD];for(var Bh=0;Bh<BM.v.length;Bh++){var Bi=BM.v[Bh];BL.push('<div style="display:block"><div class="prAdditionalRatingName">');BL.push(Bi.n);BL.push(': </div><div class="prAdditionalRatingValue"><div class="prStars prStarsSmall" style="margin-top:5px; background-position: 0px ');BL.push(Bi.v*-36);BL.push("px; background-image: url(");BL.push(Bj);BL.push("/engine/images/stars_small");BL.push(".gif");BL.push(')" title="');BL.push(Bi.d);BL.push('">&#160;</div></div></div>');}}BL.push("<br />");}if(BI.g){for(var BD=0;BD<BI.g.length;BD++){var BM=BI.g[BD];BL.push('<div class="prAttributeGroup"><div class="prReviewKey">');BL.push(BM.n);BL.push(':</div><div class="prReviewValue">');BL.push(BM.v.join(", "));BL.push('</div></div><div class="prAttributeGroupSeparator"></div>');}}if(BI.rp){BL.push('<div class="prAttributeGroup"><div class="prReviewKey">');BL.push("Accessories I Recommend");BL.push(":</div>");var BP=[];for(var Bl=0;Bl<BI.rp.length;Bl++){var Bd=BI.rp[Bl];if(Bd.u){BP[BP.length]='<a href="'+Bd.u+'">'+Bd.n+"</a>";}else{BP[BP.length]=Bd.n;}}BL.push('<div class="prReviewValue">');BL.push(BP.join(", "));BL.push('</div></div><div class="prAttributeGroupSeparator"></div>');}if(BI.sp){BL.push('<div class="prAttributeGroup"><div class="prReviewKey">');BL.push("Similar Products I Own");BL.push(":</div>");var BR=[];for(var Bm=0;Bm<BI.sp.length;Bm++){var BJ=BI.sp[Bm];if(BJ.u){BR[BR.length]='<a href="'+BJ.u+'">'+BJ.n+"</a>";}else{BR[BR.length]=BJ.n;}}BL.push('<div class="prReviewValue">');BL.push(BR.join(", "));BL.push('</div></div><div class="prAttributeGroupSeparator"></div>');}if(BI.x){BL.push('<div class="prReviewKey">');BL.push(BI.x.n);BL.push(':</div><div class="prReviewValue">');BL.push(BI.x.v);BL.push("</div>");}if(BI.b){BL.push('<div class="prReviewKey">');BL.push(BI.b.n);BL.push(':</div><div class="prReviewValue">');BL.push(BI.b.v);BL.push("</div>");}BL.push("</div>");if(BI.tb){BL.push('<div class="prReviewExtraText"> ');for(var BD=0;BD<BI.tb.length;BD++){var BM=BI.tb[BD];BL.push('<div class="prAttributeGroup"><div class="prReviewKey">');BL.push(BM.n);BL.push(':</div><div class="prReviewValue">');BL.push(BM.v);BL.push('</div></div><div class="prAttributeGroupSeparator"></div>');}BL.push("</div> ");}BL.push('<div class="prReviewText">');if(BW){BL.push('<p class="prCommentsHeader"><span class="prStrong">');BL.push("Comments about");BL.push('</span> <span class="prEmphasis">');BL.push(BW);BL.push(":</span></p>");}BL.push('<p class="prComments">');BL.push(A5(BI.p));BL.push("</p></div>");if(BI.z){BL.push('<div class="prServiceCommentsHeader">');BL.push("Service & Delivery comments:");BL.push('</div><p class="prServiceComments">');BL.push(A5(BI.z));BL.push("</p>");}if(BI.i){if(BI.i.t=="i"){BL.push("Images");}else{if(BI.i.t=="v"){BL.push("Videos");}else{BL.push("Images and videos");}}BL.push(" ");BL.push("shared by:");BL.push(" <strong>");BL.push(BI.n);BL.push('</strong><div class="prCustomerPics">');for(var Bg=0;Bg<BI.i.r.length;Bg++){var BK=BI.i.r[Bg];if(Bg==0){BL.push('<div class="prPic prLeft">');}else{BL.push('<div class="prPic">');}if(BK.c){BL.push('<p class="prCaption">');BL.push(BK.c);BL.push("</p>");}else{BL.push('<p class="prCaption"></p>');}if(!BK.v){BL.push('<div class="prPicContent"><div class="wrap1"><div class="wrap2">');if(BK.s){BL.push('<a href="#" onclick="POWERREVIEWS.common.showImagePopup(\'');BL.push(BK.s.u);BL.push("', ");BL.push(BK.s.w);BL.push(", ");BL.push(BK.s.h);BL.push(", POWERREVIEWS.common.getOptions('");BL.push(Ba);BL.push('\')); return false;"><img src="');BL.push(Bj);BL.push("/content");BL.push(BK.h.u);BL.push('" alt="Image Thumbnail" width="');BL.push(BK.h.w);BL.push('" height="');BL.push(BK.h.h);BL.push('" /></a>');}else{BL.push('<img src="');BL.push(Bj);BL.push("/content");BL.push(BK.h.u);BL.push('" alt="Image Thumbnail" width="');BL.push(BK.h.w);BL.push('" height="');BL.push(BK.h.h);BL.push('" />');}BL.push("</div></div></div>");}else{BL.push('<div class="prVidContent"><div class="wrap"><a id="pr_video_thumbnail_container" href="#" onclick="POWERREVIEWS.common.showVideoPopup(\'');BL.push(BK.v);BL.push("', POWERREVIEWS.common.getOptions('");BL.push(Ba);BL.push('\')); return false;"><img id="pr_video_thumbnail" src="');BL.push(BK.h.u);BL.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(BK.g){if(BK.v){BL.push('<p class="prVidTags">');}else{BL.push('<p class="prPicTags">');}BL.push('<span class="prTaglabel">');BL.push("Tags:");BL.push("</span>");BL.push(BK.g.join(", "));BL.push("</p>");}BL.push("</div>");}BL.push("</div>");}if(BI.y){for(var Be=0;Be<BI.y.length;Be++){BL.push('<div class="prMerchantResponse"><strong>');BL.push(An(BU).name);BL.push(" ");BL.push("Response:");BL.push("</strong> ");BL.push(A5(BI.y[Be]));BL.push("</div>");}}if(!Bk){BL.push('<div class="prReviewTools"><span class="prReviewHelpfulText">');BL.push("Was this review helpful to you?");BL.push('&nbsp;<a class="prReviewHelpfulTextLink" href="#" onclick="POWERREVIEWS.display.submitHelpfulVote(\'');BL.push(BI.id);BL.push("', 'helpful', '");BL.push(BQ);BL.push("', POWERREVIEWS.common.getOptions('");BL.push(Ba);BL.push("')); return false;\">");BL.push("Yes");BL.push('</a> / <a class="prReviewHelpfulTextLink" href="#" onclick="POWERREVIEWS.display.submitHelpfulVote(\'');BL.push(BI.id);BL.push("', 'unhelpful', '");BL.push(BQ);BL.push("', POWERREVIEWS.common.getOptions('");BL.push(Ba);BL.push("')); return false;\">");BL.push("No");BL.push('</a></span><span class="prReviewReportIssue"><span class="prReviewReportIssueHyphen">- </span>');BL.push("You may also");BL.push(' <a href="#" class="prReviewHelpfulTextLink" onclick="POWERREVIEWS.display.launchErrorDiv(\'');BL.push(BI.id);BL.push("', '");BL.push(BQ);BL.push("', '");BL.push(Ba);BL.push("', POWERREVIEWS.common.getOptions('");BL.push(Ba);BL.push("')); return false;\">");BL.push("flag this review");BL.push('</a>.</span></div><div class="errorDiv" id="error_div');BL.push(BI.id);BL.push('" style="display:none;padding-left:5px;padding-bottom:5px;"></div><p><strong><div class="prReviewHelpfulText" id="review_feedback');BL.push(BI.id);BL.push('"></div></strong></p>');}BL.push("</div>");}if(!Bk){BL.push('<div class="prPagination"><span class="prPageCount">');if(BO==BG){BL.push("Displaying Review");BL.push(" <strong>");BL.push((BO+1));BL.push(" </strong>");}else{BL.push("Displaying Reviews");BL.push(" <strong>");BL.push((BO+1));BL.push("-");BL.push((BG+1));BL.push(" </strong>");}BL.push("of");BL.push(" ");BL.push(BV);BL.push('</span><span class="prNavBackToTopTop"><a href="');BL.push(BY);BL.push('">');BL.push("Back to Top");BL.push("</a></span>");if(BV>BF){BL.push('<span class="prPageNav">');if(BO>0){BL.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BL.push(BH-1);BL.push(", '");BL.push(Bo);BL.push("', '");BL.push(BQ);BL.push("', '");BL.push(Ba);BL.push("', POWERREVIEWS.common.getOptions('");BL.push(Ba);BL.push("')); location.hash = '#ReviewHeader'; return false;\" href=\"");BL.push(BZ.replace("~~~REVIEW_PAGE~~~",BH-1));BL.push('">&laquo; ');BL.push("Previous");BL.push("</a>");}else{BL.push("Previous");}BL.push(" | ");if(BG<BV-1){BL.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BL.push(BH+1);BL.push(", '");BL.push(Bo);BL.push("', '");BL.push(BQ);BL.push("', '");BL.push(Ba);BL.push("', POWERREVIEWS.common.getOptions('");BL.push(Ba);BL.push("')); location.hash = '#ReviewHeader'; return false;\" href=\"");BL.push(i.replace("~~~REVIEW_PAGE~~~",BH+1));BL.push('">');BL.push("Next");BL.push(" &raquo;</a>");}else{BL.push("Next");}BL.push("</span>");}BL.push("</div>");}BL.push("<!-- garby -->");return BL.join("");}A6.display.processReviewsTemplate=h;function AK(BF,BE,BD,BG){var i=[];i.push('<div class="prReportIssueHeader"><span class="prReportIssueText">');i.push("<br></span></div>");i.push("Please let us know what kind of issue this is:");i.push('<br><input type="radio" name="error_radio');i.push(BF);i.push('" value="profane">');i.push("Profanity");i.push('<br><input type="radio" name="error_radio');i.push(BF);i.push('" value="wrong_product">');i.push("Wrong product");i.push('<br><input type="radio" name="error_radio');i.push(BF);i.push('" value="spam">');i.push("Spam");i.push('<br><input type="radio" name="error_radio');i.push(BF);i.push('" value="duplicate">');i.push("Duplicate");i.push('<br><input type="radio" name="error_radio');i.push(BF);i.push('" value="copyright">');i.push("Copyright violation");i.push('<br><input type="radio" name="error_radio');i.push(BF);i.push('" value="not_review">');i.push("Not a product review");i.push('<br><input type="radio" name="error_radio');i.push(BF);i.push('" value="customer_image">');i.push("Customer image");i.push('<br><input type="radio" name="error_radio');i.push(BF);i.push('" value="customer_image">');i.push("Problem with image");i.push('<br><input type="radio" name="error_radio');i.push(BF);i.push('" value="other" checked="1">');i.push("Other");i.push("<br>");i.push("Email Address:");i.push('<br><input type="text" id="error_contact_email');i.push(BF);i.push('" cols="20" maxlength="80"><br><div class="prIssueSubtext">');i.push("</div>");i.push("Comments:");i.push('<br><textarea id="error_comments');i.push(BF);i.push('" cols="30" rows="3"></textarea><br><a href="#"><img src="');i.push(AH(BG));i.push("/engine/images/submit_button_");i.push(BE);i.push(".gif");i.push('" style="padding-top:3px;" onclick="POWERREVIEWS.display.submitError(\'');i.push(BF);i.push("', '");i.push(BE);i.push("', POWERREVIEWS.common.getOptions('");i.push(BD);i.push('\')); return false;" border="0"></a>');return i.join("");}A6.display.processErrorDivTemplate=AK;function Ai(BF,BD,BE){var i=[];i.push("<!-- nice try -->");return i.join("");}function Aa(BF,BD,BE){var i=[];i.push("<!-- nice try -->");return i.join("");}var As=0;function U(BE,BG){if(BA(BE,BG)){var BF=Ah(Aq("pr_page_id",BG));var BD=Aq("pr_locale",BG);var BI="prSnippet"+BF;var i=false;if(document.getElementById(BI)){AJ(BF,BD,BI,BG);}else{var BH="prSnippet"+BF+"_"+(As++);BE.write('<div id="'+BH+'" class="prSnippetEngine"></div>');AJ(BF,BD,BH,i,BG);}}}A6.display.snippet=U;window.snippet=U;function AJ(BE,BD,BG,i,BF){p(BE,BD,function(BK){var BH=Aq("pr_snippet_min_reviews",BF);var BJ=0;var BI=0;if(BK&&BK.reviews){BJ=BK.reviews.review_count;BI=BK.reviews.avg;}if(BH<=BJ){AZ(BG,A0(BE,BJ,BI,BD,i,BF));}},BF);}function A0(BK,i,BJ,BO,BP,BD){var BI=[];var BE=Aj(Aq("pr_page_id",BD),BD);var BM=A8(BJ);var BV=Math.round(BM);var BF="";var BT="";var BQ=Aq("pr_snippet_star_click",BD);if(BQ){BF="cursor:pointer;";BT='onclick="'+BQ+'"';}var BU=["Got it? Rate it.","Not Good","Needs That Special Something","Average, Ordinary","That's Good Stuff","Perfect. It doesn't get any better"];var BL="Rating";var BS="Review";if((i==0&&BO.substring(0,2)!="fr")||i>1){BL="Ratings";BS="Reviews";}var BG="";if(i>0){BG="";}var BR="star";if((BJ==0&&BO.substring(0,2)!="fr")||BJ>1){BR="stars";}var BN=Aq("pr_facebook_like_button_url",BD);if(BN==null){BN=document.URL;}BN=t(BN);if(BN==""){BP=false;}var BH=window.location.protocol;BI.push('<div class="prSnippetTitle">');BI.push("Product Rating");BI.push('</div><div class="prSnippetRatingUnclickable"><div class="prStars prStarsSmall" style="padding: 0; background-position: 0px ');BI.push(BM*-36);BI.push("px; ");BI.push(BF);BI.push(" background-image: url(");BI.push(AH(BD)+"/engine/images/stars_small.gif");BI.push(')" ');BI.push(BT);BI.push(' title="');BI.push(BU[BV]);BI.push('">&#160;</div><div class="prSnippetRatingDecimal">');BI.push(BJ);BI.push(" ");BI.push(BR);BI.push('</div><div class="prSnippetNumberOfRatingsText">&nbsp;(');BI.push(i);BI.push(" ");BI.push(BL);BI.push(")</div></div>");if(BE){BI.push('<div class="prSnippetWriteReview">');BI.push(BG);BI.push(' <a class="prSnippetLink" href="');BI.push(BE);BI.push('">');BI.push("Write a Review");BI.push("</a></div>");}if(i>0){BI.push('<div class="prSnippetReadReviews"><a class="prSnippetLink" href="');BI.push(Aq("pr_read_review",BD));BI.push('">');BI.push("Read");BI.push(" ");BI.push(i);BI.push(" ");BI.push(BS);BI.push("</a></div>");}if(BP){BI.push('<div class="prFacebookLikeSnippet"><iframe src="');BI.push(BH);BI.push("//www.facebook.com/plugins/like.php?href=");BI.push(BN);BI.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>');}BI.push("<!-- hrm -->");return BI.join("");}var e=0;function f(BD,BF){if(BA(BD,BF)){var BE=Ah(Aq("pr_page_id",BF));var i=Aq("pr_locale",BF);var BH="pr-summary-snippet-"+BE;if(document.getElementById(BH)){At(BE,i,BH,BF);}else{var BG="pr-summary-snippet-"+BE+"-"+(e++);BD.write('<div id="'+BG+'" class="pr-summary-snippet"></div>');At(BE,i,BG,BF);}}}A6.display.summarySnippet=f;function At(BD,i,BF,BE){p(BD,i,function(BI){var BG=Aq("pr_snippet_min_reviews",BE);var BH=0;if(BI&&BI.reviews){BH=BI.reviews.review_count;if(BG<=BH){w(AH(BE)+"/content/"+X(BD)+"/"+BD+"-"+i+"-rollup.js",null,function(BJ){if(BJ.rollup){AZ(BF,E(BJ.rollup,BD,i,BE));}},BE);}}},BE);}function E(BG,BE,BD,BF){var i=[];i.push("<!-- nice try -->");return i.join("");}var A9="prReviewTeaser";var K="prReviewTeaserEngine";function H(i,BD){if(BA(i,BD)){if(!document.getElementById(A9)){i.write('<div id="'+A9+'" class="'+K+'"></div>');}Al(Ah(Aq("pr_page_id",BD)),Aq("pr_locale",BD),BD);}}A6.display.teaserReview=H;window.teaserReview=H;function Al(BD,i,BE){p(BD,i,function(BF){if(BF&&BF.reviews&&BF.reviews.review_count>0){w(AH(BE)+"/content/"+X(BD)+"/"+BD+"-"+i+"-teaser.js",null,function(BG){if(BG&&BG.teasers){AZ(A9,P(BG.teasers,i,BE));}},BE);}},BE);}function P(BH,BD,BE){var i=[];i.push('<div class="prTeaserReviewHeading">');i.push("Customer reviews");i.push('</div><div class="prTeaserReviewSubHeading">');i.push("Showing most recent reviews");i.push("</div>");for(var BG=0;BG<BH.length;BG++){var BF=BH[BG];i.push('<div class="prTeaserReview"><div class="prTeaserContents">');i.push(BF.c);i.push('</div><div class="prTeaserFrom">');i.push(BF.n);i.push(" - <span>");i.push(BF.d);i.push("</span></div></div>");}i.push("<!-- janky -->");return i.join("");}return A6;})();var SHOPZILLAREVIEWS=POWERREVIEWS;