var POWERREVIEWS=POWERREVIEWS||(function(){var C={common:{},display:{}};var Am=false;var A5=false;var Y=null;var X={};var F={};var j={};var Ar={};C.common.gResult=Ar;var T={};var BB=0;var AU=encodeURIComponent||escape;var AK="prBaseStylesheet";var AR="prMerchantOverrideStylesheet";var AZ={"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 AE={pr_merchant_table:{"m2059":{"name":"Original Penguin","cobranded":"true"}},pr_merchant_id:2059,pr_site_id:null,pr_merchant_group_id:10972,pr_locale:"en_US",pr_read_review:"#ReviewHeader",pr_read_qa:"#QAHeader",pr_write_review:"",pr_ask_question:"",pr_answer_question:"",pr_js_controller_url:"http://services.powerreviews.com/JSController.do",pr_reviews_per_page:5,pr_zip_location:"/",pr_powerreviews_root:"pwr",pr_review_display_usage_tracker_path:"http://cdn.powerreviews.com/aux/",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_base_follow_landing_url:"http://social.powerreviews.com/fbonsite/",pr_resize_url:"",pr_snippet_min_reviews:0,pr_suppress_google_plus_one:false,pr_source:"web",pr_image_snippet_show_image:As,pr_image_snippet_max:7,pr_snippet_star_click:"",pr_back_to_top_link:"#",pr_see_all_reviews_url:"",pr_nbr_displayed_profile_reviews:-1,pr_overwrite_inline_content:false,pr_badge_table:{"11024":{"locales":{"en_CA":{"hovertext":"","description":"","filename":"badge_se_en_CA.gif"},"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"},"jp_JP":{"hovertext":"","description":"","filename":"badge_se_jp_JP.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"},"jp_JP":{"hovertext":"","description":"","filename":"badge_sr_jp_JP.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 A0={};if(window&&window.location&&window.location.search){var AV=window.location.search.substring(1).split("&");for(var A3=0,Aa=AV.length;A3<Aa;++A3){var A1=AV[A3].split("=");A0[A1[0]]=A1[1];}}function l(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 G(Bf,i){return l(Bf,i,A0,window,AE);}C.common.get=G;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 Ag(i,Bg){if(Am){return true;}else{if(!K(Bg)){return false;}}Am=true;if(!document.getElementById(AK)){i.write('<link rel="stylesheet" href="'+Q(Bg)+'/engine/pr_styles_review.css" type="text/css" id="'+AK+'">\n');}var Bh=Q(Bg)+"/engine/merchant_styles2.css";var Bf=n(G("pr_style_sheet",Bg));if(G("pr_allow_engine_css_override",Bg)&&Bf){Bh=Bf;}if(!document.getElementById(AR)){i.write('<link rel="stylesheet" href="'+Bh+'" type="text/css" id="'+AR+'">\n');}W({"type":"init"},Bg);setTimeout(function(){W({"type":"objects","count":BB},Bg);},5000);return true;}function K(i){if(A5){return true;}else{if(!G("pr_page_id",i)&&!G("pr_merchant_user_id",i)){return false;}}A5=true;return true;}function AS(i,Bf,Bg){if(!document.getElementById(i)){setTimeout(function(){AS(i,Bf,Bg);},1000);}else{At(i,Bf,Bg);}}function At(i,Bg,Bh){try{if(!Bg){Bg="";}BR(function(){BH(document.getElementById(i),Bg);if(Bh){Bh();}});}catch(Bf){}}function BH(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 BR(i){if(typeof i=="function"){(function(){if(O()){try{document.documentElement.doScroll("left");}catch(Bf){setTimeout(arguments.callee,50);return ;}}i();i=null;})();}}function O(){return typeof document.all!="undefined"&&typeof window.opera=="undefined"&&!(navigator.vendor=="KDE");}function a(i){new Image().src=i;}function Q(Bf){var i=G("pr_zip_location",Bf);if(i.charAt(i.length-1)!="/"){i+="/";}i+=G("pr_powerreviews_root",Bf);return i;}C.common.getDocRoot=Q;function BU(i){return i.replace(/\W/g,"__");}function AP(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 BA(Bf,i,Bg){return Bg&&Bg["locales"]&&Bg["locales"][i]&&Bg["locales"][i]["p"+Bf];}function AX(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 p(i,Bg,Bf){return i.replace(new RegExp(Bg,"g"),Bf);}function n(i){return i&&i.replace(/^\s+|\s+$/g,"");}function e(i){if(typeof i=="string"){return i.replace(/\n/g,"<br />");}else{return i;}}function BF(Bg,Bh,Bk,Bf){var Bi=Q(Bf);var Bh=Bh||Bg.substring(Bg.indexOf(Bi)+Bi.length+1);if(Ar[Bh]){Bk(Ar[Bh]);}else{var i=document.createElement("script");var Bj=function(){if(Ar[Bh]){if(i.parentNode){i.parentNode.removeChild(i);delete i;}Bk(Ar[Bh]);}};if(O()){i.onreadystatechange=Bj;}else{i.onload=Bj;}i.type="text/javascript";i.charset="utf-8";i.src=Bg;document.getElementsByTagName("head")[0].appendChild(i);BB++;}}function Bc(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 Be(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 BP(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 AQ(i,Bf){i.parentNode.insertBefore(Bf,i.nextSibling);}function BE(Bf,i){T[Bf]=i;}function AN(i){return T[i];}C.common.getOptions=AN;function A2(Bf,i,Bi,Bg){var Bh=X[Bf];if(!Bh){BF(Q(Bg)+"/content/"+V(Bf)+"/contents.js",null,function(Bj){Bh=BA(Bf,i,Bj);X[Bf]=Bh?Bh:"none";Bi(Bh);},Bg);}else{if(Bh=="none"){Bi(null);}else{Bi(Bh);}}}function BL(Bf,i,Bh,Bg){BF(Q(Bg)+"/content/"+V(Bf)+"/"+Bf+"-"+i+"-rollup.js",null,function(Bi){if(Bi){Bh(Bi.rollup);}},Bg);}function w(Bf,i,Bh,Bg){if(!Y){BF(Q(Bg)+"/content/"+V(Bf)+"/"+Bf+"-"+i+"-meta.js",null,function(Bi){Y=Bi?Bi.metadata:null;Bh();},Bg);}else{Bh();}}function Bd(Bf,i,Bi,Bj,Bh){if(!F[Bf+"-"+Bi]){var Bg=Q(Bh)+"/content/"+V(Bf)+"/"+Bf+"-"+i+"-"+Bi+"-reviews.js";BF(Bg,null,function(Bn){var Bl=[];for(var Bm=0;Bm<Bn.length;Bm++){var Bk=Bn[Bm].r;j[Bk.id]=Bk;Bl.push(Bk);}F[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++){Bd(Bg,Bf,Bk[Bi],function(){if(--Bj<=0){Bl();}},Bh);}}function N(i){return Math.round(i*2)/2;}function W(Bf,i){}function c(Bi,Bf){var Bh=G("pr_base_services_url",Bf);var i=Bh+"FacebookDisplayProfileController.dox";var Bg=y(Bi);if(Bg.length){i+="?"+Bg;}return i;}function A4(Bi,Bf){var Bh=G("pr_base_services_url",Bf);var i=Bh+"FacebookReviewStatementController.dox?context=STATEMENT";var Bg=y(Bi);if(Bg.length){i+="&"+Bg;}return i;}function BN(Bi,Bf){var Bh=G("pr_base_services_url",Bf);var i=Bh+"FacebookGetAdviceController/getAdviceQuestionForm.dox";var Bg=y(Bi);if(Bg.length){i+="?"+Bg;}return i;}function BX(Bi,Bh){var Bg=G("pr_page_id",Bh);var i=G("pr_locale",Bh);var Bl=G("pr_merchant_group_id",Bh);var Bk=G("pr_site_id",Bh)||"-";var Bj=Bi.avgRating||0;var Bf=BN({"mgId":Bl,"siteId":Bk,"pageId":Bg,"avgRating":Bj,"locale":i},Bh);z(Bf,450,600,{"location":"no"});}C.common.showFacebookGetAdvicePopup=BX;function y(Bf){var i=[];for(var Bg in Bf){i.push(Bg+"="+AU(Bf[Bg]));}return i.join("&");}function As(Bg,Bh,i,Bf){window.open("http://images2.powerreviews.com/media_popup.html?type=image&url="+AU(Bg),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width="+Bh+",height="+i+",top=100,left=100");}C.common.showImagePopup=As;window.showImagePopup=As;function z(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();}}C.common.showSmallPopup=z;window.showSmallPopup=z;function g(Bf,i){window.open("http://images2.powerreviews.com/media_popup.html?type=video&url="+AU(Bf),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width=435,height=350,top=100,left=100");}C.common.showVideoPopup=g;window.showVideoPopup=g;function Z(Bi,Bg,Bf,Bh){var i=function(){Be(document.getElementById(Bi.target),"pr-open");Bc(document.getElementById(Bi.target),"pr-closed");};var Bj=function(){Be(document.getElementById(Bi.target),"pr-closed");Bc(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);}}}}}C.common.togglePopOut=Z;function Ba(Bf){var i=document.getElementById(Bf);Be(i,"pr-hidden");}C.display.showElement=Ba;function U(Bf){var i=document.getElementById(Bf);Bc(i,"pr-hidden");}C.display.hideElement=U;function r(Bh,Bi,Bg,i){var Bf=Bh.substring(Bi,Bg);if(i){Bf+="...";}return Bf;}function BT(i,Bg){var Bf=document.getElementById(Bg).innerHTML;AS(i,Bf);}var Ax={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(Bh){var Bf="";var Bo,Bm,Bk,Bn,Bl,Bj,Bi;var Bg=0;Bh=Ax._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=Ax._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 t={};var AC=0;var x=1;var J=2;var BQ=3;var h=4;var Av=5;var AA=null;var An=new Date();var AL={};var E={};var AY=[];function L(i){return G("pr_merchant_table",i)["m"+G("pr_merchant_id",i)];}function P(i,Bf){var Bg=G("pr_analytics_script_src",Bf);if(Bg){i.write('<script src="'+Bg+'" type="text/javascript"><\/script>');}}function Aw(Bh,Bj){if(Ag(Bh,Bj)){var Bi=G("pr_page_id",Bj);var Bg=BU(Bi);var Bf=G("pr_locale",Bj);var i="engine-"+Bg+"-"+Bf;BE(i,Bj);var Bl=document.getElementById("prReviewEngineDiv");var Bk=function(){var Bo=document.getElementById("writeReview")||document.getElementById("write-review-"+Bg);if(Bo){var Bm=H(Bi,Bj);if(Bm){Bo.href=Bm;var Bn=document.getElementById("prSummaryWriteReviewId_R")||document.getElementById("prSummaryWriteReviewId_NR");if(Bn){Bn.style.display="";}}}else{setTimeout(Bk,100);}};if(!Bl){AM(Bh,Bg);}P(Bh,Bj);if(!Bl||G("pr_overwrite_inline_content",Bj)){AB(Bg,Bf,i,Bj,function(){BW(Bg);Bk();A(Bj);});}else{Bk();A(Bj);}Ad(Bg,Bf,Bj);}}C.display.engine=Aw;window.engine=Aw;function H(i,Bf){return p(G("pr_write_review",Bf),"~~~PAGE_ID~~~",i);}function AM(i,Bf){i.write('<div id="prReviewEngineDiv" class="prReviewEngine"><div id="prHeader"></div><div id="prContents"></div></div>');}function BW(Bf){var Bg=document.getElementById("pr-review-engine-screen-"+Bf);if(Bg&&Bg.parentNode){Bg.parentNode.removeChild(Bg);}var i=document.getElementById("pr-review-engine-"+Bf);if(i){Be(i,"pr-review-engine-screened");}}function Bb(Bh,Bf){var Bg=n(G("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 AB(Bg,Bf,i,Bh,Bi){A2(Bg,Bf,function(Bl){var Bk=(Bl&&Bl.reviews&&Bl.reviews.review_count)||0;var Bn=(Bl&&Bl.reviews&&Bl.reviews.review_ratings)||[0,0,0,0,0];var Bj;var Bm=function(){if(--Bj<=0){Bi();}};if(Bk>0){Bj=2;I(Bg,Bf,Bk,Bn,i,Bh,Bm);Ah(1,Bg,Bf,i,Bh,Bm);}else{Bj=1;I(Bg,Bf,Bk,Bn,i,Bh,Bm);}},Bh);}function Ad(Bf,i,Bg){A2(Bf,i,function(Bi){var Bh=0;var Bj=0;if(Bi&&Bi.reviews){Bh=Bi.reviews.review_count;Bj=Bi.reviews.avg;}BZ("main",new AP(Bf,Bh,0,N(Bj)));window.setTimeout(function(){Bb(Bh,Bg);},2000);},Bg);}function A(Bg){if(G("pr_site_id",Bg)||!false){var Bf=BP(document,"p","pr-fb-needs-merchant");var Bf=Bf.concat(BP(document,"div","pr-fb-needs-merchant"));for(var Bh=0;Bh<Bf.length;Bh++){var Bi=Bf[Bh];Bi.style.display="";}}}function A6(Bj,Bg,Bf,i,Bh){var Bi=new Date();if(Bi.getTime()-An.getTime()>1000){An=Bi;w(Bg,Bf,function(){AF(Bj.selectedIndex,Bg);R(1,Bg,Bf,"sort",i,Bh);},Bh);}}C.display.startSort=A6;function AF(Bg,i){Y.sort(t[Bg]);AA=Bg;var Bf=document.getElementById("prHeader");if(Bf){Bf.focus();}}function BC(Bf,i){if(Bf.oid&&i.oid){return i.oid-Bf.oid;}return i.rid-Bf.rid;}t[AC]=function(Bf,i){if(Bf.date==i.date){return BC(Bf,i);}return i.date-Bf.date;};t[x]=function(Bf,i){if(i.date==Bf.date){return BC(i,Bf);}return Bf.date-i.date;};t[J]=function(Bf,i){if(i.rating==Bf.rating){return BC(Bf,i);}return i.rating-Bf.rating;};t[BQ]=function(Bf,i){if(i.rating==Bf.rating){return BC(i,Bf);}return Bf.rating-i.rating;};t[h]=function(Bf,i){if(i.helpfulScore==Bf.helpfulScore){return BC(Bf,i);}return i.helpfulScore-Bf.helpfulScore;};t[Av]=function(Bf,i){if(i.helpfulScore==Bf.helpfulScore){return BC(i,Bf);}return Bf.helpfulScore-i.helpfulScore;};function Ah(Bi,Bg,Bf,i,Bh,Bj){A2(Bg,Bf,function(Bk){var Bl=[Bi];b(Bg,Bf,Bl,function(){var Bm=0;if(Bk.reviews){Bm=Bk.reviews.review_count;}AS("prContents",Ai(F[Bg+"-"+Bi],Bg,Bf,Bk.name,Bk.vNames,Bm,G("pr_reviews_per_page",Bh),1,"#ReviewHeader","#ReviewHeader",false,i,Bh),Bj);},Bh);},Bh);}function M(Bi,Bg,Bf,i,Bh){R(Bi,Bg,Bf,"page",i,Bh);}function R(Bi,Bg,Bf,Bj,i,Bh){w(Bg,Bf,function(){if(AA==null){AF(AC,Bg);}A2(Bg,Bf,function(Bn){var Bl=G("pr_reviews_per_page",Bh);var Br=(Bi-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=Y[Bm].batch;if(!Bo[Bk]){Bq.push(Bk);Bo[Bk]=true;}}b(Bg,Bf,Bq,function(){var Bt=[];for(var Bs=Br;Bs<=Bp;Bs++){Bt.push(j[Y[Bs].rid]);}AS("prContents",Ai(Bt,Bg,Bf,Bn.name,Bn.vNames,Bn.reviews.review_count,Bl,Bi,"#ReviewHeader","#ReviewHeader",false,i,Bh),function(){A();});},Bh);},Bh);},Bh);W({"type":Bj},Bh);}C.display.getReviewsFromMeta=M;function I(Bg,Bf,Bi,Bk,i,Bh,Bl){var Bj="prHeader";if(Bi>0){BL(Bg,Bf,function(Bm){if(Bm){AS(Bj,BK(Bi,Bk,Bm,Bg,Bf,i,Bh),Bl);}},Bh);}else{AS(Bj,BK(Bi,Bk,null,Bg,Bf,i,Bh),Bl);}}function s(Bf,Bh,i,Bg){var Bi="Thank you for your feedback.  Please note that only your first vote will be counted.";if(!AL[Bf]||AL[Bf]=="undefined"){a(G("pr_js_controller_url",Bg)+"?command=helpfulVote&reviewId="+Bf+"&voteType="+Bh);AL[Bf]=1;}else{Bi="You may only submit one vote per review.";}AS("review_feedback"+Bf,Bi);}C.display.submitHelpfulVote=s;function S(Bg,Bf,i,Bh){if(!E[Bg]||E[Bg]=="undefined"){var Bi=document.getElementById("error_div"+Bg);Bi.innerHTML=Ab(Bg,Bf,i,Bh);document.getElementById("error_div"+Bg).style.display="block";}else{AS("review_feedback"+Bg,"You have already notified us of an error for this review.");}}C.display.launchErrorDiv=S;function AD(i){document.getElementById("error_div"+i).style.display="none";}function Al(Bf,i,Bh){var Bj=AX("error_radio"+Bf);var Bl=document.getElementById("error_comments"+Bf).value;Bl=Bl.substring(0,256);var Bg=n(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+"]";}if(!/.+@.+/.test(Bg)){alert("Email Address is required when flagging a review");}else{if(!Bj){alert("Please select the reason you are flagging this review");}else{a(G("pr_js_controller_url",Bh)+"?command=helpfulVote&reviewId="+Bf+"&merchantId="+G("pr_merchant_id",Bh)+"&voteType="+Bj+"&errorComments="+AU(Bl)+"&errorContactEmail="+AU(Bg));AS("review_feedback"+Bf,"Thank you for notifying us of this error.");AL[Bf]=1;E[Bf]=1;AD(Bf);}}}C.display.submitError=Al;function v(i){AD(i);}C.display.cancelError=v;function AJ(Bh,Bg){if(typeof Bh=="function"&&K(Bg)){var Bf=G("pr_page_id",Bg);var i=BU(Bf);A2(i,G("pr_locale",Bg),function(Bi){if(Bi&&Bi.reviews){Bh(new AP(Bf,Bi.reviews.review_count,0,N(Bi.reviews.avg)));}else{Bh(new AP(Bf,0,0,0));}},Bg);}}C.display.prData=AJ;window.prData=AJ;function Az(i){AY.push(i);}C.display.registerCallback=Az;window.registerCallback=Az;function d(){return{"offsetY":document.body.scrollTop||document.documentElement.scrollTop,"viewportWidth":document.getElementsByTagName("body")[0].clientWidth};}function AT(i,Bi,Bg,Bj){Ay(i);var Bf=document.getElementById("pr-modal-container-"+i);if(Bg){if(Bg.ctx=="top"){Bj.parentNode.insertBefore(Bf,Bj);Bf.style.top="-"+(Bf.offsetHeight+30)+"px";}else{AQ(Bj,Bf);Bf.style.top="15px";}var Bk=BP(document,"div","pr-modal-wrapper");Bf.style.width=Bg.w+"px";Bf.style.left=0;}else{var Bh=d();Bf.style.left=((Bh.viewportWidth-Bf.offsetWidth)/2)+"px";Bf.style.top=(Bh.offsetY+100)+"px";}AS("pr-modal-"+i,Bi,function(){Be(Bf,"pr-hidden");});}function AW(i){Bc(document.getElementById("pr-modal-container-"+i),"pr-hidden");}C.display.hideModal=AW;function Ay(i){var Bf=document.getElementById("pr-modal-container-"+i);if(!Bf){Bf=document.createElement("div");Bf.id="pr-modal-container-"+i;Bf.className="pr-modal-container pr-hidden";Bf.innerHTML=A8(i);}document.getElementsByTagName("body")[0].appendChild(Bf);var Bg=BP(Bf,"div","pr-modal-wrapper");Bf.style.height="auto";Bf.style.width="";Bg[0].style.height="auto";}function A7(Bg,Bi){Ay(Bg);BT("pr-modal-"+Bg,Bi);var Bf=document.getElementById("pr-modal-container-"+Bg);document.getElementById("pr-header-"+Bg).appendChild(Bf);var Bh=BP(document,"div","pr-modal-wrapper")[0];var i=BP(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";Be(Bf,"pr-hidden");}C.display.displayFaceoffModal=A7;function Ak(Bg,Bf,Bi,Bj,Bk,Bh){var i=Bi["r"]||false;Aj(Bg,Bf,i,Bj,Bk,Bh);}C.display.showFollowProductModalWithHash=Ak;function B(Bf,i,Bh,Bi,Bg){Aj(Bf,i,{"r":true},Bh,Bi,Bg);}C.display.showFollowProductModal=B;function Aj(Bh,Bi,Bn,Bf,Bk,Bm){var Bg=G("pr_page_id",Bm);var Bj="";var Bl="";var i=function(){var Bo=f(Bg,Bj,Bl,Bi,Bm);AT(Bh,Bo,Bf,Bk);};if(Bn){BL(Bh,Bi,function(Bo){if(Bo){Bj=Bo.r;Bl=Bo.i;}i();},Bm);}else{i();}}function o(Bf,i,Bh,Bi,Bg){BL(Bf,i,function(Bk){categoryInfo=BS(Bk,i,Bg);var Bj=Aq(categoryInfo,i,Bg);AT(Bf,Bj,Bh,Bi);},Bg);}C.display.showFollowProductCategoryModal=o;function Af(Bh){var Bg=BP(document.getElementById("pr-fb-follow-product-category-like-wrapper"),"iframe","pr-fb-likebtn");for(var Bf=0;Bf<Bg.length;Bf++){Be(Bg[Bf],"pr-hidden");Bc(Bg[Bf],"pr-hidden");}Be(document.getElementById(Bh),"pr-hidden");}C.display.toggleFbLikeButton=Af;function BZ(Bh,Bg){for(var Bf=0;Bf<AY.length;Bf++){AY[Bf](Bh,Bg);}}function Ap(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 BV(Bi,Bf){var i=null;if(Bi){var Bg=G("pr_badge_table",Bf);for(var Bh=0;Bh<Bi.length;Bh++){i=Bg[Bi[Bh]];if(i){break;}}}return i;}function BS(Bf,Br,Bt){var Bu=[];if(Bf&&Bf.c&&Bf.c.n&&Bf.c.c){var Bl=Bf.c.n;var Bn=Bf.c.c;var Bm=":";var Bj=new RegExp(Bm+"$");var Bp=Bl.replace(Bj,"").split(Bm);var i=Bn.replace(Bj,"").split(Bm);if(Bp.length==i.length){var Bk=Bp.length;var Bs=Math.min(Bk,3);var Bh=Bk-Bs;for(var Bo=Bh;Bo<Bk;Bo++){var Bq=Bp[Bo];var Bi=i.slice(0,Bo+1).join(Bm)+Bm;var Bg=m(Bi,Br,Bt);Bu.push({"label":Bq,"url":Bg});}}}return Bu;}function A9(Bh,i,Bg){var Bf=BS(Bh,i,Bg);return Bf.length>0;}function AG(Bg,i,Bf){var Bh=AU(G("pr_site_id",Bf)||"-");return G("pr_base_follow_landing_url",Bf)+"product/"+i+"/"+G("pr_merchant_group_id",Bf)+"/"+Bh+"/"+AU(Bg);}function m(Bh,i,Bf){var Bg=AU(G("pr_site_id",Bf)||"-");return G("pr_base_follow_landing_url",Bf)+"productCategory/"+i+"/"+G("pr_merchant_group_id",Bf)+"/"+Bg+"/"+AU(Bh);}function BK(Bj,Bg,i,Bh,Bm,Bk,Bq){var Br=[];var Bl=Q(Bq);Br.push('<div id="prReviewSummary"><a name="ReviewHeader"></a><div class="prSummaryHeader"><span class="prSummaryTitle">');Br.push("Review Snapshot&reg;");Br.push("</span>");if(L(Bq).cobranded){Br.push('<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_en_US.html");Br.push("', 410, 420); return false;\"> ");Br.push("by PowerReviews");Br.push("</a></span>");}Br.push("</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||i.b==0){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("");}C.display.processRollupTemplate=BK;function Ai(Bw,CJ,Bt,Bz,CC,By,Bi,Bk,B3,i,CF,B4,Bx){var Bo=[];var Br=(Bk-1)*Bi;var Bj=Br+Bi-1;if(Bj>By-1){Bj=By-1;}var B2=G("pr_back_to_top_link",Bx);var CE=Q(Bx);var CI=p(G("pr_badge_definitions_url",Bx),"~~~LOCALE~~~",Bt);var B5=p(G("pr_expert_badge_definitions_url",Bx),"~~~LOCALE~~~",Bt);var Bq=["None","Not Good","Needs That Special Something","Average, Ordinary","That's Good Stuff","Perfect. It doesn't get any better"];var B1={"Yes":"Yes, I would recommend this to a friend","No":"No, I would not recommend this to a friend"};if(!CF){Bo.push('<div class="prPagination"><span class="prPageCount">');if(Br==Bj){Bo.push("Displaying Review");Bo.push(" <strong>");Bo.push((Br+1));Bo.push("</strong> ");}else{Bo.push("Displaying Reviews");Bo.push(" <strong>");Bo.push((Br+1));Bo.push("-");Bo.push((Bj+1));Bo.push("</strong> ");}Bo.push("of");Bo.push(" ");Bo.push(By);Bo.push('</span><span class="prNavBackToTopTop"><a href="');Bo.push(B2);Bo.push('">');Bo.push("Back to Top");Bo.push("</a></span>");if(By>Bi){Bo.push('<span class="prPageNav">');if(Br>0){Bo.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');Bo.push(Bk-1);Bo.push(", '");Bo.push(CJ);Bo.push("', '");Bo.push(Bt);Bo.push("', '");Bo.push(B4);Bo.push("', POWERREVIEWS.common.getOptions('");Bo.push(B4);Bo.push('\')); return false;" href="');Bo.push(B3.replace("~~~REVIEW_PAGE~~~",Bk-1));Bo.push('">&laquo; ');Bo.push("Previous");Bo.push("</a>");}else{Bo.push("Previous");}Bo.push(" | ");if(Bj<By-1){Bo.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');Bo.push(Bk+1);Bo.push(", '");Bo.push(CJ);Bo.push("', '");Bo.push(Bt);Bo.push("', '");Bo.push(B4);Bo.push("', POWERREVIEWS.common.getOptions('");Bo.push(B4);Bo.push('\')); return false;" href="');Bo.push(i.replace("~~~REVIEW_PAGE~~~",Bk+1));Bo.push('">');Bo.push("Next");Bo.push(" &raquo;</a>");}else{Bo.push("Next");}Bo.push("</span>");}Bo.push("</div>");}for(var B6=0;B6<Bw.length;B6++){var Bl=Bw[B6];var B9=null;if(Bl.cb){var Bh=G("pr_badge_table",Bx);for(var B0=0;B0<Bl.cb.length;B0++){B9=Bh[Bl.cb[B0]];if(B9){break;}}}if(B9&&B9.label=="staff-expert"){Bo.push('<div class="prReviewWrap prExpert prStaff">');}else{Bo.push('<div class="prReviewWrap">');}if(B9&&B9.label=="staff-expert"){Bo.push('<div class="prExpertHeader">');Bo.push("Staff Expert");Bo.push(' <span class="prExpertHelp">(<a href="');Bo.push(B5);Bo.push('">');Bo.push("what's this?");Bo.push("</a>)</span></div>");}if(CF&&Bl.pr&&Bl.pr.n){Bo.push('<p class="prReviewAbout">');Bo.push("Review of");Bo.push(' <a href="');Bo.push(Bl.pr.u);Bo.push('">');Bo.push(Bl.pr.n);Bo.push("</a></p>");}if(Bl.t>0){Bo.push('<p class="prReviewHelpfulText">[<span class="prReviewHelpfulCount">');Bo.push(Bl.v);Bo.push(" ");Bo.push("of");Bo.push(" ");Bo.push(Bl.t);Bo.push("</span> ");Bo.push("customers found this review");Bo.push(' <span class="prReviewHelpful">');Bo.push("helpful");Bo.push("</span>]</p>");}Bo.push('<div class="prReviewRating"><div class="prStars prStarsSmall" style="background-position: 0px ');Bo.push(Bl.r*-36);Bo.push("px; background-image: url(");Bo.push(CE);Bo.push("/engine/images/stars_small");Bo.push(".gif");Bo.push(')" title="');Bo.push(Bq[Bl.r]);Bo.push('">&#160;</div><div class="prReviewRatingHeadline">');Bo.push(Bl.h);Bo.push('</div></div><div class="prReviewAuthor"><span class="prReviewAuthorName">');Bo.push("By");Bo.push(" <span>");if(!CF&&Bl.pi&&!Bl.dp){var Bv=G("pr_see_all_reviews_url",Bx).replace("~~~MERCHANT_USER_ID~~~",Bl.mu);if(Bv){Bo.push('<a class="prReviewAuthorProfileLnk" href="');Bo.push(Bv);Bo.push('">');Bo.push(Bl.n);Bo.push("</a>");}else{Bo.push('<a class="prReviewAuthorProfileLnk" href="#" onclick="POWERREVIEWS.display.showProfile(\'');Bo.push(Bl.pi);Bo.push("', '");Bo.push(Bl.n);Bo.push("', '");Bo.push(CJ);Bo.push("', '");Bo.push(Bt);Bo.push("', POWERREVIEWS.common.getOptions('");Bo.push(B4);Bo.push("')); return false;\">");Bo.push(Bl.n);Bo.push("</a>");}}else{Bo.push(Bl.n);}Bo.push("</span>");if(B9&&B9.label=="staff"){Bo.push('<a href="');Bo.push(B5);Bo.push('"><img class="prVerified" src="');Bo.push(CE);Bo.push("/engine/images/badge_sr_");Bo.push(Bt);Bo.push(".gif");Bo.push('" alt="');Bo.push("Staff Reviewer");Bo.push('" title="');Bo.push("Staff Reviewer");Bo.push('"/></a>');}if(Bl.m){Bo.push('<img class="prSiteMember" src="');Bo.push(CE);Bo.push('/engine/images/pixel.gif" alt="');Bo.push("Site Member");Bo.push('" title="');Bo.push("Site Member");Bo.push('"/>');}if(!B9||B9.label!="staff"){if(Bl.o=="e"){Bo.push('<a href="');Bo.push(CI);Bo.push('"><img class="prVerified" src="');Bo.push(CE);Bo.push("/engine/images/badge_vp_");Bo.push(Bt);Bo.push(".gif");Bo.push('" alt="');Bo.push("Verified Buyer");Bo.push('" title="');Bo.push("Verified Buyer");Bo.push('"/></a>');}else{if(!false&&!Bl.e&&Bl.c&&Bl.c=="v"){Bo.push('<a href="');Bo.push(CI);Bo.push('"><img class="prVerified" src="');Bo.push(CE);Bo.push("/engine/images/badge_vr_");Bo.push(Bt);Bo.push(".gif");Bo.push('" alt="');Bo.push("Verified Reviewer");Bo.push('" title="');Bo.push("Verified Reviewer");Bo.push('"/></a>');}}}Bo.push('</span><span class="prReviewAuthorLocation"> ');Bo.push("from");Bo.push(" <span>");Bo.push(Bl.w);Bo.push('</span></span><span class="prReviewAuthorDate"> ');Bo.push("on");Bo.push(" <span>");Bo.push(Bl.d);Bo.push('</span></span></div><div class="prReviewPoints">');if(Bl.a){for(var Bf=0;Bf<Bl.a.length;Bf++){var Bp=Bl.a[Bf];for(var CB=0;CB<Bp.v.length;CB++){var CD=Bp.v[CB];Bo.push('<div style="display:block"><div class="prAdditionalRatingName">');Bo.push(CD.n);Bo.push(': </div><div class="prAdditionalRatingValue"><div class="prStars prStarsSmall" style="margin-top:5px; background-position: 0px ');Bo.push(CD.v*-36);Bo.push("px; background-image: url(");Bo.push(CE);Bo.push("/engine/images/stars_small");Bo.push(".gif");Bo.push(')" title="');Bo.push(CD.d);Bo.push('">&#160;</div></div></div>');}}Bo.push("<br />");}if(Bl.g){for(var Bf=0;Bf<Bl.g.length;Bf++){var Bp=Bl.g[Bf];Bo.push('<div class="prAttributeGroup"><div class="prReviewKey">');Bo.push(Bp.n);Bo.push(':</div><div class="prReviewValue">');Bo.push(Bp.v.join(", "));Bo.push('</div></div><div class="prAttributeGroupSeparator"></div>');}}if(Bl.rp){Bo.push('<div class="prAttributeGroup"><div class="prReviewKey">');Bo.push("Accessories I Recommend");Bo.push(":</div>");var Bs=[];for(var CG=0;CG<Bl.rp.length;CG++){var B7=Bl.rp[CG];if(B7.u){Bs[Bs.length]='<a href="'+B7.u+'">'+B7.n+"</a>";}else{Bs[Bs.length]=B7.n;}}Bo.push('<div class="prReviewValue">');Bo.push(Bs.join(", "));Bo.push('</div></div><div class="prAttributeGroupSeparator"></div>');}if(Bl.sp){Bo.push('<div class="prAttributeGroup"><div class="prReviewKey">');Bo.push("Similar Products I Own");Bo.push(":</div>");var Bu=[];for(var CH=0;CH<Bl.sp.length;CH++){var Bm=Bl.sp[CH];if(Bm.u){Bu[Bu.length]='<a href="'+Bm.u+'">'+Bm.n+"</a>";}else{Bu[Bu.length]=Bm.n;}}Bo.push('<div class="prReviewValue">');Bo.push(Bu.join(", "));Bo.push('</div></div><div class="prAttributeGroupSeparator"></div>');}if(Bl.x){Bo.push('<div class="prReviewKey">');Bo.push(Bl.x.n);Bo.push(':</div><div class="prReviewValue">');Bo.push(Bl.x.v);Bo.push("</div>");}if(Bl.b){var Bg;if(Bl.b.v){Bg=Bl.b.v;}else{Bg=B1[Bl.b.k];}Bo.push('<div class="prReviewKey">');Bo.push(Bl.b.n);Bo.push(':</div><div class="prReviewValue">');Bo.push(Bg);Bo.push("</div>");}Bo.push("</div>");if(Bl.tb){Bo.push('<div class="prReviewExtraText"> ');for(var Bf=0;Bf<Bl.tb.length;Bf++){var Bp=Bl.tb[Bf];Bo.push('<div class="prAttributeGroup"><div class="prReviewKey">');Bo.push(Bp.n);Bo.push(':</div><div class="prReviewValue">');Bo.push(Bp.v);Bo.push('</div></div><div class="prAttributeGroupSeparator"></div>');}Bo.push("</div> ");}Bo.push('<div class="prReviewText">');if(Bz){Bo.push('<p class="prCommentsHeader"><span class="prStrong">');Bo.push("Comments about");Bo.push('</span> <span class="prEmphasis">');Bo.push(Bz);Bo.push(":</span></p>");}Bo.push('<p class="prComments">');Bo.push(e(Bl.p));Bo.push("</p></div>");if(Bl.z){Bo.push('<div class="prServiceCommentsHeader">');Bo.push("Service & Delivery comments:");Bo.push('</div><p class="prServiceComments">');Bo.push(e(Bl.z));Bo.push("</p>");}if(Bl.i){if(Bl.i.t=="i"){Bo.push("Images");}else{if(Bl.i.t=="v"){Bo.push("Videos");}else{Bo.push("Images and videos");}}Bo.push(" ");Bo.push("shared by:");Bo.push(" <strong>");Bo.push(Bl.n);Bo.push('</strong><div class="prCustomerPics">');for(var CA=0;CA<Bl.i.r.length;CA++){var Bn=Bl.i.r[CA];if(CA==0){Bo.push('<div class="prPic prLeft">');}else{Bo.push('<div class="prPic">');}if(Bn.c){Bo.push('<p class="prCaption">');Bo.push(Bn.c);Bo.push("</p>");}else{Bo.push('<p class="prCaption"></p>');}if(!Bn.v){Bo.push('<div class="prPicContent"><div class="wrap1"><div class="wrap2">');if(Bn.s){Bo.push('<a href="#" onclick="POWERREVIEWS.common.showImagePopup(\'');Bo.push(Bn.s.u);Bo.push("', ");Bo.push(Bn.s.w);Bo.push(", ");Bo.push(Bn.s.h);Bo.push(", POWERREVIEWS.common.getOptions('");Bo.push(B4);Bo.push('\')); return false;"><img src="');Bo.push(CE);Bo.push("/content");Bo.push(Bn.h.u);Bo.push('" alt="Image Thumbnail" width="');Bo.push(Bn.h.w);Bo.push('" height="');Bo.push(Bn.h.h);Bo.push('" /></a>');}else{Bo.push('<img src="');Bo.push(CE);Bo.push("/content");Bo.push(Bn.h.u);Bo.push('" alt="Image Thumbnail" width="');Bo.push(Bn.h.w);Bo.push('" height="');Bo.push(Bn.h.h);Bo.push('" />');}Bo.push("</div></div></div>");}else{Bo.push('<div class="prVidContent"><div class="wrap"><a id="pr_video_thumbnail_container" href="#" onclick="POWERREVIEWS.common.showVideoPopup(\'');Bo.push(Bn.v);Bo.push("', POWERREVIEWS.common.getOptions('");Bo.push(B4);Bo.push('\')); return false;"><img id="pr_video_thumbnail" src="');Bo.push(Bn.h.u);Bo.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(Bn.g){if(Bn.v){Bo.push('<p class="prVidTags">');}else{Bo.push('<p class="prPicTags">');}Bo.push('<span class="prTaglabel">');Bo.push("Tags:");Bo.push("</span>");Bo.push(Bn.g.join(", "));Bo.push("</p>");}Bo.push("</div>");}Bo.push("</div>");}if(Bl.y){for(var B8=0;B8<Bl.y.length;B8++){Bo.push('<div class="prMerchantResponse"><strong>');Bo.push(L(Bx).name);Bo.push(" ");Bo.push("Response:");Bo.push("</strong> ");Bo.push(e(Bl.y[B8]));Bo.push("</div>");}}if(!CF){Bo.push('<div class="prReviewTools"><span class="prReviewHelpfulText">');Bo.push("Was this review helpful to you?");Bo.push('&nbsp;<a class="prReviewHelpfulTextLink" href="#" onclick="POWERREVIEWS.display.submitHelpfulVote(\'');Bo.push(Bl.id);Bo.push("', 'helpful', '");Bo.push(Bt);Bo.push("', POWERREVIEWS.common.getOptions('");Bo.push(B4);Bo.push("')); return false;\">");Bo.push("Yes");Bo.push('</a> / <a class="prReviewHelpfulTextLink" href="#" onclick="POWERREVIEWS.display.submitHelpfulVote(\'');Bo.push(Bl.id);Bo.push("', 'unhelpful', '");Bo.push(Bt);Bo.push("', POWERREVIEWS.common.getOptions('");Bo.push(B4);Bo.push("')); return false;\">");Bo.push("No");Bo.push('</a></span><span class="prReviewReportIssue"><span class="prReviewReportIssueHyphen">- </span>');Bo.push("Is this");Bo.push(' <a href="#" class="prReviewHelpfulTextLink" onclick="POWERREVIEWS.display.launchErrorDiv(\'');Bo.push(Bl.id);Bo.push("', '");Bo.push(Bt);Bo.push("', '");Bo.push(B4);Bo.push("', POWERREVIEWS.common.getOptions('");Bo.push(B4);Bo.push("')); return false;\">");Bo.push("review inappropriate?");Bo.push('</a>.</span></div><div class="errorDiv" id="error_div');Bo.push(Bl.id);Bo.push('" style="display:none;padding-left:5px;padding-bottom:5px;"></div><p><strong><div class="prReviewHelpfulText" id="review_feedback');Bo.push(Bl.id);Bo.push('"></div></strong></p>');}Bo.push("</div>");}if(!CF){Bo.push('<div class="prPagination"><span class="prPageCount">');if(Br==Bj){Bo.push("Displaying Review");Bo.push(" <strong>");Bo.push((Br+1));Bo.push(" </strong>");}else{Bo.push("Displaying Reviews");Bo.push(" <strong>");Bo.push((Br+1));Bo.push("-");Bo.push((Bj+1));Bo.push(" </strong>");}Bo.push("of");Bo.push(" ");Bo.push(By);Bo.push('</span><span class="prNavBackToTopTop"><a href="');Bo.push(B2);Bo.push('">');Bo.push("Back to Top");Bo.push("</a></span>");if(By>Bi){Bo.push('<span class="prPageNav">');if(Br>0){Bo.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');Bo.push(Bk-1);Bo.push(", '");Bo.push(CJ);Bo.push("', '");Bo.push(Bt);Bo.push("', '");Bo.push(B4);Bo.push("', POWERREVIEWS.common.getOptions('");Bo.push(B4);Bo.push("')); location.hash = '#ReviewHeader'; return false;\" href=\"");Bo.push(B3.replace("~~~REVIEW_PAGE~~~",Bk-1));Bo.push('">&laquo; ');Bo.push("Previous");Bo.push("</a>");}else{Bo.push("Previous");}Bo.push(" | ");if(Bj<By-1){Bo.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');Bo.push(Bk+1);Bo.push(", '");Bo.push(CJ);Bo.push("', '");Bo.push(Bt);Bo.push("', '");Bo.push(B4);Bo.push("', POWERREVIEWS.common.getOptions('");Bo.push(B4);Bo.push("')); location.hash = '#ReviewHeader'; return false;\" href=\"");Bo.push(i.replace("~~~REVIEW_PAGE~~~",Bk+1));Bo.push('">');Bo.push("Next");Bo.push(" &raquo;</a>");}else{Bo.push("Next");}Bo.push("</span>");}Bo.push("</div>");}Bo.push("<!-- garby -->");return Bo.join("");}C.display.processReviewsTemplate=Ai;function Ab(Bh,Bg,Bf,Bi){var i=[];i.push('<div class="prReportIssueHeader"><span class="prReportIssueText">');i.push('<span class="pr-required">*</span><br></span></div>');i.push("Please let us know what kind of issue this is:");i.push('<span class="pr-required">*</span><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('<span class="pr-required">*</span><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><button class="pr-submit-button" onclick="POWERREVIEWS.display.submitError(\'');i.push(Bh);i.push("', '");i.push(Bg);i.push("', POWERREVIEWS.common.getOptions('");i.push(Bf);i.push("')); return false;\"><span>");i.push("Submit");i.push('</span></button><button class="pr-cancel-button" onclick="POWERREVIEWS.display.cancelError(\'');i.push(Bh);i.push("'); return false;\"><span>");i.push("Cancel");i.push("</span></button>");return i.join("");}C.display.processErrorDivTemplate=Ab;function q(Bh,Bf,Bg){var i=[];i.push("<!-- nice try -->");return i.join("");}function BJ(Bh,Bf,Bg){var i=[];i.push("<!-- nice try -->");return i.join("");}function k(Bg,Bf,Bh){var i=[];i.push("<!-- nice try -->");return i.join("");}function u(Bg,Bk,Bm){var Bn=[];if(Bg){var Bj=Q(Bm);var Bh=p(G("pr_expert_badge_definitions_url",Bm),"~~~LOCALE~~~",Bk);var Bf=Bg.locales[Bk];var Bl=(Bg.label=="staff"||Bg.label=="staff-expert");if(Bf){var Bi=Bg.label.replace(/[^-_a-zA-Z]/g,"_");var i="pr-review-author-"+Bi+"-wrapper";Bn.push('<div class="');Bn.push(i);Bn.push(" ");Bn.push(i);Bn.push("-");Bn.push(Bk);Bn.push('">');if(Bl){Bn.push('<a href="');Bn.push(Bh);Bn.push('">');}Bn.push('<img class="pr-badge pr-');Bn.push(Bi);Bn.push('" src="');Bn.push(Bj);Bn.push("/engine/images/badges/");Bn.push(Bf.filename);Bn.push('" alt="');Bn.push(Bf.hovertext);Bn.push('" title="');Bn.push(Bf.hovertext);Bn.push('" />');if(Bl){Bn.push("</a>");}Bn.push("</div>");}}Bn.push("<!-- woozle -->");return Bn.join("");}function f(Bh,Bj,Bi,Bf,Bg){var i=[];i.push("<!-- nice try -->");return i.join("");}function Aq(Bh,Bf,Bg){var i=[];i.push("<!-- nice try -->");return i.join("");}function A8(Bf){var i=[];i.push('<div class="pr-modal-toolbar"><a class="pr-modal-container-close" href="#" onclick="POWERREVIEWS.display.hideModal(\'');i.push(Bf);i.push('\'); return false;"><span>close</span></a><div class="pr-clear"></div></div><div class="pr-modal-wrapper"><div id="pr-modal-');i.push(Bf);i.push('" class="pr-modal-content"></div></div>');return i.join("");}var BI=0;var AH=false;function BM(Bg,Bi){if(Ag(Bg,Bi)){Ae(Bg,Bi);var Bh=BU(G("pr_page_id",Bi));var Bf=G("pr_locale",Bi);var Bk="prSnippet"+Bh;var i=false;BI++;if(document.getElementById(Bk)){Ao(Bh,Bf,Bk,i,Bi);}else{var Bj="prSnippet"+Bh+"_"+BI;Bg.write('<div id="'+Bj+'" class="prSnippetEngine"></div>');Ao(Bh,Bf,Bj,i,Bi);}if(!AH){setTimeout(function(){BY(Bi);},3000);AH=true;}}}C.display.snippet=BM;window.snippet=BM;gFlagSnippetInitFinished=false;function Ae(i,Bf){if(gFlagSnippetInitFinished){return ;}gFlagSnippetInitFinished=true;}function BY(i){W({"type":"snippet","count":BI},i);}function BG(i,Bf){}function Au(i){return i+"-google-plus-one";}function Ao(Bg,Bf,Bi,i,Bh){A2(Bg,Bf,function(Bn){var Bj=G("pr_snippet_min_reviews",Bh);var Bm=0;var Bk=0;var Bl=Bi;if(Bn&&Bn.reviews){Bm=Bn.reviews.review_count;Bk=Bn.reviews.avg;}if(Bj<=Bm){AS(Bi,D(Bg,Bm,Bk,Bf,i,Bl,Bh),function(){BG(Au(Bl,Bh));});}},Bh);}function D(Bo,i,Bn,Bs,Bt,Bf,Bg){var Bm=[];var Bh=H(G("pr_page_id",Bg),Bg);var Bq=N(Bn);var Bz=Math.round(Bq);var Bi="";var Bx="";var Bu=G("pr_snippet_star_click",Bg);if(Bu){Bi="cursor:pointer;";Bx='onclick="'+Bu+'"';}var By=["Got it? Rate it.","Not Good","Needs That Special Something","Average, Ordinary","That's Good Stuff","Perfect. It doesn't get any better"];var Bp="Rating";var Bw="Review";if((i==0&&Bs.substring(0,2)!="fr")||i>1){Bp="Ratings";Bw="Reviews";}var Bj="";if(i>0){Bj="";}var Bv="star";if((Bn==0&&Bs.substring(0,2)!="fr")||Bn>1){Bv="stars";}var Br=G("pr_facebook_like_button_url",Bg);if(Br==null){Br=document.URL;}Br=AU(Br);if(Br==""){Bt=false;}var Bl=window.location.protocol;var Bk=false&&!G("pr_suppress_google_plus_one",Bg);Bm.push('<div class="prSnippetTitle">');Bm.push("Product Rating");Bm.push('</div><div class="prSnippetRatingUnclickable"><div class="prStars prStarsSmall" style="padding: 0; background-position: 0px ');Bm.push(Bq*-36);Bm.push("px; ");Bm.push(Bi);Bm.push(" background-image: url(");Bm.push(Q(Bg)+"/engine/images/stars_small.gif");Bm.push(')" ');Bm.push(Bx);Bm.push(' title="');Bm.push(By[Bz]);Bm.push('">&#160;</div><div class="prSnippetRatingDecimal">');Bm.push(Bn);Bm.push(" ");Bm.push(Bv);Bm.push('</div><div class="prSnippetNumberOfRatingsText">&nbsp;(');Bm.push(i);Bm.push(" ");Bm.push(Bp);Bm.push(")</div></div>");if(Bh){Bm.push('<div class="prSnippetWriteReview">');Bm.push(Bj);Bm.push(' <a class="prSnippetLink" href="');Bm.push(Bh);Bm.push('">');Bm.push("Write a Review");Bm.push("</a></div>");}if(i>0){Bm.push('<div class="prSnippetReadReviews"><a class="prSnippetLink" href="');Bm.push(G("pr_read_review",Bg));Bm.push('">');Bm.push("Read");Bm.push(" ");Bm.push(i);Bm.push(" ");Bm.push(Bw);Bm.push("</a></div>");}Bm.push('<div class="prSnippetSocialBar">');if(Bk){Bm.push('<div class="prGooglePlusOne"><div id="');Bm.push(Au(Bf));Bm.push('"></div></div>');}if(Bt){Bm.push('<div class="prFacebookLikeSnippet"><iframe src="');Bm.push(Bl);Bm.push("//www.facebook.com/plugins/like.php?href=");Bm.push(Br);Bm.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>');}Bm.push("</div><!-- hrm -->");return Bm.join("");}var BO=0;function Ac(Bf,Bh){if(Ag(Bf,Bh)){var Bg=BU(G("pr_page_id",Bh));var i=G("pr_locale",Bh);var Bj="pr-summary-snippet-"+Bg;if(document.getElementById(Bj)){BD(Bg,i,Bj,Bh);}else{var Bi="pr-summary-snippet-"+Bg+"-"+(BO++);Bf.write('<div id="'+Bi+'" class="pr-summary-snippet"></div>');BD(Bg,i,Bi,Bh);}}}C.display.summarySnippet=Ac;function BD(Bf,i,Bh,Bg){A2(Bf,i,function(Bk){var Bi=G("pr_snippet_min_reviews",Bg);var Bj=0;if(Bk&&Bk.reviews){Bj=Bk.reviews.review_count;if(Bi<=Bj){BF(Q(Bg)+"/content/"+V(Bf)+"/"+Bf+"-"+i+"-rollup.js",null,function(Bl){if(Bl.rollup){AS(Bh,AO(Bl.rollup,Bf,i,Bg));}},Bg);}}},Bg);}function AO(Bi,Bg,Bf,Bh){var i=[];i.push("<!-- nice try -->");return i.join("");}return C;})();var SHOPZILLAREVIEWS=POWERREVIEWS;
