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