var POWERREVIEWS=POWERREVIEWS||(function(){var BA={common:{},display:{}};var AV=false;var AX=false;var b=null;var AQ={};var z={};var Ao={};var Aa={};BA.common.gResult=Aa;window.gResult=Aa;var Au={};var v=encodeURIComponent||escape;var AI="prBaseStylesheet";var An="prMerchantOverrideStylesheet";var x={"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 AK={pr_merchant_table:{"m2543":{"name":"My Favorite Baby Carrier","cobranded":"true"}},pr_merchant_id:2543,pr_locale:"en_US",pr_read_review:"#ReviewHeader",pr_read_qa:"#QAHeader",pr_write_review:"http://www.myfavoritebabycarrier.com/review.html?pr_page_id=~~~PAGE_ID~~~",pr_ask_question:"",pr_answer_question:"",pr_js_controller_url:"http://services.powerreviews.com/JSController.do",pr_reviews_per_page:5,pr_zip_location:"http://cdn.powerreviews.com/repos/12091/pr",pr_powerreviews_root:"pwr",pr_allow_engine_css_override:true,pr_style_sheet:"",pr_analytics_script_src:"",pr_analytics_account:"",pr_badge_definitions_url:"javascript:POWERREVIEWS.common.showSmallPopup('http://www.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_base_services_url:"http://services.powerreviews.com/",pr_resize_url:"http://www.myfavoritebabycarrier.com/resize.html",pr_snippet_min_reviews:0,pr_source:"web",pr_image_snippet_show_image:U,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_overwrite_inline_content:false,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 Az={};if(window&&window.location&&window.location.search){var AH=window.location.search.substring(1).split("&");for(var AE=0,Ag=AH.length;AE<Ag;++AE){var AC=AH[AE].split("=");Az[AC[0]]=AC[1];}}function A6(BJ){for(var BK=1,BI=arguments.length;BK<BI;++BK){var BL=arguments[BK];if(BL){var BH=BL[BJ];if(typeof BH!="undefined"){return BH;}}}return null;}function At(BI,BH){var i=A6(BI,BH,Az,window,AK);if("pr_locale"==BI&&"3498"==At("pr_merchant_id",BH)){if(i=="en"){i="en_CA";}else{if(i=="fr"){i="fr_CA";}}}return i;}BA.common.get=At;function W(BL){var BK=0;var BJ;for(BJ=0;BJ<BL.length;BJ++){var BI=BL.charCodeAt(BJ);BI=BI*Math.abs(255-BI);BK+=BI;}BK=BK%1023;BK=BK+"";var BM=4;var BH=BK.split("");for(BJ=0;BJ<BM-BK.length;BJ++){BH.unshift("0");}BK=BH.join("");BK=BK.substring(0,BM/2)+"/"+BK.substring(BM/2,BM);return BK;}function BE(i,BI){if(AV){return true;}else{if(!Aq(BI)){return false;}}AV=true;if(!document.getElementById(AI)){i.write('<link rel="stylesheet" href="'+AJ(BI)+'/engine/pr_styles_review.css" type="text/css" id="'+AI+'">\n');}var BJ=AJ(BI)+"/engine/merchant_styles2.css";var BH=A0(At("pr_style_sheet",BI));if(At("pr_allow_engine_css_override",BI)&&BH){BJ=BH;}if(!document.getElementById(An)){i.write('<link rel="stylesheet" href="'+BJ+'" type="text/css" id="'+An+'">\n');}AP(AJ(BI)+"/engine/images/ph.gif?r="+Math.floor(Math.random()*10000));return true;}function Aq(i){if(AX){return true;}else{if(!At("pr_page_id",i)&&!At("pr_merchant_user_id",i)){return false;}}AX=true;return true;}function Ac(i,BH,BI){if(!document.getElementById(i)){setTimeout(function(){Ac(i,BH,BI);},1000);}else{A(i,BH,BI);}}function A(i,BI,BJ){try{if(!BI){BI="";}AN(function(){AD(document.getElementById(i),BI);if(BJ){BJ();}});}catch(BH){}}function AD(BI,BH){if(BI.parentNode){var i=document.createElement("div");i.id=BI.id;i.className=BI.className;i.innerHTML=BH;BI.parentNode.replaceChild(i,BI);return i;}else{BI.innerHTML=BH;return BI;}}function AN(i){if(typeof i=="function"){(function(){if(BB()){try{document.documentElement.doScroll("left");}catch(BH){setTimeout(arguments.callee,50);return ;}}i();i=null;})();}}function BB(){return typeof document.all!="undefined"&&typeof window.opera=="undefined"&&!(navigator.vendor=="KDE");}function AP(i){new Image().src=i;}function AJ(BH){var i=At("pr_zip_location",BH);if(i.charAt(i.length-1)!="/"){i+="/";}i+=At("pr_powerreviews_root",BH);return i;}BA.common.getDocRoot=AJ;function Ak(i){return i.replace(/\W/g,"__");}function j(BH,BJ,BI,i){this.pageId=BH;this.fullReviewCount=BJ;this.quickReviewCount=BI;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(BH,i,BI){return BI&&BI["locales"]&&BI["locales"][i]&&BI["locales"][i]["p"+BH];}function I(BI){var BJ=document.getElementsByName(BI);for(var BH=0;BH<BJ.length;BH++){if(BJ[BH].checked){return BJ[BH].value;}}return null;}function AZ(i,BI,BH){return i.replace(new RegExp(BI,"g"),BH);}function A0(i){return i&&i.replace(/^\s+|\s+$/g,"");}function A9(i){if(typeof i=="string"){return i.replace(/\n/g,"<br />");}else{return i;}}function y(BI,BJ,BM,BH){var BK=AJ(BH);var BJ=BJ||BI.substring(BI.indexOf(BK)+BK.length+1);if(Aa[BJ]){BM(Aa[BJ]);}else{var i=document.createElement("script");var BL=function(){if(Aa[BJ]){if(i.parentNode){i.parentNode.removeChild(i);delete i;}BM(Aa[BJ]);}};if(BB()){i.onreadystatechange=BL;}else{i.onload=BL;}i.type="text/javascript";i.charset="utf-8";i.src=BI;document.getElementsByTagName("head")[0].appendChild(i);}}function L(BL,BM,BH){if(BL.className){var BI=BL.className.split(" ");if(BH){var BK=BM.toUpperCase();for(var BJ=0;BJ<BI.length;BJ++){if(BI[BJ].toUpperCase()==BK){BI.splice(BJ,1);BJ--;}}}BI[BI.length]=BM;BL.className=BI.join(" ");}else{BL.className=BM;}}function AT(BK,BL){if(BK.className){var BH=BK.className.split(" ");var BJ=BL.toUpperCase();for(var BI=0;BI<BH.length;BI++){if(BH[BI].toUpperCase()==BJ){BH.splice(BI,1);BI--;}}BK.className=BH.join(" ");}}function S(BO,BP,BQ){var BM=(BP=="*"&&BO.all)?BO.all:BO.getElementsByTagName(BP);var BL=new Array();var BR=new Array();if(typeof BQ=="object"){for(var BK=0;BK<BQ.length;BK++){BR.push(new RegExp("(^|\\s)"+BQ[BK].replace(/\-/g,"\\-")+"(\\s|$)"));}}else{BR.push(new RegExp("(^|\\s)"+BQ.replace(/\-/g,"\\-")+"(\\s|$)"));}var BH;var BN;for(var BJ=0;BJ<BM.length;BJ++){BH=BM[BJ];BN=true;for(var BI=0;BI<BR.length;BI++){if(!BR[BI].test(BH.className)){BN=false;break;}}if(BN){BL.push(BH);}}return BL;}function Aj(BH,i){if(i(BH)==true){return BH;}else{if(BH.parentNode){return arguments.callee(BH.parentNode,i);}else{return false;}}}function Ah(BH,i){Au[BH]=i;}function g(i){return Au[i];}BA.common.getOptions=g;function p(BH,i,BK,BI){var BJ=AQ[BH];if(!BJ){y(AJ(BI)+"/content/"+W(BH)+"/contents.js",null,function(BL){BJ=AY(BH,i,BL);AQ[BH]=BJ?BJ:"none";BK(BJ);},BI);}else{if(BJ=="none"){BK(null);}else{BK(BJ);}}}function A1(BH,i,BJ,BI){if(!b){y(AJ(BI)+"/content/"+W(BH)+"/"+BH+"-"+i+"-meta.js",null,function(BK){b=BK?BK.metadata:null;BJ();},BI);}else{BJ();}}function d(BH,i,BK,BL,BJ){if(!z[BH+"-"+BK]){var BI=AJ(BJ)+"/content/"+W(BH)+"/"+BH+"-"+i+"-"+BK+"-reviews.js";y(BI,null,function(BP){var BN=[];for(var BO=0;BO<BP.length;BO++){var BM=BP[BO].r;Ao[BM.id]=BM;BN.push(BM);}z[BH+"-"+BK]=BN;BL();},BJ);}else{BL();}}function B(BI,BH,BM,BN,BJ){var BL=BM.length;for(var BK=0;BK<BM.length;BK++){d(BI,BH,BM[BK],function(){if(--BL<=0){BN();}},BJ);}}function BC(i){return Math.round(i*2)/2;}function s(BK,BH){var BJ=At("pr_base_services_url",BH);var i=BJ+"FacebookDisplayProfileController.dox";var BI=AR(BK);if(BI.length){i+="?"+BI;}return i;}function q(BK,BH){var BJ=At("pr_base_services_url",BH);var i=BJ+"FacebookReviewStatementController.dox?context=STATEMENT";var BI=AR(BK);if(BI.length){i+="&"+BI;}return i;}function AR(BH){var i=[];for(var BI in BH){i.push(BI+"="+v(BH[BI]));}return i.join("&");}function U(BI,BJ,i,BH){window.open("http://images2.powerreviews.com/media_popup.html?type=image&url="+v(BI),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width="+BJ+",height="+i+",top=100,left=100");}BA.common.showImagePopup=U;function Ar(i,BO,BH,BL){var BJ={"toolbar":"no","directories":"no","status":"no","menubar":"no","scrollbars":"yes","resizable":"yes","location":"yes","top":"200","left":"200"};var BM=[];for(var BI in BJ){BM.push(BI+"="+((BL&&BL[BI])||BJ[BI]));}var BK=BM.join(",");var BN=window.open(i,"smallWindow","width="+BH+",height="+BO+","+BK);if(window.focus){BN.focus();}}BA.common.showSmallPopup=Ar;function Ae(BH,i){window.open("http://images2.powerreviews.com/media_popup.html?type=video&url="+v(BH),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width=435,height=350,top=100,left=100");}BA.common.showVideoPopup=Ae;function K(BK,BI,BH,BJ){var i=function(){AT(document.getElementById(BK.target),"pr-open");L(document.getElementById(BK.target),"pr-closed");};var BL=function(){AT(document.getElementById(BK.target),"pr-closed");L(document.getElementById(BK.target),"pr-open");};if(window.event){BJ=window.event;BJ.cancelBubble=true;target=window.event.srcElement;currentTarget=event.srcElement.id;}else{if(BJ){BJ.stopPropagation();target=BJ.target;currentTarget=BJ.currentTarget.id;}else{return ;}}if(BI=="show"){if(document.getElementById(BK.target).className!="pr-open"){this.timedShow=setTimeout(BL,400);}else{if(Aj(target,function(BM){if(BM.id==BK.target){return true;}})){if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}else{if(BI=="hide"){if(this.timedHide!=null){window.clearTimeout(this.timedShow);}if(currentTarget==BK.link||currentTarget==BK.target||Aj(target,function(BM){if(BM.id==BK.target){return true;}})){this.timedHide=setTimeout(i,800);}else{if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}}BA.common.togglePopOut=K;function n(BJ,BK,BI,i){var BH=BJ.substring(BK,BI);if(i){BH+="...";}return BH;}function BF(i,BI){var BH=document.getElementById(BI).innerHTML;Ac(i,BH);}var A7={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(BJ){var BH="";var BQ,BO,BM,BP,BN,BL,BK;var BI=0;BJ=A7._utf8_encode(BJ);while(BI<BJ.length){BQ=BJ.charCodeAt(BI++);BO=BJ.charCodeAt(BI++);BM=BJ.charCodeAt(BI++);BP=BQ>>2;BN=((BQ&3)<<4)|(BO>>4);BL=((BO&15)<<2)|(BM>>6);BK=BM&63;if(isNaN(BO)){BL=BK=64;}else{if(isNaN(BM)){BK=64;}}BH=BH+this._keyStr.charAt(BP)+this._keyStr.charAt(BN)+this._keyStr.charAt(BL)+this._keyStr.charAt(BK);}return BH;},decode:function(BJ){var BH="";var BQ,BO,BM;var BP,BN,BL,BK;var BI=0;BJ=BJ.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(BI<BJ.length){BP=this._keyStr.indexOf(BJ.charAt(BI++));BN=this._keyStr.indexOf(BJ.charAt(BI++));BL=this._keyStr.indexOf(BJ.charAt(BI++));BK=this._keyStr.indexOf(BJ.charAt(BI++));BQ=(BP<<2)|(BN>>4);BO=((BN&15)<<4)|(BL>>2);BM=((BL&3)<<6)|BK;BH=BH+String.fromCharCode(BQ);if(BL!=64){BH=BH+String.fromCharCode(BO);}if(BK!=64){BH=BH+String.fromCharCode(BM);}}BH=A7._utf8_decode(BH);return BH;},_utf8_encode:function(BH){BH=BH.replace(/\r\n/g,"\n");var i="";for(var BJ=0;BJ<BH.length;BJ++){var BI=BH.charCodeAt(BJ);if(BI<128){i+=String.fromCharCode(BI);}else{if((BI>127)&&(BI<2048)){i+=String.fromCharCode((BI>>6)|192);i+=String.fromCharCode((BI&63)|128);}else{i+=String.fromCharCode((BI>>12)|224);i+=String.fromCharCode(((BI>>6)&63)|128);i+=String.fromCharCode((BI&63)|128);}}}return i;},_utf8_decode:function(BH){var BI="";var BK=0;var BL=0;var BJ=0;while(BK<BH.length){BL=BH.charCodeAt(BK);if(BL<128){BI+=String.fromCharCode(BL);BK++;}else{if((BL>191)&&(BL<224)){BJ=BH.charCodeAt(BK+1);BI+=String.fromCharCode(((BL&31)<<6)|(BJ&63));BK+=2;}else{BJ=BH.charCodeAt(BK+1);c3=BH.charCodeAt(BK+2);BI+=String.fromCharCode(((BL&15)<<12)|((BJ&63)<<6)|(c3&63));BK+=3;}}}return BI;}};var V={};var l=0;var a=1;var BG=2;var Ay=3;var t=4;var P=5;var AB=null;var AS=new Date();var F={};var A2={};var AG=[];function Ap(i){return At("pr_merchant_table",i)["m"+At("pr_merchant_id",i)];}function AF(i,BH){var BI=At("pr_analytics_script_src",BH);if(BI){i.write('<script src="'+BI+'" type="text/javascript"><\/script>');}}function D(BN,BO){if(BE(BN,BO)){var BI=At("pr_page_id",BO);var BL=Ak(BI);var BM=At("pr_locale",BO);var BK="engine-"+BL+"-"+BM;Ah(BK,BO);var BJ=document.getElementById("pr-review-engine-"+BL);if(!BJ){A4(BN,BL);}AF(BN,BO);if(!BJ||At("pr_overwrite_inline_content",BO)){R(BL,BM,BK,BO,function(){Q(BL);});}var i=function(){var BR=document.getElementById("writeReview")||document.getElementById("write-review-"+BL);if(BR){var BP=Am(BI,BO);if(BP){BR.href=BP;var BQ=document.getElementById("pr-snapshot-footer-"+BL);if(BQ){BQ.style.display="";}}}else{setTimeout(i,100);}};i();r(BL,BM,BO);var BH=At("pr_highlight_review_id",BO);if(BH){AU(BH,BL,BM,BK,BO);}}}BA.display.engine=D;function AU(BJ,BI,BH,i,BK){Ax(BJ,function(BL){if(BL&&"Rejected"!=BL.s1&&"Rejected"!=BL.s2){Ac("pr-modal-"+BI,Ai(BL,BI,BH,i,BK),function(){Ab(BI);});}},BK);}function Ax(i,BI,BH){y(At("pr_highlight_review_url").replace("~~~REVIEW_ID~~~",i),"highlight-"+i,function(BJ){BI(BJ&&BJ.r);},BH);}function Ai(BI,BJ,BH,i,BK){return("Pending"==BI.s1||"Pending"==BI.s2?"<h2>This review is pending moderation</h2>":"")+h([BI],BJ,BH,null,1,1000,1,"","",true,i,BK);}function Am(i,BH){return AZ(At("pr_write_review",BH),"~~~PAGE_ID~~~",i);}function A4(i,BH){i.write('<div id="pr-review-engine-'+BH+'" class="pr-review-engine"><div id="pr-header-'+BH+'" class="pr-header"></div><div id="pr-contents-'+BH+'" class="pr-contents"></div></div>');}function Q(BH){var BI=document.getElementById("pr-review-engine-screen-"+BH);if(BI&&BI.parentNode){BI.parentNode.removeChild(BI);}var i=document.getElementById("pr-review-engine-"+BH);if(i){AT(i,"pr-review-engine-screened");}}function u(BJ,BH){var BI=A0(At("pr_analytics_account",BH));if(window.urchinTracker&&BI){var i="";var BK=typeof _uacct!="undefined";if(BK){i=_uacct;}_uacct=BI;urchinTracker("/product_with_"+BJ+"_reviews");if(BK){_uacct=i;}}}function R(BI,BH,i,BJ,BK){p(BI,BH,function(BN){var BM=(BN&&BN.reviews&&BN.reviews.review_count)||0;var BP=(BN&&BN.reviews&&BN.reviews.review_ratings)||[0,0,0,0,0];var BL;var BO=function(){if(--BL<=0){BK();}};if(BM>0){BL=2;o(BI,BH,BM,BP,i,BJ,BO);Y(1,BI,BH,i,BJ,BO);}else{BL=1;o(BI,BH,BM,BP,i,BJ,BO);}},BJ);}function r(BH,i,BI){p(BH,i,function(BK){var BJ=0;var BL=0;if(BK&&BK.reviews){BJ=BK.reviews.review_count;BL=BK.reviews.avg;}AO("main",new j(BH,BJ,0,BC(BL)));window.setTimeout(function(){u(BJ,BI);},2000);},BI);}function N(BL,BI,BH,i,BJ){var BK=new Date();if(BK.getTime()-AS.getTime()>1000){AS=BK;A1(BI,BH,function(){Z(BL.selectedIndex,BI);A8(1,BI,BH,i,BJ);},BJ);}}BA.display.startSort=N;function Z(BI,i){b.sort(V[BI]);AB=BI;var BH=document.getElementById("pr-header-"+i);if(BH){BH.focus();}}function J(BH,i){if(BH.oid&&i.oid){return i.oid-BH.oid;}return i.rid-BH.rid;}V[l]=function(BH,i){if(BH.date==i.date){return J(BH,i);}return i.date-BH.date;};V[a]=function(BH,i){if(i.date==BH.date){return J(i,BH);}return BH.date-i.date;};V[BG]=function(BH,i){if(i.rating==BH.rating){return J(BH,i);}return i.rating-BH.rating;};V[Ay]=function(BH,i){if(i.rating==BH.rating){return J(i,BH);}return BH.rating-i.rating;};V[t]=function(BH,i){if(i.helpfulScore==BH.helpfulScore){return J(BH,i);}return i.helpfulScore-BH.helpfulScore;};V[P]=function(BH,i){if(i.helpfulScore==BH.helpfulScore){return J(i,BH);}return BH.helpfulScore-i.helpfulScore;};function Y(BK,BI,BH,i,BJ,BL){p(BI,BH,function(BM){var BN=[BK];B(BI,BH,BN,function(){var BO=0;if(BM.reviews){BO=BM.reviews.review_count;}Ac("pr-contents-"+BI,h(z[BI+"-"+BK],BI,BH,BM.name,BO,At("pr_reviews_per_page",BJ),1,"#pr-header-"+BI,"#pr-header-"+BI,false,i,BJ),BL);},BJ);},BJ);}function A8(BK,BI,BH,i,BJ){A1(BI,BH,function(){if(AB==null){Z(t,BI);}p(BI,BH,function(BO){var BM=At("pr_reviews_per_page",BJ);var BS=(BK-1)*BM;var BQ=BS+BM-1;if(BQ>BO.reviews.review_count-1){BQ=BO.reviews.review_count-1;}var BR=[];var BP={};for(var BN=BS;BN<=BQ;BN++){var BL=b[BN].batch;if(!BP[BL]){BR.push(BL);BP[BL]=true;}}B(BI,BH,BR,function(){var BU=[];for(var BT=BS;BT<=BQ;BT++){BU.push(Ao[b[BT].rid]);}Ac("pr-contents-"+Ak(BI),h(BU,BI,BH,BO.name,BO.reviews.review_count,BM,BK,"#pr-header-"+BI,"#pr-header-"+BI,false,i,BJ));},BJ);},BJ);},BJ);}BA.display.getReviewsFromMeta=A8;function o(BI,BH,BK,BL,i,BJ,BM){if(BK>0){y(AJ(BJ)+"/content/"+W(BI)+"/"+BI+"-"+BH+"-rollup.js",null,function(BN){if(BN.rollup){Ac("pr-header-"+BI,C(BK,BL,BN.rollup,BI,BH,i,BJ),BM);}},BJ);}else{Ac("pr-header-"+BI,C(BK,BL,null,BI,BH,i,BJ),BM);}}function k(BH,BJ,i,BI){var BK="Thank you for your feedback.  Please note that only your first vote will be counted.";if(!F[BH]||F[BH]=="undefined"){AP(At("pr_js_controller_url",BI)+"?command=helpfulVote&reviewId="+BH+"&voteType="+BJ);F[BH]=1;}else{BK="You may only submit one vote per review.";}Ac("review_feedback"+BH,BK);}BA.display.submitHelpfulVote=k;function AA(BI,BH,i,BJ){if(!A2[BI]||A2[BI]=="undefined"){var BK=document.getElementById("error_div"+BI);BK.innerHTML=AM(BI,BH,i,BJ);document.getElementById("error_div"+BI).style.display="block";}else{Ac("review_feedback"+BI,"You have already notified us of an error for this review.");}}BA.display.launchErrorDiv=AA;function Af(i){document.getElementById("error_div"+i).style.display="none";}function O(BH,i,BJ){var BL=I("error_radio"+BH);var BN=document.getElementById("error_comments"+BH).value;BN=BN.substring(0,256);var BI=A0(document.getElementById("error_contact_email"+BH).value);var BM=document.location.href;if(BM&&typeof BM!="undefined"){var BK=BM.split("/",4)[2];BN+="\n["+BK+"]";}if(!/.+@.+/.test(BI)){alert("Email Address is required when flagging a review");}else{if(!BL){alert("Please select the reason you are flagging this review");}else{AP(At("pr_js_controller_url",BJ)+"?command=helpfulVote&reviewId="+BH+"&merchantId="+At("pr_merchant_id",BJ)+"&voteType="+BL+"&errorComments="+v(BN)+"&errorContactEmail="+v(BI));Ac("review_feedback"+BH,"Thank you for notifying us of this error.");F[BH]=1;A2[BH]=1;Af(BH);}}}BA.display.submitError=O;function As(i){Af(i);}BA.display.cancelError=As;function w(BJ,BI){if(typeof BJ=="function"&&Aq(BI)){var BH=At("pr_page_id",BI);var i=Ak(BH);p(i,At("pr_locale",BI),function(BK){if(BK&&BK.reviews){BJ(new j(BH,BK.reviews.review_count,0,BC(BK.reviews.avg)));}else{BJ(new j(BH,0,0,0));}},BI);}}BA.display.prData=w;function m(i){AG.push(i);}BA.display.registerCallback=m;function G(){return{"offsetY":document.body.scrollTop||document.documentElement.scrollTop,"viewportWidth":document.getElementsByTagName("body")[0].clientWidth};}function Ab(i){c(i);var BH=document.getElementById("pr-modal-container-"+i);document.getElementsByTagName("body")[0].appendChild(BH);var BI=G();BH.style.left=((BI.viewportWidth-BH.offsetWidth)/2)+"px";BH.style.top=(BI.offsetY+100)+"px";AT(BH,"pr-hidden");}function AW(i){L(document.getElementById("pr-modal-container-"+i),"pr-hidden");}BA.display.hideModal=AW;function c(i){var BH=document.getElementById("pr-modal-container-"+i);var BI=S(document,"div","pr-modal-wrapper");BH.style.height="422px";BH.style.width="";BI[0].style.height="380px";}function A5(BI,BK){BF("pr-modal-"+BI,BK);var BH=document.getElementById("pr-modal-container-"+BI);var BJ=S(document,"div","pr-modal-wrapper")[0];var i=S(document,"div","pr-review-faceoff-review-wrapper")[0];BH.style.width=(i.scrollWidth-20)+"px";BH.style.height=(i.offsetHeight+47)+"px";BJ.style.width="auto";BJ.style.height=(i.offsetHeight+5)+"px";BH.style.left=(i.offsetLeft+10)+"px";BH.style.top=(i.offsetTop-40)+"px";AT(BH,"pr-hidden");}BA.display.displayFaceoffModal=A5;function AO(BJ,BI){for(var BH=0;BH<AG.length;BH++){AG[BH](BJ,BI);}}function M(BJ){var BH={canonicalGroupSet:{},histogramDisplayGroupList:[],subratingsGroupList:[],otherGroupList:[]};if(BJ){if(BJ.g){for(var BI=0;BI<BJ.g.length;BI++){var BK=BJ.g[BI];if(BK.k=="pros"||BK.k=="cons"||BK.k=="bestuses"){BH.canonicalGroupSet[BK.k]=BK;}else{if(BK.a){BH.histogramDisplayGroupList.push(BK);}else{BH.otherGroupList.push(BK);}}}}BH.subratingGroupList=BJ.ar||[];}return BH;}function X(BK,BH){var i=null;if(BK){var BI=At("pr_badge_table",BH);for(var BJ=0;BJ<BK.length;BJ++){i=BI[BK[BJ]];if(i){break;}}}return i;}function C(i,BM,BY,BR,BW,BZ,BI){var BO=[];var BV=AJ(BI);var BX={describeyourself:"Reviewer Profile"};var BU=M(BY);var BN=BU.canonicalGroupSet;var BS=BU.histogramDisplayGroupList;var BJ=BU.subratingGroupList;var BK=BU.otherGroupList;var BQ=0;for(AE=0;AE<BM.length;AE++){BQ=(BM[AE]+BQ);}BO.push('<div class="pr-snapshot"><a name="ReviewHeader"></a><div class="pr-snapshot-head"><div class="pr-snapshot-head-wrapper"><p class="pr-snapshot-title">');BO.push("REVIEW SNAPSHOT&reg;");BO.push('</p><a href="#" class="pr-snapshot-cobrand" onclick="POWERREVIEWS.common.showSmallPopup(\'');BO.push("http://www.powerreviews.com/legal/index_prx_en_US.html");BO.push("', 480, 430); return false;\">");BO.push("by PowerReviews Express");BO.push('</a></div></div><div class="pr-clear"></div><div class="pr-snapshot-body"><div class="pr-snapshot-body-wrapper">');if(i>0){BO.push('<div class="pr-snapshot-rating-wrapper">                                        <div class="pr-snapshot-rating"><div class="pr-stars ');BO.push(x[BY.a].large);BO.push('" style="background-position: 0px ');BO.push(BY.a*-46);BO.push('px;">&nbsp;</div><span class="pr-rating pr-rounded">');BO.push((BY.d*10)%10==0?BY.d+".0":BY.d);BO.push('</span>                         <p class="pr-snapshot-average-based-on-text">');if(i==1){BO.push("(");BO.push("based on {0} review".replace("{0}","1"));BO.push(")");}else{BO.push("(");BO.push("based on {0} reviews".replace("{0}",i));BO.push(")");}BO.push("</p>");if(BQ>0){BO.push("<div id=\"pr-snapshot-histogram\"><a href=\"#\" id=\"pr-snapshot-histogram-lnk\" onclick=\"return false\" onmouseover=\"POWERREVIEWS.common.togglePopOut({'target':'pr-snapshot-histogram-container'},'show', this, event)\" onmouseout=\"POWERREVIEWS.common.togglePopOut({'link':'pr-snapshot-histogram-lnk','target':'pr-snapshot-histogram-container'},'hide', this, event)\"><img src=\"");BO.push(BV);BO.push("/engine/images/icon_popout.gif\"/></a><div id=\"pr-snapshot-histogram-container\" class=\"pr-closed\" onmouseover=\"POWERREVIEWS.common.togglePopOut({'target':'pr-snapshot-histogram-container'},'show', this, event)\" onmouseout=\"POWERREVIEWS.common.togglePopOut({'link':'pr-snapshot-histogram-lnk','target':'pr-snapshot-histogram-container'},'hide', this, event)\"><p id=\"pr-snapshot-histogram-header\"><span>");BO.push("Ratings Distribution");BO.push("</span></p>");BO.push(H(BM,BW,BI));BO.push(" </div></div>");}BO.push('</div><div class="pr-clear"></div>');if(BY.b||BY.b==0){BO.push('<div class="pr-snapshot-consensus"><p class="pr-snapshot-consensus-value pr-rounded">');BO.push(Math.round(100*BY.b));BO.push('%</p> <p class="pr-snapshot-consensus-text">');BO.push("of respondents would recommend this to a friend.");BO.push("</p></div>");}BO.push("</div>                ");if(BN.pros||BN.cons||BN.bestuses||BS.length||BJ.length||BK.length){BO.push('<div class="pr-review-points"><div class="pr-review-points-attr-wrapper"><div class="pr-attribute-group pr-rounded pr-attribute-pros');BO.push(BN.pros?"":" pr-empty");BO.push('"><div class="pr-attribute-key"><p class="pr-attribute-label-pros">');BO.push("Pros");BO.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list pr-snapshot-attribute-value-list">');var BL=BN.pros;if(BL){for(var BP=0;BP<BL.v.length;BP++){var BT=BL.v[BP];BO.push("<li>");BO.push(BT.n);BO.push("&nbsp;(");BO.push(BT.c);BO.push(")</li>");}}BO.push('</ul></div></div><div class="pr-attribute-group pr-rounded pr-attribute-cons');BO.push(BN.cons?"":" pr-empty");BO.push('"><div class="pr-attribute-key"><p class="pr-attribute-label-cons">');BO.push("Cons");BO.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list pr-snapshot-attribute-value-list">');var BL=BN.cons;if(BL){for(var BP=0;BP<BL.v.length;BP++){var BT=BL.v[BP];BO.push("<li>");BO.push(BT.n);BO.push("&nbsp;(");BO.push(BT.c);BO.push(")</li>");}}BO.push('</ul></div></div><div class="pr-attribute-group pr-rounded pr-attribute-bestuses');BO.push(BN.bestuses?"":" pr-empty");BO.push(' pr-last"><div class="pr-attribute-key"><p class="pr-attribute-label-bestuses">');BO.push("Best Uses");BO.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list pr-snapshot-attribute-value-list">');var BL=BN.bestuses;if(BL){for(var BP=0;BP<BL.v.length;BP++){var BT=BL.v[BP];BO.push("<li>");BO.push(BT.n);BO.push("&nbsp;(");BO.push(BT.c);BO.push(")</li>");}}BO.push('</ul></div></div><div class="pr-clear"></div></div></div>');if(BS.length){BO.push(Al(BS,BW,BI));}if(BJ.length){BO.push(Ad(BJ,BW,BI));}BO.push('<div class="pr-other-attributes"><ul class="pr-other-attributes-list">');for(var Ba=0;Ba<BK.length;Ba++){var BL=BK[Ba];var BH=[];for(var BP=0;BP<BL.v.length;BP++){var BT=BL.v[BP];BH.push(BT.n+"&nbsp;("+BT.c+")");}BO.push('<li class="pr-other-attributes-group pr-other-attribute-');BO.push(BL.k);BO.push('"><ul><li class="pr-other-attribute-label">');BO.push(BX[BL.k]||BL.n);BO.push(':</li><li class="pr-other-attribute-value">');BO.push(BH.join(", "));BO.push("</li></ul></li>");}BO.push('<li class="pr-clear"></li></ul></div>');}BO.push('<div id="pr-snapshot-footer-');BO.push(BR);BO.push('" class="pr-snapshot-footer" style="display:none"><a href="#" id="write-review-');BO.push(BR);BO.push('" class="pr-write-review-link"><div class="pr-snapshot-write-review"><span>');BO.push("Write a Review");BO.push("</span></div></a></div>");}else{BO.push('<div id="pr-snapshot-footer-');BO.push(BR);BO.push('" class="pr-snapshot-footer" style="display:none"><p class="pr-snapshot-no-ratings">');BO.push("Not yet rated. Be the first to");BO.push(' <a href="#" id="write-review-');BO.push(BR);BO.push('" class="pr-write-review-link">');BO.push("Write a Review");BO.push("</a></p></div>");}BO.push("</div></div>");if(BY&&BY.fo&&false){BO.push('<div class="pr-review-faceoff"><div class="pr-review-faceoff-review-wrapper"><div id="pr-review-faceoff-positive-');BO.push(BR);BO.push('" class="pr-review-faceoff-review pr-review-faceoff-review-positive"><div class="pr-review-faceoff-container"><p class="pr-review-faceoff-label">');BO.push("Most Liked Positive Review");BO.push('</p><div class="pr-review-faceoff-review-content"><div class="pr-stars ');BO.push(x[BY.fo.f2.r.r].large);BO.push('" style="background-position: 0px ');BO.push(BY.fo.f2.r.r*-46);BO.push('px;">&nbsp;</div><p class="pr-review-faceoff-title">');BO.push(BY.fo.f2.r.h);BO.push('</p><p class="pr-review-faceoff-review">');if(BY.fo.f2.cf){BO.push(n(BY.fo.f2.r.p,0,BY.fo.f2.cf,true));BO.push('<a class="pr-review-faceoff-readcomplete" href="#" onclick="POWERREVIEWS.display.displayFaceoffModal(\'');BO.push(BR);BO.push("','pr-review-faceoff-positive-");BO.push(BR);BO.push("'); return false\">");BO.push("Read complete review");BO.push("</a>");}else{BO.push(BY.fo.f2.r.p);}BO.push('</p><p class="pr-review-faceoff-review-full">');BO.push(BY.fo.f2.r.p);BO.push('</p></div></div></div><div class="pr-review-faceoff-img"><p class="pr-review-faceoff-img-txt">');BO.push("VS");BO.push('</p></div><div id="pr-review-faceoff-negative-');BO.push(BR);BO.push('" class="pr-review-faceoff-review pr-review-faceoff-review-negative"><div class="pr-review-faceoff-container"><p class="pr-review-faceoff-label">');BO.push("Most Liked Negative Review");BO.push('</p><div class="pr-review-faceoff-review-content"><div class="pr-stars ');BO.push(x[BY.fo.f1.r.r].large);BO.push('" style="background-position: 0px ');BO.push(BY.fo.f1.r.r*-46);BO.push('px;">&nbsp;</div><p class="pr-review-faceoff-title">');BO.push(BY.fo.f1.r.h);BO.push('</p><p class="pr-review-faceoff-review">');if(BY.fo.f1.cf){BO.push(n(BY.fo.f1.r.p,0,BY.fo.f1.cf,true));BO.push('<a class="pr-review-faceoff-readcomplete" href="#" onclick="POWERREVIEWS.display.displayFaceoffModal(\'');BO.push(BR);BO.push("','pr-review-faceoff-negative-");BO.push(BR);BO.push("'); return false\">");BO.push("Read complete review");BO.push("</a>");}else{BO.push(BY.fo.f1.r.p);}BO.push('</p><p class="pr-review-faceoff-review-full">');BO.push(BY.fo.f1.r.p);BO.push('</p></div></div></div><div class="pr-clear"></div></div></div>');}BO.push('</div><div id="pr-modal-container-');BO.push(BR);BO.push('" class="pr-modal-container pr-hidden"><div class="pr-modal-toolbar"><a class="pr-modal-container-close" href="#" onclick="POWERREVIEWS.display.hideModal(\'');BO.push(BR);BO.push('\'); return false;"><span>close</span></a><div class="pr-clear"></div></div><div class="pr-modal-wrapper"><div id="pr-modal-');BO.push(BR);BO.push('" class="pr-modal-content"></div></div></div>');if(i>0){BO.push('<div class="pr-review-sort"><div class="pr-review-sort-wrapper">');if(i==1){BO.push('<p class="pr-review-count">');BO.push("Reviewed by 1 customer");BO.push("</p>");}else{if(i>1){BO.push('<p class="pr-review-count">');BO.push("Reviewed by {0} customers".replace("{0}",i));BO.push('</p><div class="pr-review-sort-box"><p class="pr-review-sort-by">');BO.push("Sort by");BO.push("</p><select onchange=\"POWERREVIEWS.display.startSort(this, '");BO.push(BR);BO.push("', '");BO.push(BW);BO.push("', '");BO.push(BZ);BO.push("', POWERREVIEWS.common.getOptions('");BO.push(BZ);BO.push('\'));"><option value="date_new">');BO.push("Newest");BO.push('</option><option value="date_old">');BO.push("Oldest");BO.push('</option><option value="rating_high">');BO.push("Highest rating");BO.push('</option><option value="rating_low">');BO.push("Lowest rating");BO.push('</option><option value="helpful_high" selected="true">');BO.push("Most helpful");BO.push('</option><option value="helpful_low">');BO.push("Least helpful");BO.push("</option></select></div>");}}BO.push('<div class="pr-clear"></div></div></div>');}BO.push("<!-- ilkj -->");return BO.join("");}BA.display.processRollupTemplate=C;function h(Bc,B1,BZ,Bf,Be,BK,BN,Bh,BH,Bu,Bi,Bd){var BU=[];var BX=(BN-1)*BK;var BL=BX+BK-1;if(BL>Be-1){BL=Be-1;}var B2=At("pr_back_to_top_link",Bd);var Bt=AJ(Bd);var B0=AZ(At("pr_badge_definitions_url",Bd),"~~~LOCALE~~~",BZ);var BW=["Got it? Rate it.","Not good","Needs that special something","Average, ordinary","That's good stuff","Perfect. It doesn't get any better"];var Bg={"Yes":"Yes, I would recommend this to a friend","No":"No, I would not recommend this to a friend"};BU.push('<div class="pr-contents-wrapper">');if(!Bu){BU.push('<div class="pr-pagination-top"><p class="pr-page-count">');if(BX==BL){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)+"-"+(BL+1));BU.push("</strong>");}BU.push('</p><p class="pr-nav-back-to-top"><a href="');BU.push(B2);BU.push('">');BU.push("Back to top");BU.push("</a></p>");if(Be>BK){BU.push('<p class="pr-page-nav"><span class="pr-page-prev">');if(BX>0){BU.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BU.push(BN-1);BU.push(", '");BU.push(B1);BU.push("', '");BU.push(BZ);BU.push("', '");BU.push(Bi);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bi);BU.push('\')); return false;" href="');BU.push(Bh.replace("~~~REVIEW_PAGE~~~",BN-1));BU.push('">&laquo; ');BU.push("Previous");BU.push("</a>");}else{BU.push("Previous");}BU.push('</span><span class="pr-divider"> | </span><span class="pr-page-next">');if(BL<Be-1){BU.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BU.push(BN+1);BU.push(", '");BU.push(B1);BU.push("', '");BU.push(BZ);BU.push("', '");BU.push(Bi);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bi);BU.push('\')); return false;" href="');BU.push(BH.replace("~~~REVIEW_PAGE~~~",BN+1));BU.push('">');BU.push("Next");BU.push(" &raquo;</a>");}else{BU.push("Next");}BU.push("</span></p>");}BU.push('<div class="pr-clear"></div></div>');}for(var Bj=0;Bj<Bc.length;Bj++){var BO=Bc[Bj];var Bv={};var Bm=false;if(BO.g){for(var By=0;By<BO.g.length;By++){var BS=BO.g[By].k;Bv[BS]=true;Bm=Bm||(BS!="pros"&&BS!="cons"&&BS!="bestuses"&&BS!="describeyourself");}}BU.push('<div class="pr-review-wrap"><div class="pr-review-rating-wrapper"><div class="pr-review-author-date pr-rounded">');BU.push(BO.d);BU.push("</div>");if(BO.t>0){BU.push('<div class="pr-review-most-helpful"><p>(<span>');BU.push("{0} of {1}".replace("{0}",BO.v).replace("{1}",BO.t));BU.push("</span> ");BU.push("customers found this review helpful");BU.push(")</p></div>");}BU.push('<div class="pr-review-rating"><div class="pr-stars pr-stars-small ');BU.push(x[BO.r].small);BU.push('" style="background-position: 0px ');BU.push(BO.r*-36);BU.push('px;" title="');BU.push(BW[BO.r]);BU.push('">&nbsp;</div><span class="pr-rating pr-rounded">');BU.push(BO.r);BU.push('.0</span><p class="pr-review-rating-headline">');BU.push(BO.h);BU.push("</p></div></div>");if(!Bu){BU.push('                  <div class="pr-review-author"><div class="pr-review-author-info-wrapper">');if(BO.fu&&false){if(BO.pi){BU.push("<p>");var Bb=At("pr_see_all_reviews_url",Bd).replace("~~~MERCHANT_USER_ID~~~",BO.mu).replace("~~~NICKNAME~~~",BO.n);if(Bb){BU.push('<a class="pr-review-author-profile-link" href="');BU.push(Bb);BU.push('"><img src="https://graph.facebook.com/');BU.push(BO.fu);BU.push('/picture" /></a>');}else{BU.push('<a class="pr-review-author-profile-link" href="#" onclick="POWERREVIEWS.display.showProfileWithHash(\'');BU.push(BO.pi);BU.push("', '");BU.push(B1);BU.push("', {'nickname':'");BU.push(A7.encode(""+BO.n));BU.push("', 'location':'");BU.push(A7.encode(""+BO.w));BU.push("', 'badges':[");BU.push((BO.cb||[]).toString());BU.push("]}, '");BU.push(BZ);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bi);BU.push('\')); return false;"><img src="https://graph.facebook.com/');BU.push(BO.fu);BU.push('/picture" /></a>');}BU.push("</p>");}else{BU.push('<img src="https://graph.facebook.com/');BU.push(BO.fu);BU.push('/picture" />');}}BU.push('<p class="pr-review-author-name">');BU.push("By");BU.push("&nbsp;<span>");BU.push(BO.n);BU.push('</span></p><p class="pr-review-author-location">');BU.push("from");BU.push(" <span>");BU.push(BO.w);BU.push("</span></p>");if(BO.g){for(var BI=0;BI<BO.g.length;BI++){var BV=BO.g[BI];if(BV.k=="describeyourself"){BU.push('<div class="pr-review-author-affinity-wrapper"><p class="pr-review-author-affinities">');BU.push("About Me"||BV.n);BU.push(" <span>");BU.push(BV.v.join(", "));BU.push("</span></p></div>");}}}if(BO.pi){BU.push("<p>");var Bb=At("pr_see_all_reviews_url",Bd).replace("~~~MERCHANT_USER_ID~~~",BO.mu).replace("~~~NICKNAME~~~",BO.n);if(Bb){BU.push('<a class="pr-review-author-profile-link" href="');BU.push(Bb);BU.push('">');BU.push("See all my reviews");BU.push("</a>");}else{BU.push('<a class="pr-review-author-profile-link" href="#" onclick="POWERREVIEWS.display.showProfileWithHash(\'');BU.push(BO.pi);BU.push("', '");BU.push(B1);BU.push("', {'nickname':'");BU.push(A7.encode(""+BO.n));BU.push("', 'location':'");BU.push(A7.encode(""+BO.w));BU.push("', 'badges':[");BU.push((BO.cb||[]).toString());BU.push("]}, '");BU.push(BZ);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bi);BU.push("')); return false;\">");BU.push("See all my reviews");BU.push("</a>");}BU.push("</p>");}BU.push("                        </div>");var Bn=X(BO.cb);var Bw=(BO.o&&BO.o=="e");var BQ=BO.m;var Bo=(BO.c&&BO.c=="v");if(Bw||Bn||BQ||Bo){BU.push('<div class="pr-review-author-badge-wrapper">');if(Bw){BU.push('<div class="pr-review-author-verified-buyer-wrapper pr-review-author-verified-buyer-');BU.push(BZ);BU.push('"><a href="');BU.push(B0);BU.push('"><img class="pr-badge pr-verified-buyer" src="');BU.push(Bt);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></div>');}if(Bn){BU.push(BD(Bn,BZ,Bd));}else{if(BQ){BU.push('<div class="pr-review-author-member-badge-wrapper pr-review-author-member-badge-wrapper-');BU.push(BZ);BU.push('"><img class="pr-badge pr-site-member" src="');BU.push(Bt);BU.push('/engine/images/pixel.gif" alt="');BU.push("Site Member");BU.push('" title="');BU.push("Site Member");BU.push('" /></div>');}}if(Bo&&!false&&!Bw&&!Bn&&!BQ){BU.push('<div class="pr-review-author-verified pr-review-author-verified-');BU.push(BZ);BU.push('"><a href="');BU.push(B0);BU.push('"><img class="pr-badge pr-verified" src="');BU.push(Bt);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></div>');}BU.push("</div>");}BU.push("</div>");}else{if(Bu&&BO.pr){BU.push('<div class="pr-profile-review-product-info">');if(BO.pr.m&&window&&window.location&&window.location.protocol=="http:"){if(BO.pr.u){BU.push('<a href="');BU.push(BO.pr.u);BU.push('"><img src="http://images.buzzillions.com');BU.push(BO.pr.m);BU.push('" /></a>');}else{BU.push('<img src="http://images.buzzillions.com');BU.push(BO.pr.m);BU.push('" />');}}if(BO.pr.n){if(BO.pr.u){BU.push('<a href="');BU.push(BO.pr.u);BU.push('">');BU.push(BO.pr.n);BU.push("</a>");}else{BU.push(BO.pr.n);}}BU.push("</div>");}}BU.push('<div class="pr-review-main-wrapper">');if(BO.g){BU.push('<div class="pr-review-points"><div class="pr-review-points-attr-wrapper"><div class="pr-attribute-group pr-rounded pr-attribute-pros');BU.push(Bv.pros?"":" pr-empty");BU.push('"><div class="pr-attribute-key"><p class="pr-attribute-label-pros">');BU.push("Pros");BU.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list">');for(var BI=0;BI<BO.g.length;BI++){var BV=BO.g[BI];if(BV.k=="pros"){for(var Br=0;Br<BV.v.length;Br++){BU.push("<li>");BU.push(BV.v[Br]);BU.push("</li>");}break;}}BU.push('</ul></div></div><div class="pr-attribute-group pr-rounded pr-attribute-cons');BU.push(Bv.cons?"":" pr-empty");BU.push('"><div class="pr-attribute-key"><p class="pr-attribute-label-cons">');BU.push("Cons");BU.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list">');for(var BI=0;BI<BO.g.length;BI++){var BV=BO.g[BI];if(BV.k=="cons"){for(var Br=0;Br<BV.v.length;Br++){BU.push("<li>");BU.push(BV.v[Br]);BU.push("</li>");}break;}}BU.push('</ul></div></div><div class="pr-attribute-group pr-rounded pr-attribute-bestuses');BU.push(Bv.bestuses?"":" pr-empty");BU.push(' pr-last"><div class="pr-attribute-key"><p class="pr-attribute-label-bestuses">');BU.push("Best Uses");BU.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list">');for(var BI=0;BI<BO.g.length;BI++){var BV=BO.g[BI];if(BV.k=="bestuses"){for(var Br=0;Br<BV.v.length;Br++){BU.push("<li>");BU.push(BV.v[Br]);BU.push("</li>");}break;}}BU.push('</ul></div></div><div class="pr-clear"></div></div></div>');}BU.push('<div class="pr-review-text">');var Bs=Bf||(Bu&&BO.pr&&BO.pr.n);if(Bs){BU.push('<p class="pr-comments-header">');BU.push("Comments about <em>{0}</em>:".replace("{0}",Bs));BU.push("</p>");}BU.push('<p class="pr-comments">');BU.push(A9(BO.p));BU.push("</p></div>");if(BO.z){BU.push('<div class="pr-review-text"><p class="pr-comments-header">');BU.push("Service and delivery comments:");BU.push('</p><p class="pr-comments">');BU.push(A9(BO.z));BU.push("</p></div>");}if(Bm||BO.rp||BO.sp||BO.tb||BO.ar){BU.push('<div class="pr-other-attributes">');if(BO.g){BU.push('<div class="pr-other-attribute-tag-group"><ul class="pr-other-attributes-list">');for(var BI=0;BI<BO.g.length;BI++){var BV=BO.g[BI];if(BV.k!="pros"&&BV.k!="cons"&&BV.k!="bestuses"&&BV.k!="describeyourself"){BU.push('<li class="pr-other-attribute-label">');BU.push(BV.n);BU.push(':</li><li class="pr-other-attribute-value">');BU.push(BV.v.join(", "));BU.push("</li>");}}BU.push("</ul></div>");}if(BO.tb){BU.push('<div class="pr-other-attribute-text-group"><ul class="pr-other-attributes-list">');for(var BI=0;BI<BO.tb.length;BI++){var BV=BO.tb[BI];BU.push('<li class="pr-other-attribute-label pr-merchant-question-label">');BU.push(BV.n);BU.push(':</li><li class="pr-other-attribute-value pr-merchant-question-value">');BU.push(BV.v);BU.push("</li>");}BU.push("</ul></div>");}if(BO.ar){BU.push('<div class="pr-other-attribute-additional-ratings"><ul class="pr-other-attributes-list">');for(var BI=0;BI<BO.ar.length;BI++){var BV=BO.ar[BI];BU.push('<li class="pr-other-attribute-label">');BU.push(BV.n);BU.push(':</li><li class="pr-other-attribute-value"><div class="pr-stars pr-stars-small pr-stars-small-subrating ');BU.push(x[BV.v].small);BU.push('" style="background-position: 0px ');BU.push(BV.v*-36);BU.push('px;" title="');BU.push(BW[BV.v]);BU.push('">&nbsp;</div></li>');}BU.push("</ul></div>");}if(BO.rp){BU.push('<div class="pr-other-attribute-recommended-products"><ul class="pr-other-attributes-list">');var BY=[];for(var Bx=0;Bx<BO.rp.length;Bx++){var Bk=BO.rp[Bx];BY.push(Bk.u?'<a href="'+Bk.u+'">'+Bk.n+"</a>":Bk.n);}BU.push('<li class="pr-other-attribute-label">');BU.push("Recommended");BU.push(':</li><li class="pr-other-attribute-value">');BU.push(BY.join(", "));BU.push("</li></ul></div>");}if(BO.sp){BU.push('<div class="pr-other-attribute-similar-products"><ul class="pr-other-attributes-list">');var Ba=[];for(var Bz=0;Bz<BO.sp.length;Bz++){var BP=BO.sp[Bz];Ba.push(BP.u?'<a href="'+BP.u+'">'+BP.n+"</a>":BP.n);}BU.push('<li class="pr-other-attribute-label">');BU.push("Similar");BU.push(':</li><li class="pr-other-attribute-value">');BU.push(Ba.join(", "));BU.push("</li></ul></div>");}BU.push('<div class="pr-clear"></div></div>');}BU.push('<div class="pr-review-footer">');if(BO.b){var BJ;if(BO.b.v){BJ=BO.b.v;}else{BJ=Bg[BO.b.k];}BU.push('<div class="pr-review-bottom-line-wrapper"><p><span class="pr-review-bottom-line">');BU.push("Bottom Line");BU.push("</span> <span></span>");BU.push(BJ);BU.push("</p></div>");}if(BO.i){BU.push('<div class="pr-customer-media">');for(var Bq=0;Bq<BO.i.r.length;Bq++){var BT=BO.i.r[Bq];BU.push('<div class="pr-customer-media-wrapper"><p class="pr-customer-media-user">');if(BO.i.t=="i"){BU.push("Images shared by");BU.push(" <span>");BU.push(BO.n);BU.push("</span>");}else{if(BO.i.t=="v"){BU.push("Images shared by");BU.push(" <span>");BU.push(BO.n);BU.push("</span>");}else{BU.push("Images shared by");BU.push(" <span>");BU.push(BO.n);BU.push("</span>");}}BU.push('</p><div class="pr-pic pr-rounded"><p class="pr-caption">');BU.push(BT.c);BU.push('</p><div class="pr-pic-content"><div class="wrap1"><div class="wrap2">');if(!BT.v){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(Bi);BU.push('\')); return false;"><img src="');BU.push(Bt);BU.push("/content");BU.push(BT.h.u);BU.push('" alt="');BU.push("Image Thumbnail");BU.push('" width="');BU.push(BT.h.w);BU.push('" height="');BU.push(BT.h.h);BU.push('" /></a>');}else{BU.push('<img src="');BU.push(Bt);BU.push("/content");BU.push(BT.h.u);BU.push('" alt="');BU.push("Image Thumbnail");BU.push('" width="');BU.push(BT.h.w);BU.push('" height="');BU.push(BT.h.h);BU.push('" />');}}else{BU.push('<a href="#" onclick="POWERREVIEWS.common.showVideoPopup(\'');BU.push(BT.v);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bi);BU.push('\')); return false;"><img src="');BU.push(BT.h.u);BU.push('" alt="');BU.push("Video Thumbnail");BU.push('" width="75" height="50" onerror="this.src=\'http://powerreviews.s3.amazonaws.com/videos/youtube_coming_soon.jpg\'"/></a>');}BU.push("</div></div></div>");if(BT.g){BU.push('<p class="pr-pic-tags"><span class="pr-tag-label">');BU.push("Tags:");BU.push("</span> ");BU.push(BT.g.join(", "));BU.push("</p>");}BU.push("</div></div>");}BU.push('<div class="pr-clear"></div></div>');}if(BO.y){BU.push('<div class="pr-merchant-comments">');for(var Bl=0;Bl<BO.y.length;Bl++){BU.push('<p class="pr-merchant-comments-text"><span>');BU.push("Merchant response: ".replace("{0}",Ap(Bd).name));BU.push("</span>");BU.push(A9(BO.y[Bl]));BU.push("</p>");}BU.push("</div>");}if(BO.at){var BM=At("pr_attribution_table",Bd);var Bp=BM[BO.at];if(Bp){if(Bp.originating_merchant_url&&Bp.image_uri){if(Bp.attribution_text){BU.push('<div class="pr-review-attribution">');if(Bp.attribution_text){BU.push('<div class="pr-review-attribution-text"><p>');BU.push(Bp.attribution_text);BU.push("</p></div>");}BU.push('<div class="pr-review-attribution-img"><p class="pr-review-attribute-imgLabel">');BU.push("REVIEWED AT");BU.push('</p><a target="_blank" href="');BU.push(Bp.originating_merchant_url);BU.push('"><img src="');BU.push(Bt);BU.push("/engine/images/");BU.push(Bp.image_uri);BU.push('"/></a></div><div class="pr-clear"></div></div>');}else{BU.push('<div class="pr-review-attribution-img"><p class="pr-review-attribute-imgLabel">');BU.push("REVIEWED AT");BU.push('</p><a target="_blank" href="');BU.push(Bp.originating_merchant_url);BU.push('"><img src="');BU.push(Bt);BU.push("/engine/images/");BU.push(Bp.image_uri);BU.push('"/></a></div>');}}}}if(BO.t>0){BU.push('<div class="pr-review-most-helpful-bottom"><p>(<span>');BU.push("{0} of {1}".replace("{0}",BO.v).replace("{1}",BO.t));BU.push("</span> ");BU.push("customers found this review helpful");BU.push(")</p></div>");}if(!Bu){BU.push('<div class="pr-review-tools"><p class="pr-review-helpful-text">');BU.push("Was this review helpful?");BU.push('&nbsp;<a class="pr-review-helpful-text-link" href="#" onclick="POWERREVIEWS.display.submitHelpfulVote(\'');BU.push(BO.id);BU.push("', 'helpful', '");BU.push(BZ);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bi);BU.push("')); return false;\">");BU.push("Yes");BU.push('</a>&nbsp;/&nbsp;<a class="pr-review-helpful-text-link" href="#" onclick="POWERREVIEWS.display.submitHelpfulVote(\'');BU.push(BO.id);BU.push("', 'unhelpful', '");BU.push(BZ);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bi);BU.push("')); return false;\">");BU.push("No");BU.push('</a></p><p class="pr-review-report-issue"><span class="pr-review-report-issue-hyphen">&nbsp;-&nbsp;</span>');BU.push("You may also");BU.push(' <a href="#" class="pr-review-helpful-text-link" onclick="POWERREVIEWS.display.launchErrorDiv(\'');BU.push(BO.id);BU.push("', '");BU.push(BZ);BU.push("', '");BU.push(Bi);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bi);BU.push("')); return false;\">");BU.push("flag this review");BU.push('</a></p><div class="pr-error" id="error_div');BU.push(BO.id);BU.push('" style=""></div><p class="pr-review-helpful-response" id="review_feedback');BU.push(BO.id);BU.push('"></p></div>');}BU.push('</div></div><div class="pr-clear"></div>');if(false){var BR=q({"locale":BZ,"sharedReviewId":BO.id},Bd);BU.push('<p class="pr-fb-reviewComment"><span><a href="#" onclick="POWERREVIEWS.common.showSmallPopup(\'');BU.push(BR);BU.push("', 450, 600, {'location':'no'}); return false;\">");BU.push("Comment on this review");BU.push('</a></span><img class="pr-profile-fb-help-icon" src="');BU.push(Bt);BU.push('/engine/images/icon_orange_help.gif" title="');BU.push("Click here to write a comment and share this review with your friends on Facebook. Your comment and this review will show up in your Facebook newsfeed.");BU.push('" /></p><div class="pr-clear"></div>');}BU.push("</div>");}if(!Bu){BU.push('<div class="pr-pagination-bottom"><p class="pr-page-count">');if(BX==BL){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)+"-"+(BL+1));BU.push("</strong>");}BU.push('</p><p class="pr-nav-back-to-top"><a href="');BU.push(B2);BU.push('">');BU.push("Back to top");BU.push("</a></p>");if(Be>BK){BU.push('<p class="pr-page-nav"><span class="pr-page-prev">');if(BX>0){BU.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BU.push(BN-1);BU.push(", '");BU.push(B1);BU.push("', '");BU.push(BZ);BU.push("', '");BU.push(Bi);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bi);BU.push("')); location.hash = '#pr-header-");BU.push(B1);BU.push('\'; return false;" href="');BU.push(Bh.replace("~~~REVIEW_PAGE~~~",BN-1));BU.push('">&laquo; ');BU.push("Previous");BU.push("</a>");}else{BU.push("Previous");}BU.push('</span><span class="pr-divider"> | </span><span class="pr-page-next">');if(BL<Be-1){BU.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');BU.push(BN+1);BU.push(", '");BU.push(B1);BU.push("', '");BU.push(BZ);BU.push("', '");BU.push(Bi);BU.push("', POWERREVIEWS.common.getOptions('");BU.push(Bi);BU.push("')); location.hash = '#pr-header-");BU.push(B1);BU.push('\'; return false;" href="');BU.push(BH.replace("~~~REVIEW_PAGE~~~",BN+1));BU.push('">');BU.push("Next");BU.push(" &raquo;</a>");}else{BU.push("Next");}BU.push("</span></p>");}BU.push('<div class="pr-clear"></div></div><div class="pr-snapshot-addreviews-wrapper-bot"><a class="pr-btn-slide" href="');BU.push("http://www.powerreviewsexpress.com/expressminisite/powerreviews_express.jsp?referrer={0}".replace("{0}",""+12091));BU.push('"><span><p>');BU.push("Add Reviews to your site");BU.push('</p></span></a></div><div class="pr-clear"></div>');}BU.push("</div>");return BU.join("");}BA.display.processReviewsTemplate=h;function AM(BJ,BI,BH,BK){var i=[];i.push('<div class="pr-report-issue-header">');i.push("Please let us know what kind of issue this is:");i.push('<span class="pr-required">*</span></div><div><input type="radio" name="error_radio');i.push(BJ);i.push('" id="profanity_');i.push(BJ);i.push('" value="profane"><label for="profanity_');i.push(BJ);i.push('">');i.push("Profanity");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BJ);i.push('" id="wrong_product_');i.push(BJ);i.push('" value="wrong_product"><label for="wrong_product_');i.push(BJ);i.push('">');i.push("Wrong product");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BJ);i.push('" id="spam_');i.push(BJ);i.push('" value="spam"><label for="spam_');i.push(BJ);i.push('">');i.push("Spam");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BJ);i.push('" id="duplicate_');i.push(BJ);i.push('" value="duplicate"><label for="duplicate_');i.push(BJ);i.push('">');i.push("Duplicate");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BJ);i.push('" id="copyright_violation_');i.push(BJ);i.push('" value="copyright"><label for="copyright_violation_');i.push(BJ);i.push('">');i.push("Copyright violation");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BJ);i.push('" id="not_review_');i.push(BJ);i.push('" value="not_review"><label for="not_review_');i.push(BJ);i.push('">');i.push("Not a product review");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BJ);i.push('" id="customer_image_');i.push(BJ);i.push('" value="customer_image"><label for="customer_image_');i.push(BJ);i.push('">');i.push("Customer image");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BJ);i.push('" id="problem_with_image_');i.push(BJ);i.push('" value="customer_image"><label for="problem_with_image_');i.push(BJ);i.push('">');i.push("Problem with image");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BJ);i.push('" id="other_');i.push(BJ);i.push('" value="other"><label for="other_');i.push(BJ);i.push('">');i.push("Other");i.push('</label></div><div><label for="error_contact_email');i.push(BJ);i.push('">');i.push("Email Address:");i.push('<span class="pr-required">*</span></label><input class="pr-error-email" type="text" id="error_contact_email');i.push(BJ);i.push('" cols="20" maxlength="80"></div><div class="pr-issue-subtext">');i.push('</div><div><label for="error_comments');i.push(BJ);i.push('">');i.push("Comments:");i.push('</label><textarea class="pr-error-comments" id="error_comments');i.push(BJ);i.push('" cols="30" rows="3"></textarea></div><button class="pr-submit-button" onclick="POWERREVIEWS.display.submitError(\'');i.push(BJ);i.push("', '");i.push(BI);i.push("', POWERREVIEWS.common.getOptions('");i.push(BH);i.push("')); return false;\"><span>");i.push("Submit");i.push('</span></button><button class="pr-cancel-button" onclick="POWERREVIEWS.display.cancelError(\'');i.push(BJ);i.push("'); return false;\"><span>");i.push("Cancel");i.push("</span></button>");return i.join("");}BA.display.processErrorDivTemplate=AM;function Al(BK,BO,BV){var BW=[];BW.push('<div class="pr-other-attributes-histogram"><ul class="pr-other-attributes-list">');for(var BI=0;BI<BK.length;BI++){var BR=BK[BI];var BU={};var BS=0;var BH=0;var BM=0;for(var i=0;i<BR.v.length;i++){var BQ=BR.v[i];BU[BQ.n.toLowerCase()]=BQ.c;}for(var BJ=0;BJ<BR.a.length;BJ++){var BN=BR.a[BJ];var BP=BN.toLowerCase();BU[BP]=BU[BP]||0;BS+=BU[BP];if(BU[BP]>BH){BH=BU[BP];BM=BJ;}}BW.push('<li class="pr-other-attributes-group pr-other-attribute-');BW.push(BR.k);BW.push('"><ul><li class="pr-other-attribute-label">');BW.push(BR.n);BW.push(':</li><li class="pr-other-attribute-value"><table>');for(var BJ=0;BJ<BR.a.length;BJ++){var BN=BR.a[BJ];var BP=BN.toLowerCase();var BT=BU[BP]/BS*100;var BL=(BM==BJ);BW.push('<tr class="pr-other-attribute-value-histogram-element ');BW.push(BL?"pr-other-attribute-value-histogram-element-max":"");BW.push('"><td class="pr-other-attribute-value-histogram-label"><p>');BW.push(BN);BW.push('</p></td><td class="pr-other-attribute-value-histogram-bar"><div class="pr-other-attribute-value-histogram-wrapper">');if(BU[BP]!=0){BW.push('<div class="pr-other-attribute-value-histogram-barValue" style="width:');BW.push(BT);BW.push('%">&nbsp;</div>');}else{BW.push("&nbsp;");}BW.push('</div></td><td class="pr-other-attribute-value-histogram-stats">');if(BL){BW.push('<p><span class="pr-other-attribute-value-histogram-stats-pct">');BW.push(Math.round(BT));BW.push('%&nbsp;</span><span class="pr-other-attribute-value-histogram-stats-count">');if(BU[BP]==1){BW.push('<p class="pr-snippet-review-count">');BW.push("(1 review)");BW.push("</p>");}else{BW.push('<p class="pr-snippet-review-count">');BW.push("({0} reviews)".replace("{0}",BU[BP]));BW.push("</p>");}BW.push("</span></p>");}BW.push("</td></tr>");}BW.push("</table></li></ul></li>");}BW.push('<li class="pr-clear"></li></ul></div>');return BW.join("");}function Ad(BK,BH,BJ){var i=[];i.push('<div class="pr-other-attributes-subratings"><ul class="pr-other-attributes-list">');for(var BI=0;BI<BK.length;BI++){var BL=BK[BI];i.push('<li class="pr-other-attributes-group pr-other-attribute-');i.push(BL.k);i.push('"><ul><li class="pr-other-attribute-label">');i.push(BL.n);i.push(':</li><li class="pr-other-attribute-value"><div class="pr-stars pr-stars-small pr-stars-small-subrating ');i.push(x[BL.a].small);i.push('" style="background-position: 0px ');i.push(BL.a*-36);i.push('px;">&nbsp;</div></li></ul></li>');}i.push("</ul></div>");return i.join("");}function H(BJ,BI,BL){var BH=[];var BK=["1 Stars","2 Stars","3 Stars","4 Stars","5 Stars"];var BN=0;for(var BM=0;BM<5;BM++){BN+=BJ[BM];}BH.push('<div class="pr-ratings-histogram-wrapper"><ul class="pr-ratings-histogram-content">');for(BM=4;BM>=0;BM--){BH.push('<li class="pr-histogram-');BH.push([BM+1]);BH.push('Stars"><p class="pr-histogram-label"><span>');BH.push(BK[BM]);BH.push('</span></p><div class="pr-ratings-histogram-bar">');if(BJ[BM]!=0){BH.push('<div class="pr-ratings-histogram-barValue" style="width:');BH.push(BJ[BM]/BN*(100));BH.push('%">&nbsp;</div>');}else{BH.push("&nbsp;");}BH.push('</div><p class="pr-histogram-count">');if(BJ[BM]!=0){BH.push("<span>(");BH.push(BJ[BM]);BH.push(")</span>");}else{BH.push("<span>(0)</span>");}BH.push("</p></li>");}BH.push("</ul></div>");return BH.join("");}function BD(BI,BM,BO){var BP=[];if(BI){var BL=AJ(BO);var BJ=AZ(At("pr_expert_badge_definitions_url",BO),"~~~LOCALE~~~",BM);var BH=BI.locales[BM];var BN=(BI.label=="staff"||BI.label=="staff-expert");if(BH){var BK=BI.label.replace(/[^-_a-zA-Z]/g,"_");var i="pr-review-author-"+BK+"-wrapper";BP.push('<div class="');BP.push(i);BP.push(" ");BP.push(i);BP.push("-");BP.push(BM);BP.push('">');if(BN){BP.push('<a href="');BP.push(BJ);BP.push('">');}BP.push('<img class="pr-badge pr-');BP.push(BK);BP.push('" src="');BP.push(BL);BP.push("/engine/images/badges/");BP.push(BH.filename);BP.push('" alt="');BP.push(BH.hovertext);BP.push('" title="');BP.push(BH.hovertext);BP.push('" />');if(BN){BP.push("</a>");}BP.push("</div>");}}BP.push("<!-- woozle -->");return BP.join("");}var Av=0;function T(BI,BK){if(BE(BI,BK)){var BJ=Ak(At("pr_page_id",BK));var BH=At("pr_locale",BK);var BM="pr-snippet-"+BJ;var i=false;if(document.getElementById(BM)){AL(BJ,BH,BM,BK);}else{var BL="pr-snippet-"+BJ+"-"+(Av++);BI.write('<div id="'+BL+'" class="pr-snippet"></div>');AL(BJ,BH,BL,i,BK);}}}BA.display.snippet=T;function AL(BI,BH,BK,i,BJ){p(BI,BH,function(BO){var BL=At("pr_snippet_min_reviews",BJ);var BN=0;var BM=0;if(BO&&BO.reviews){BN=BO.reviews.review_count;BM=BO.reviews.avg;}if(BL<=BN){Ac(BK,A3(BI,BN,BM,BH,i,BJ));}},BJ);}function A3(BI,BL,BO,BP,BQ,BV){var BW=[];var BH=Am(At("pr_page_id",BV),BV);var BN=At("pr_read_review",BV);var BU=BC(BO);var BK=Math.round(BO);var BR="";var BT="";var i=At("pr_snippet_star_click",BV);if(i){BR=" cursor:pointer;";BT=' onclick="'+i+'"';}var BM=["Got it? Rate it.","Not good","Needs that special something","Average, ordinary","That's good stuff","Perfect. It doesn't get any better"];var BJ=At("pr_facebook_like_button_url",BV);if(BJ==null){BJ=document.URL;}BJ=v(BJ);if(BJ==""){BQ=false;}var BS=window.location.protocol;BW.push('<div class="pr-snippet-wrapper"><div class="pr-snippet-stars"><div title="');BW.push(BM[BK]);BW.push('" style="background-position: 0px ');BW.push(BU*-36);BW.push("px;");BW.push(BR);BW.push('" class="pr-stars pr-stars-small ');BW.push(x[BU].small);BW.push('"');BW.push(BT);BW.push('>&nbsp;</div><span class="pr-snippet-rating-decimal pr-rounded">');BW.push((BO*10)%10==0?BO+".0":BO);BW.push("</span></div>");if(BL==0){BW.push('<p class="pr-snippet-review-count">');BW.push("(No reviews)");BW.push("</p>");}else{if(BL==1){BW.push('<p class="pr-snippet-review-count">');BW.push("(1 review)");BW.push("</p>");}else{BW.push('<p class="pr-snippet-review-count">');BW.push("({0} reviews)".replace("{0}",BL));BW.push("</p>");}}BW.push('<div class="pr-snippet-read-write">');if(BL>0){if(BN){if(BL==1){BW.push('<div class="pr-snippet-read-reviews"><a href="');BW.push(BN);BW.push('" class="pr-snippet-link" id="pr-snippet-read-link-');BW.push(BI);BW.push('">');BW.push("Read <span>1</span> Review");BW.push("</a></div>");}else{BW.push('<div class="pr-snippet-read-reviews"><a href="');BW.push(BN);BW.push('" class="pr-snippet-link" id="pr-snippet-read-link-');BW.push(BI);BW.push('">');BW.push("Read <span>{0}</span> Reviews".replace("{0}",BL));BW.push("</a></div>");}}if(BH){BW.push('<div class="pr-snippet-write-review"><a href="');BW.push(BH);BW.push('" class="pr-snippet-link">');BW.push("Write a Review");BW.push("</a></div>");}}else{if(BH){BW.push('<div class="pr-snippet-write-first-review"><p>');BW.push("Be the first to");BW.push('</p> <a href="');BW.push(BH);BW.push('" class="pr-snippet-link">');BW.push("Write a Review");BW.push("</a></div>");}}BW.push('<div class="pr-clear"></div></div><div class="pr-clear"></div>');if(BQ){BW.push('<div class="pr-facebook-like-snippet"><iframe src="');BW.push(BS);BW.push("//www.facebook.com/plugins/like.php?href=");BW.push(BJ);BW.push('&layout=button_count&show_faces=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:21px;" allowTransparency="true"></iframe></div>');}BW.push("</div>");return BW.join("");}var e=0;function f(BH,BJ){if(BE(BH,BJ)){var BI=Ak(At("pr_page_id",BJ));var i=At("pr_locale",BJ);var BL="pr-summary-snippet-"+BI;if(document.getElementById(BL)){Aw(BI,i,BL,BJ);}else{var BK="pr-summary-snippet-"+BI+"-"+(e++);BH.write('<div id="'+BK+'" class="pr-summary-snippet"></div>');Aw(BI,i,BK,BJ);}}}BA.display.summarySnippet=f;function Aw(BH,i,BJ,BI){p(BH,i,function(BM){var BK=At("pr_snippet_min_reviews",BI);var BL=0;if(BM&&BM.reviews){BL=BM.reviews.review_count;if(BK<=BL){y(AJ(BI)+"/content/"+W(BH)+"/"+BH+"-"+i+"-rollup.js",null,function(BN){if(BN.rollup){Ac(BJ,E(BN.rollup,BH,i,BI));}},BI);}}},BI);}function E(BN,BI,BH,BL){var i=[];var BK=M(BN);var BJ=BK.histogramDisplayGroupList;var BM=BK.subratingGroupList;i.push('<div class="pr-summary-snippet-body">');if(BJ.length){i.push(Al(BJ,BH,BL));}if(BM.length){i.push(Ad(BM,BH,BL));}i.push('</div><div class="pr-clear"></div>');return i.join("");}return BA;})();var SHOPZILLAREVIEWS=POWERREVIEWS;
