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