var POWERREVIEWS=POWERREVIEWS||(function(){var BO={common:{},display:{}};var Ae=false;var Ag=false;var f=null;var AZ={};var AE={};var Az={};var Ak={};BO.common.gResult=Ak;window.gResult=Ak;var A7={};var AA=encodeURIComponent||escape;var AO="prBaseStylesheet";var Ay="prMerchantOverrideStylesheet";var AC={"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 AS={pr_merchant_table:{"m2948":{"name":"1-800 Contacts","cobranded":"true"}},pr_merchant_id:2948,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_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:"https://services.powerreviews.com/SubmitReview.do",pr_ask_question_url:"https://services.powerreviews.com/SubmitQuestion.dox",pr_answer_question_url:"https://services.powerreviews.com/SubmitAnswer.dox",pr_base_services_url:"http://services.powerreviews.com/",pr_resize_url:"",pr_snippet_min_reviews:0,pr_source:"web",pr_image_snippet_show_image:Y,pr_image_snippet_max:7,pr_snippet_star_click:"",pr_back_to_top_link:"#",pr_highlight_review_url:"http://cdn.powerreviews.com/newreview/~~~REVIEW_ID~~~.js",pr_see_all_reviews_url:"",pr_nbr_displayed_profile_reviews:-1,pr_overwrite_inline_content:false,pr_badge_table:{"11024":{"locales":{"en_GB":{"hovertext":"Staff Reviewer","description":"A Staff Expert is a merchant or brand employee with recognized expertise within the company who contributes a review based on in-depth knowledge of the product as well as related products.","filename":"badge_se_en_GB.gif"},"pt_BR":{"hovertext":"","description":"","filename":"badge_se_pt_BR.gif"},"en_US":{"hovertext":"Staff Reviewer","description":"A Staff Expert is a merchant or brand employee with recognized expertise within the company who contributes a review based on in-depth knowledge of the product as well as related products.","filename":"badge_se_en_US.gif"},"de_DE":{"hovertext":"Mitarbeiter-Bewerter","description":"","filename":"badge_se_de_DE.gif"},"it_IT":{"hovertext":"","description":"","filename":"badge_se_it_IT.gif"},"fr_CA":{"hovertext":"","description":"","filename":"badge_se_fr_CA.gif"},"fr_FR":{"hovertext":"","description":"","filename":"badge_se_fr_FR.gif"}},"label":"staff-expert","isStaff":true},"11023":{"locales":{"en_CA":{"hovertext":"Staff Reviewer","description":"A Staff Reviewer is a merchant or brand employee who contributes a review based on ownership or usage of the product.","filename":"badge_sr_en_CA.gif"},"en_GB":{"hovertext":"Staff Reviewer","description":"A Staff Reviewer is a merchant or brand employee who contributes a review based on ownership or usage of the product.","filename":"badge_sr_en_GB.gif"},"en_US":{"hovertext":"Staff Reviewer","description":"A Staff Reviewer is a merchant or brand employee who contributes a review based on ownership or usage of the product.","filename":"badge_sr_en_US.gif"},"de_DE":{"hovertext":"Mitarbeiter-Bewerter","description":"","filename":"badge_sr_de_DE.gif"},"fr_CA":{"hovertext":"Critique de personnel","description":"","filename":"badge_sr_fr_CA.gif"},"fr_FR":{"hovertext":"","description":"","filename":"badge_sr_fr_FR.gif"},"en_AU":{"hovertext":"Staff Reviewer","description":"A Staff Reviewer is a merchant or brand employee who contributes a review based on ownership or usage of the product.","filename":"badge_sr_en_AU.gif"},"nl_NL":{"hovertext":"Staff Beoordeler","description":"A Staff Beoordeler is een handelaar of merk werknemer die beoordelingen inzend op basis van eigendom of gebruik van het product.","filename":"badge_sr_nl_NL.gif"}},"label":"staff","isStaff":true}},pr_attribution_table:{}};var BC={};if(window&&window.location&&window.location.search){var AN=window.location.search.substring(1).split("&");for(var AK=0,Aq=AN.length;AK<Aq;++AK){var AH=AN[AK].split("=");BC[AH[0]]=AH[1];}}function BK(BZ){for(var Ba=1,BY=arguments.length;Ba<BY;++Ba){var Bb=arguments[Ba];if(Bb){var BX=Bb[BZ];if(typeof BX!="undefined"){return BX;}}}return null;}function A5(BY,BX){var i=BK(BY,BX,BC,window,AS);if("pr_locale"==BY&&"3498"==A5("pr_merchant_id",BX)){if(i=="en"){i="en_CA";}else{if(i=="fr"){i="fr_CA";}}}return i;}BO.common.get=A5;function a(Bb){var Ba=0;var BZ;for(BZ=0;BZ<Bb.length;BZ++){var BY=Bb.charCodeAt(BZ);BY=BY*Math.abs(255-BY);Ba+=BY;}Ba=Ba%1023;Ba=Ba+"";var Bc=4;var BX=Ba.split("");for(BZ=0;BZ<Bc-Ba.length;BZ++){BX.unshift("0");}Ba=BX.join("");Ba=Ba.substring(0,Bc/2)+"/"+Ba.substring(Bc/2,Bc);return Ba;}function BT(i,BY){if(Ae){return true;}else{if(!A1(BY)){return false;}}Ae=true;if(!document.getElementById(AO)){i.write('<link rel="stylesheet" href="'+AP(BY)+'/engine/pr_styles_review.css" type="text/css" id="'+AO+'">\n');}var BZ=AP(BY)+"/engine/merchant_styles2.css";var BX=BD(A5("pr_style_sheet",BY));if(A5("pr_allow_engine_css_override",BY)&&BX){BZ=BX;}if(!document.getElementById(Ay)){i.write('<link rel="stylesheet" href="'+BZ+'" type="text/css" id="'+Ay+'">\n');}return true;}function A1(i){if(Ag){return true;}else{if(!A5("pr_page_id",i)&&!A5("pr_merchant_user_id",i)){return false;}}Ag=true;return true;}function Am(i,BX,BY){if(!document.getElementById(i)){setTimeout(function(){Am(i,BX,BY);},1000);}else{A(i,BX,BY);}}function A(i,BY,BZ){try{if(!BY){BY="";}AV(function(){AI(document.getElementById(i),BY);if(BZ){BZ();}});}catch(BX){}}function AI(BY,BX){if(BY.parentNode){var i=document.createElement("div");i.id=BY.id;i.className=BY.className;i.innerHTML=BX;BY.parentNode.replaceChild(i,BY);return i;}else{BY.innerHTML=BX;return BY;}}function AV(i){if(typeof i=="function"){(function(){if(BQ()){try{document.documentElement.doScroll("left");}catch(BX){setTimeout(arguments.callee,50);return ;}}i();i=null;})();}}function BQ(){return typeof document.all!="undefined"&&typeof window.opera=="undefined"&&!(navigator.vendor=="KDE");}function AY(i){new Image().src=i;}function AP(BX){var i=A5("pr_zip_location",BX);if(i.charAt(i.length-1)!="/"){i+="/";}i+=A5("pr_powerreviews_root",BX);return i;}BO.common.getDocRoot=AP;function Av(i){return i.replace(/\W/g,"__");}function o(BX,BZ,BY,i){this.pageId=BX;this.fullReviewCount=BZ;this.quickReviewCount=BY;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 Ah(BX,i,BY){return BY&&BY["locales"]&&BY["locales"][i]&&BY["locales"][i]["p"+BX];}function J(BY){var BZ=document.getElementsByName(BY);for(var BX=0;BX<BZ.length;BX++){if(BZ[BX].checked){return BZ[BX].value;}}return null;}function Aj(i,BY,BX){return i.replace(new RegExp(BY,"g"),BX);}function BD(i){return i&&i.replace(/^\s+|\s+$/g,"");}function BN(i){if(typeof i=="string"){return i.replace(/\n/g,"<br />");}else{return i;}}function AD(BY,BZ,Bc,BX){var Ba=AP(BX);var BZ=BZ||BY.substring(BY.indexOf(Ba)+Ba.length+1);if(Ak[BZ]){Bc(Ak[BZ]);}else{var i=document.createElement("script");var Bb=function(){if(Ak[BZ]){if(i.parentNode){i.parentNode.removeChild(i);delete i;}Bc(Ak[BZ]);}};if(BQ()){i.onreadystatechange=Bb;}else{i.onload=Bb;}i.type="text/javascript";i.charset="utf-8";i.src=BY;document.getElementsByTagName("head")[0].appendChild(i);}}function N(Bb,Bc,BX){if(Bb.className){var BY=Bb.className.split(" ");if(BX){var Ba=Bc.toUpperCase();for(var BZ=0;BZ<BY.length;BZ++){if(BY[BZ].toUpperCase()==Ba){BY.splice(BZ,1);BZ--;}}}BY[BY.length]=Bc;Bb.className=BY.join(" ");}else{Bb.className=Bc;}}function Ac(Ba,Bb){if(Ba.className){var BX=Ba.className.split(" ");var BZ=Bb.toUpperCase();for(var BY=0;BY<BX.length;BY++){if(BX[BY].toUpperCase()==BZ){BX.splice(BY,1);BY--;}}Ba.className=BX.join(" ");}}function V(Be,Bf,Bg){var Bc=(Bf=="*"&&Be.all)?Be.all:Be.getElementsByTagName(Bf);var Bb=new Array();var Bh=new Array();if(typeof Bg=="object"){for(var Ba=0;Ba<Bg.length;Ba++){Bh.push(new RegExp("(^|\\s)"+Bg[Ba].replace(/\-/g,"\\-")+"(\\s|$)"));}}else{Bh.push(new RegExp("(^|\\s)"+Bg.replace(/\-/g,"\\-")+"(\\s|$)"));}var BX;var Bd;for(var BZ=0;BZ<Bc.length;BZ++){BX=Bc[BZ];Bd=true;for(var BY=0;BY<Bh.length;BY++){if(!Bh[BY].test(BX.className)){Bd=false;break;}}if(Bd){Bb.push(BX);}}return Bb;}function Au(BX,i){if(i(BX)==true){return BX;}else{if(BX.parentNode){return arguments.callee(BX.parentNode,i);}else{return false;}}}function Ar(BX,i){A7[BX]=i;}function l(i){return A7[i];}BO.common.getOptions=l;function u(BX,i,Ba,BY){var BZ=AZ[BX];if(!BZ){AD(AP(BY)+"/content/"+a(BX)+"/contents.js",null,function(Bb){BZ=Ah(BX,i,Bb);AZ[BX]=BZ?BZ:"none";Ba(BZ);},BY);}else{if(BZ=="none"){Ba(null);}else{Ba(BZ);}}}function BE(BX,i,BZ,BY){if(!f){AD(AP(BY)+"/content/"+a(BX)+"/"+BX+"-"+i+"-meta.js",null,function(Ba){f=Ba?Ba.metadata:null;BZ();},BY);}else{BZ();}}function h(BX,i,Ba,Bb,BZ){if(!AE[BX+"-"+Ba]){var BY=AP(BZ)+"/content/"+a(BX)+"/"+BX+"-"+i+"-"+Ba+"-reviews.js";AD(BY,null,function(Bf){var Bd=[];for(var Be=0;Be<Bf.length;Be++){var Bc=Bf[Be].r;Az[Bc.id]=Bc;Bd.push(Bc);}AE[BX+"-"+Ba]=Bd;Bb();},BZ);}else{Bb();}}function B(BY,BX,Bc,Bd,BZ){var Bb=Bc.length;for(var Ba=0;Ba<Bc.length;Ba++){h(BY,BX,Bc[Ba],function(){if(--Bb<=0){Bd();}},BZ);}}function BR(i){return Math.round(i*2)/2;}function x(Ba,BX){var BZ=A5("pr_base_services_url",BX);var i=BZ+"FacebookDisplayProfileController.dox";var BY=Aa(Ba);if(BY.length){i+="?"+BY;}return i;}function v(Ba,BX){var BZ=A5("pr_base_services_url",BX);var i=BZ+"FacebookReviewStatementController.dox?context=STATEMENT";var BY=Aa(Ba);if(BY.length){i+="&"+BY;}return i;}function Aa(BX){var i=[];for(var BY in BX){i.push(BY+"="+AA(BX[BY]));}return i.join("&");}function Y(BY,BZ,i,BX){window.open("http://images2.powerreviews.com/media_popup.html?type=image&url="+AA(BY),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width="+BZ+",height="+i+",top=100,left=100");}BO.common.showImagePopup=Y;window.showImagePopup=Y;function A2(i,Be,BX,Bb){var BZ={"toolbar":"no","directories":"no","status":"no","menubar":"no","scrollbars":"yes","resizable":"yes","location":"yes","top":"200","left":"200"};var Bc=[];for(var BY in BZ){Bc.push(BY+"="+((Bb&&Bb[BY])||BZ[BY]));}var Ba=Bc.join(",");var Bd=window.open(i,"smallWindow","width="+BX+",height="+Be+","+Ba);if(window.focus){Bd.focus();}}BO.common.showSmallPopup=A2;window.showSmallPopup=A2;function Ao(BX,i){window.open("http://images2.powerreviews.com/media_popup.html?type=video&url="+AA(BX),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width=435,height=350,top=100,left=100");}BO.common.showVideoPopup=Ao;window.showVideoPopup=Ao;function L(Ba,BY,BX,BZ){var i=function(){Ac(document.getElementById(Ba.target),"pr-open");N(document.getElementById(Ba.target),"pr-closed");};var Bb=function(){Ac(document.getElementById(Ba.target),"pr-closed");N(document.getElementById(Ba.target),"pr-open");};if(window.event){BZ=window.event;BZ.cancelBubble=true;target=window.event.srcElement;currentTarget=event.srcElement.id;}else{if(BZ){BZ.stopPropagation();target=BZ.target;currentTarget=BZ.currentTarget.id;}else{return ;}}if(BY=="show"){if(document.getElementById(Ba.target).className!="pr-open"){this.timedShow=setTimeout(Bb,400);}else{if(Au(target,function(Bc){if(Bc.id==Ba.target){return true;}})){if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}else{if(BY=="hide"){if(this.timedHide!=null){window.clearTimeout(this.timedShow);}if(currentTarget==Ba.link||currentTarget==Ba.target||Au(target,function(Bc){if(Bc.id==Ba.target){return true;}})){this.timedHide=setTimeout(i,800);}else{if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}}BO.common.togglePopOut=L;function s(BZ,Ba,BY,i){var BX=BZ.substring(Ba,BY);if(i){BX+="...";}return BX;}function BV(i,BY){var BX=document.getElementById(BY).innerHTML;Am(i,BX);}var BL={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(BZ){var BX="";var Bg,Be,Bc,Bf,Bd,Bb,Ba;var BY=0;BZ=BL._utf8_encode(BZ);while(BY<BZ.length){Bg=BZ.charCodeAt(BY++);Be=BZ.charCodeAt(BY++);Bc=BZ.charCodeAt(BY++);Bf=Bg>>2;Bd=((Bg&3)<<4)|(Be>>4);Bb=((Be&15)<<2)|(Bc>>6);Ba=Bc&63;if(isNaN(Be)){Bb=Ba=64;}else{if(isNaN(Bc)){Ba=64;}}BX=BX+this._keyStr.charAt(Bf)+this._keyStr.charAt(Bd)+this._keyStr.charAt(Bb)+this._keyStr.charAt(Ba);}return BX;},decode:function(BZ){var BX="";var Bg,Be,Bc;var Bf,Bd,Bb,Ba;var BY=0;BZ=BZ.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(BY<BZ.length){Bf=this._keyStr.indexOf(BZ.charAt(BY++));Bd=this._keyStr.indexOf(BZ.charAt(BY++));Bb=this._keyStr.indexOf(BZ.charAt(BY++));Ba=this._keyStr.indexOf(BZ.charAt(BY++));Bg=(Bf<<2)|(Bd>>4);Be=((Bd&15)<<4)|(Bb>>2);Bc=((Bb&3)<<6)|Ba;BX=BX+String.fromCharCode(Bg);if(Bb!=64){BX=BX+String.fromCharCode(Be);}if(Ba!=64){BX=BX+String.fromCharCode(Bc);}}BX=BL._utf8_decode(BX);return BX;},_utf8_encode:function(BX){BX=BX.replace(/\r\n/g,"\n");var i="";for(var BZ=0;BZ<BX.length;BZ++){var BY=BX.charCodeAt(BZ);if(BY<128){i+=String.fromCharCode(BY);}else{if((BY>127)&&(BY<2048)){i+=String.fromCharCode((BY>>6)|192);i+=String.fromCharCode((BY&63)|128);}else{i+=String.fromCharCode((BY>>12)|224);i+=String.fromCharCode(((BY>>6)&63)|128);i+=String.fromCharCode((BY&63)|128);}}}return i;},_utf8_decode:function(BX){var BY="";var Ba=0;var Bb=0;var BZ=0;while(Ba<BX.length){Bb=BX.charCodeAt(Ba);if(Bb<128){BY+=String.fromCharCode(Bb);Ba++;}else{if((Bb>191)&&(Bb<224)){BZ=BX.charCodeAt(Ba+1);BY+=String.fromCharCode(((Bb&31)<<6)|(BZ&63));Ba+=2;}else{BZ=BX.charCodeAt(Ba+1);c3=BX.charCodeAt(Ba+2);BY+=String.fromCharCode(((Bb&15)<<12)|((BZ&63)<<6)|(c3&63));Ba+=3;}}}return BY;}};var Z={};var q=0;var e=1;var BW=2;var BB=3;var y=4;var S=5;var AG=null;var Ab=new Date();var F={};var BF={};var AM=[];function A0(i){return A5("pr_merchant_table",i)["m"+A5("pr_merchant_id",i)];}function AL(i,BX){var BY=A5("pr_analytics_script_src",BX);if(BY){i.write('<script src="'+BY+'" type="text/javascript"><\/script>');}}function D(Bd,Be){if(BT(Bd,Be)){var BY=A5("pr_page_id",Be);var Bb=Av(BY);var Bc=A5("pr_locale",Be);var Ba="engine-"+Bb+"-"+Bc;Ar(Ba,Be);var BZ=document.getElementById("pr-review-engine-"+Bb);if(!BZ){BH(Bd,Bb);}AL(Bd,Be);if(!BZ||A5("pr_overwrite_inline_content",Be)){U(Bb,Bc,Ba,Be,function(){T(Bb);});}var i=function(){var Bh=document.getElementById("writeReview")||document.getElementById("write-review-"+Bb);if(Bh){var Bf=Ax(BY,Be);if(Bf){Bh.href=Bf;var Bg=document.getElementById("pr-snapshot-footer-"+Bb);if(Bg){Bg.style.display="";}}}else{setTimeout(i,100);}};i();w(Bb,Bc,Be);var BX=A5("pr_highlight_review_id",Be);if(BX){Ad(BX,Bb,Bc,Ba,Be);}}}BO.display.engine=D;window.engine=D;function Ad(BZ,BY,BX,i,Ba){BA(BZ,function(Bb){if(Bb&&"Rejected"!=Bb.s1&&"Rejected"!=Bb.s2){Am("pr-modal-"+BY,At(Bb,BY,BX,i,Ba),function(){Al(BY);});}},Ba);}function BA(i,BY,BX){AD(A5("pr_highlight_review_url").replace("~~~REVIEW_ID~~~",i),"highlight-"+i,function(BZ){BY(BZ&&BZ.r);},BX);}function At(BY,BZ,BX,i,Ba){return("Pending"==BY.s1||"Pending"==BY.s2?"<h2>This review is pending moderation</h2>":"")+m([BY],BZ,BX,null,1,1000,1,"","",true,i,Ba);}function Ax(i,BX){return Aj(A5("pr_write_review",BX),"~~~PAGE_ID~~~",i);}function BH(i,BX){i.write('<div id="pr-review-engine-'+BX+'" class="pr-review-engine"><div id="pr-header-'+BX+'" class="pr-header"></div><div id="pr-contents-'+BX+'" class="pr-contents"></div></div>');}function T(BX){var BY=document.getElementById("pr-review-engine-screen-"+BX);if(BY&&BY.parentNode){BY.parentNode.removeChild(BY);}var i=document.getElementById("pr-review-engine-"+BX);if(i){Ac(i,"pr-review-engine-screened");}}function z(BZ,BX){var BY=BD(A5("pr_analytics_account",BX));if(window.urchinTracker&&BY){var i="";var Ba=typeof _uacct!="undefined";if(Ba){i=_uacct;}_uacct=BY;urchinTracker("/product_with_"+BZ+"_reviews");if(Ba){_uacct=i;}}}function U(BY,BX,i,BZ,Ba){u(BY,BX,function(Bd){var Bc=(Bd&&Bd.reviews&&Bd.reviews.review_count)||0;var Bf=(Bd&&Bd.reviews&&Bd.reviews.review_ratings)||[0,0,0,0,0];var Bb;var Be=function(){if(--Bb<=0){Ba();}};if(Bc>0){Bb=2;t(BY,BX,Bc,Bf,i,BZ,Be);c(1,BY,BX,i,BZ,Be);}else{Bb=1;t(BY,BX,Bc,Bf,i,BZ,Be);}},BZ);}function w(BX,i,BY){u(BX,i,function(Ba){var BZ=0;var Bb=0;if(Ba&&Ba.reviews){BZ=Ba.reviews.review_count;Bb=Ba.reviews.avg;}AW("main",new o(BX,BZ,0,BR(Bb)));window.setTimeout(function(){z(BZ,BY);},2000);},BY);}function Q(Bb,BY,BX,i,BZ){var Ba=new Date();if(Ba.getTime()-Ab.getTime()>1000){Ab=Ba;BE(BY,BX,function(){d(Bb.selectedIndex,BY);BM(1,BY,BX,i,BZ);},BZ);}}BO.display.startSort=Q;function d(BY,i){f.sort(Z[BY]);AG=BY;var BX=document.getElementById("pr-header-"+i);if(BX){BX.focus();}}function K(BX,i){if(BX.oid&&i.oid){return i.oid-BX.oid;}return i.rid-BX.rid;}Z[q]=function(BX,i){if(BX.date==i.date){return K(BX,i);}return i.date-BX.date;};Z[e]=function(BX,i){if(i.date==BX.date){return K(i,BX);}return BX.date-i.date;};Z[BW]=function(BX,i){if(i.rating==BX.rating){return K(BX,i);}return i.rating-BX.rating;};Z[BB]=function(BX,i){if(i.rating==BX.rating){return K(i,BX);}return BX.rating-i.rating;};Z[y]=function(BX,i){if(i.helpfulScore==BX.helpfulScore){return K(BX,i);}return i.helpfulScore-BX.helpfulScore;};Z[S]=function(BX,i){if(i.helpfulScore==BX.helpfulScore){return K(i,BX);}return BX.helpfulScore-i.helpfulScore;};function c(Ba,BY,BX,i,BZ,Bb){u(BY,BX,function(Bc){var Bd=[Ba];B(BY,BX,Bd,function(){var Be=0;if(Bc.reviews){Be=Bc.reviews.review_count;}Am("pr-contents-"+BY,m(AE[BY+"-"+Ba],BY,BX,Bc.name,Be,A5("pr_reviews_per_page",BZ),1,"#pr-header-"+BY,"#pr-header-"+BY,false,i,BZ),Bb);},BZ);},BZ);}function BM(Ba,BY,BX,i,BZ){BE(BY,BX,function(){if(AG==null){d(q,BY);}u(BY,BX,function(Be){var Bc=A5("pr_reviews_per_page",BZ);var Bi=(Ba-1)*Bc;var Bg=Bi+Bc-1;if(Bg>Be.reviews.review_count-1){Bg=Be.reviews.review_count-1;}var Bh=[];var Bf={};for(var Bd=Bi;Bd<=Bg;Bd++){var Bb=f[Bd].batch;if(!Bf[Bb]){Bh.push(Bb);Bf[Bb]=true;}}B(BY,BX,Bh,function(){var Bk=[];for(var Bj=Bi;Bj<=Bg;Bj++){Bk.push(Az[f[Bj].rid]);}Am("pr-contents-"+Av(BY),m(Bk,BY,BX,Be.name,Be.reviews.review_count,Bc,Ba,"#pr-header-"+BY,"#pr-header-"+BY,false,i,BZ));},BZ);},BZ);},BZ);}BO.display.getReviewsFromMeta=BM;function t(BY,BX,Ba,Bb,i,BZ,Bc){if(Ba>0){AD(AP(BZ)+"/content/"+a(BY)+"/"+BY+"-"+BX+"-rollup.js",null,function(Bd){if(Bd.rollup){Am("pr-header-"+BY,C(Ba,Bb,Bd.rollup,BY,BX,i,BZ),Bc);}},BZ);}else{Am("pr-header-"+BY,C(Ba,Bb,null,BY,BX,i,BZ),Bc);}}function p(BX,BZ,i,BY){var Ba="Thank you for your feedback.  Please note that only your first vote will be counted.";if(!F[BX]||F[BX]=="undefined"){AY(A5("pr_js_controller_url",BY)+"?command=helpfulVote&reviewId="+BX+"&voteType="+BZ);F[BX]=1;}else{Ba="You may only submit one vote per review.";}Am("review_feedback"+BX,Ba);}BO.display.submitHelpfulVote=p;function AF(BY,BX,i,BZ){if(!BF[BY]||BF[BY]=="undefined"){var Ba=document.getElementById("error_div"+BY);Ba.innerHTML=AU(BY,BX,i,BZ);document.getElementById("error_div"+BY).style.display="block";}else{Am("review_feedback"+BY,"You have already notified us of an error for this review.");}}BO.display.launchErrorDiv=AF;function Ap(i){document.getElementById("error_div"+i).style.display="none";}function R(BX,i,BZ){var Bb=J("error_radio"+BX);var Bd=document.getElementById("error_comments"+BX).value;Bd=Bd.substring(0,256);var BY=BD(document.getElementById("error_contact_email"+BX).value);var Bc=document.location.href;if(Bc&&typeof Bc!="undefined"){var Ba=Bc.split("/",4)[2];Bd+="\n["+Ba+"]";}if(!/.+@.+/.test(BY)){alert("Email Address is required when flagging a review");}else{if(!Bb){alert("Please select the reason you are flagging this review");}else{AY(A5("pr_js_controller_url",BZ)+"?command=helpfulVote&reviewId="+BX+"&merchantId="+A5("pr_merchant_id",BZ)+"&voteType="+Bb+"&errorComments="+AA(Bd)+"&errorContactEmail="+AA(BY));Am("review_feedback"+BX,"Thank you for notifying us of this error.");F[BX]=1;BF[BX]=1;Ap(BX);}}}BO.display.submitError=R;function A3(i){Ap(i);}BO.display.cancelError=A3;function AB(BZ,BY){if(typeof BZ=="function"&&A1(BY)){var BX=A5("pr_page_id",BY);var i=Av(BX);u(i,A5("pr_locale",BY),function(Ba){if(Ba&&Ba.reviews){BZ(new o(BX,Ba.reviews.review_count,0,BR(Ba.reviews.avg)));}else{BZ(new o(BX,0,0,0));}},BY);}}BO.display.prData=AB;window.prData=AB;function r(i){AM.push(i);}BO.display.registerCallback=r;window.registerCallback=r;function G(){return{"offsetY":document.body.scrollTop||document.documentElement.scrollTop,"viewportWidth":document.getElementsByTagName("body")[0].clientWidth};}function Al(i){g(i);var BX=document.getElementById("pr-modal-container-"+i);document.getElementsByTagName("body")[0].appendChild(BX);var BY=G();BX.style.left=((BY.viewportWidth-BX.offsetWidth)/2)+"px";BX.style.top=(BY.offsetY+100)+"px";Ac(BX,"pr-hidden");}function Af(i){N(document.getElementById("pr-modal-container-"+i),"pr-hidden");}BO.display.hideModal=Af;function g(i){var BX=document.getElementById("pr-modal-container-"+i);var BY=V(document,"div","pr-modal-wrapper");BX.style.height="422px";BX.style.width="";BY[0].style.height="380px";}function BJ(BY,Ba){BV("pr-modal-"+BY,Ba);var BX=document.getElementById("pr-modal-container-"+BY);var BZ=V(document,"div","pr-modal-wrapper")[0];var i=V(document,"div","pr-review-faceoff-review-wrapper")[0];BX.style.width=(i.scrollWidth-20)+"px";BX.style.height=(i.offsetHeight+47)+"px";BZ.style.width="auto";BZ.style.height=(i.offsetHeight+5)+"px";BX.style.left=(i.offsetLeft+10)+"px";BX.style.top=(i.offsetTop-40)+"px";Ac(BX,"pr-hidden");}BO.display.displayFaceoffModal=BJ;function AW(BZ,BY){for(var BX=0;BX<AM.length;BX++){AM[BX](BZ,BY);}}function P(BZ){var BX={canonicalGroupSet:{},histogramDisplayGroupList:[],subratingsGroupList:[],otherGroupList:[]};if(BZ){if(BZ.g){for(var BY=0;BY<BZ.g.length;BY++){var Ba=BZ.g[BY];if(Ba.k=="pros"||Ba.k=="cons"||Ba.k=="bestuses"){BX.canonicalGroupSet[Ba.k]=Ba;}else{if(Ba.a){BX.histogramDisplayGroupList.push(Ba);}else{BX.otherGroupList.push(Ba);}}}}BX.subratingGroupList=BZ.ar||[];}return BX;}function b(Ba,BX){var i=null;if(Ba){var BY=A5("pr_badge_table",BX);for(var BZ=0;BZ<Ba.length;BZ++){i=BY[Ba[BZ]];if(i){break;}}}return i;}function C(i,Bc,Bo,Bh,Bm,Bp,BY){var Be=[];var Bl=AP(BY);var Bn={describeyourself:"Reviewer Profile"};var Bk=P(Bo);var Bd=Bk.canonicalGroupSet;var Bi=Bk.histogramDisplayGroupList;var BZ=Bk.subratingGroupList;var Ba=Bk.otherGroupList;var Bg=0;for(AK=0;AK<Bc.length;AK++){Bg=(Bc[AK]+Bg);}Be.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">');Be.push("REVIEW SNAPSHOT&reg;");Be.push("</p>");if(A0(BY).cobranded){Be.push('<a href="#" class="pr-snapshot-cobrand" onclick="POWERREVIEWS.common.showSmallPopup(\'');Be.push("http://www.powerreviews.com/legal/index_en_US.html");Be.push("', 410, 420); return false;\">");Be.push("by PowerReviews");Be.push("</a>");}Be.push('</div></div><div class="pr-clear"></div><div class="pr-snapshot-body"><div class="pr-snapshot-body-wrapper">');if(i>0){Be.push('<div class="pr-snapshot-rating-wrapper hreview-aggregate">                                            ');if(Bo.r){Be.push('<div class="pr-snapshot-product-name item"><span class="fn">');Be.push(Bo.r);Be.push("</span></div>");}Be.push('<div class="pr-snapshot-rating rating"><div class="pr-stars ');Be.push(AC[Bo.a].large);Be.push('" style="background-position: 0px ');Be.push(Bo.a*-46);Be.push('px;">&nbsp;</div><span class="pr-rating pr-rounded average">');Be.push((Bo.d*10)%10==0?Bo.d+".0":Bo.d);Be.push('</span>                         <p class="pr-snapshot-average-based-on-text">');if(i==1){Be.push("(");Be.push("based on {0} review".replace("{0}",'<span class="count">1</span>'));Be.push(")");}else{Be.push("(");Be.push("based on {0} reviews".replace("{0}",'<span class="count">'+i+"</span>"));Be.push(")");}Be.push("</p>");if(Bg>0){Be.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=\"");Be.push(Bl);Be.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>");Be.push("Ratings Distribution");Be.push("</span></p>");Be.push(I(Bc,Bm,BY));Be.push(" </div></div>");}Be.push('</div><div class="pr-clear"></div>');if(Bo.b||Bo.b==0){Be.push('<div class="pr-snapshot-consensus"><p class="pr-snapshot-consensus-value pr-rounded">');Be.push(Math.round(100*Bo.b));Be.push('%</p> <p class="pr-snapshot-consensus-text">');Be.push("of respondents would recommend this to a friend.");Be.push("</p></div>");}Be.push("</div>                ");if(Bd.pros||Bd.cons||Bd.bestuses||Bi.length||BZ.length||Ba.length){Be.push('<div class="pr-review-points"><div class="pr-review-points-attr-wrapper"><div class="pr-attribute-group pr-rounded pr-attribute-pros');Be.push(Bd.pros?"":" pr-empty");Be.push('"><div class="pr-attribute-key"><p class="pr-attribute-label-pros">');Be.push("Pros");Be.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list pr-snapshot-attribute-value-list">');var Bb=Bd.pros;if(Bb){for(var Bf=0;Bf<Bb.v.length;Bf++){var Bj=Bb.v[Bf];Be.push("<li>");Be.push(Bj.n);Be.push("&nbsp;(");Be.push(Bj.c);Be.push(")</li>");}}Be.push('</ul></div></div><div class="pr-attribute-group pr-rounded pr-attribute-cons');Be.push(Bd.cons?"":" pr-empty");Be.push('"><div class="pr-attribute-key"><p class="pr-attribute-label-cons">');Be.push("Cons");Be.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list pr-snapshot-attribute-value-list">');var Bb=Bd.cons;if(Bb){for(var Bf=0;Bf<Bb.v.length;Bf++){var Bj=Bb.v[Bf];Be.push("<li>");Be.push(Bj.n);Be.push("&nbsp;(");Be.push(Bj.c);Be.push(")</li>");}}Be.push('</ul></div></div><div class="pr-attribute-group pr-rounded pr-attribute-bestuses');Be.push(Bd.bestuses?"":" pr-empty");Be.push(' pr-last"><div class="pr-attribute-key"><p class="pr-attribute-label-bestuses">');Be.push("Best Uses");Be.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list pr-snapshot-attribute-value-list">');var Bb=Bd.bestuses;if(Bb){for(var Bf=0;Bf<Bb.v.length;Bf++){var Bj=Bb.v[Bf];Be.push("<li>");Be.push(Bj.n);Be.push("&nbsp;(");Be.push(Bj.c);Be.push(")</li>");}}Be.push('</ul></div></div><div class="pr-clear"></div></div></div>');if(Bi.length){Be.push(Aw(Bi,Bm,BY));}if(BZ.length){Be.push(An(BZ,Bm,BY));}Be.push('<div class="pr-other-attributes"><ul class="pr-other-attributes-list">');for(var Bq=0;Bq<Ba.length;Bq++){var Bb=Ba[Bq];var BX=[];for(var Bf=0;Bf<Bb.v.length;Bf++){var Bj=Bb.v[Bf];BX.push(Bj.n+"&nbsp;("+Bj.c+")");}Be.push('<li class="pr-other-attributes-group pr-other-attribute-');Be.push(Bb.k);Be.push('"><ul><li class="pr-other-attribute-label">');Be.push(Bn[Bb.k]||Bb.n);Be.push(':</li><li class="pr-other-attribute-value">');Be.push(BX.join(", "));Be.push("</li></ul></li>");}Be.push('<li class="pr-clear"></li></ul></div>');}Be.push('<div id="pr-snapshot-footer-');Be.push(Bh);Be.push('" class="pr-snapshot-footer" style="display:none"><a href="#" id="write-review-');Be.push(Bh);Be.push('" class="pr-write-review-link"><div class="pr-snapshot-write-review"><span>');Be.push("Write a Review");Be.push("</span></div></a></div>");}else{Be.push('<div id="pr-snapshot-footer-');Be.push(Bh);Be.push('" class="pr-snapshot-footer" style="display:none"><p class="pr-snapshot-no-ratings">');Be.push("Not yet rated. Be the first to");Be.push(' <a href="#" id="write-review-');Be.push(Bh);Be.push('" class="pr-write-review-link">');Be.push("Write a Review");Be.push("</a></p></div>");}Be.push("</div></div>");if(Bo&&Bo.fo&&false){Be.push('<div class="pr-review-faceoff"><div class="pr-review-faceoff-review-wrapper"><div id="pr-review-faceoff-positive-');Be.push(Bh);Be.push('" class="pr-review-faceoff-review pr-review-faceoff-review-positive"><div class="pr-review-faceoff-container"><p class="pr-review-faceoff-label">');Be.push("Most Liked Positive Review");Be.push('</p><div class="pr-review-faceoff-review-content"><div class="pr-stars ');Be.push(AC[Bo.fo.f2.r.r].large);Be.push('" style="background-position: 0px ');Be.push(Bo.fo.f2.r.r*-46);Be.push('px;">&nbsp;</div><p class="pr-review-faceoff-title">');Be.push(Bo.fo.f2.r.h);Be.push('</p><p class="pr-review-faceoff-review">');if(Bo.fo.f2.cf){Be.push(s(Bo.fo.f2.r.p,0,Bo.fo.f2.cf,true));Be.push('<a class="pr-review-faceoff-readcomplete" href="#" onclick="POWERREVIEWS.display.displayFaceoffModal(\'');Be.push(Bh);Be.push("','pr-review-faceoff-positive-");Be.push(Bh);Be.push("'); return false\">");Be.push("Read complete review");Be.push("</a>");}else{Be.push(Bo.fo.f2.r.p);}Be.push('</p><p class="pr-review-faceoff-review-full">');Be.push(Bo.fo.f2.r.p);Be.push('</p></div></div></div><div class="pr-review-faceoff-img"><p class="pr-review-faceoff-img-txt">');Be.push("VS");Be.push('</p></div><div id="pr-review-faceoff-negative-');Be.push(Bh);Be.push('" class="pr-review-faceoff-review pr-review-faceoff-review-negative"><div class="pr-review-faceoff-container"><p class="pr-review-faceoff-label">');Be.push("Most Liked Negative Review");Be.push('</p><div class="pr-review-faceoff-review-content"><div class="pr-stars ');Be.push(AC[Bo.fo.f1.r.r].large);Be.push('" style="background-position: 0px ');Be.push(Bo.fo.f1.r.r*-46);Be.push('px;">&nbsp;</div><p class="pr-review-faceoff-title">');Be.push(Bo.fo.f1.r.h);Be.push('</p><p class="pr-review-faceoff-review">');if(Bo.fo.f1.cf){Be.push(s(Bo.fo.f1.r.p,0,Bo.fo.f1.cf,true));Be.push('<a class="pr-review-faceoff-readcomplete" href="#" onclick="POWERREVIEWS.display.displayFaceoffModal(\'');Be.push(Bh);Be.push("','pr-review-faceoff-negative-");Be.push(Bh);Be.push("'); return false\">");Be.push("Read complete review");Be.push("</a>");}else{Be.push(Bo.fo.f1.r.p);}Be.push('</p><p class="pr-review-faceoff-review-full">');Be.push(Bo.fo.f1.r.p);Be.push('</p></div></div></div><div class="pr-clear"></div></div></div>');}Be.push('</div><div id="pr-modal-container-');Be.push(Bh);Be.push('" class="pr-modal-container pr-hidden"><div class="pr-modal-toolbar"><a class="pr-modal-container-close" href="#" onclick="POWERREVIEWS.display.hideModal(\'');Be.push(Bh);Be.push('\'); return false;"><span>close</span></a><div class="pr-clear"></div></div><div class="pr-modal-wrapper"><div id="pr-modal-');Be.push(Bh);Be.push('" class="pr-modal-content"></div></div></div>');if(i>0){Be.push('<div class="pr-review-sort"><div class="pr-review-sort-wrapper">');if(i==1){Be.push('<p class="pr-review-count">');Be.push("Reviewed by 1 customer");Be.push("</p>");}else{if(i>1){Be.push('<p class="pr-review-count">');Be.push("Reviewed by {0} customers".replace("{0}",i));Be.push('</p><div class="pr-review-sort-box"><p class="pr-review-sort-by">');Be.push("Sort by");Be.push("</p><select onchange=\"POWERREVIEWS.display.startSort(this, '");Be.push(Bh);Be.push("', '");Be.push(Bm);Be.push("', '");Be.push(Bp);Be.push("', POWERREVIEWS.common.getOptions('");Be.push(Bp);Be.push('\'));"><option value="date_new" selected="true">');Be.push("Newest");Be.push('</option><option value="date_old">');Be.push("Oldest");Be.push('</option><option value="rating_high">');Be.push("Highest rating");Be.push('</option><option value="rating_low">');Be.push("Lowest rating");Be.push('</option><option value="helpful_high">');Be.push("Most helpful");Be.push('</option><option value="helpful_low">');Be.push("Least helpful");Be.push("</option></select></div>");}}Be.push('<div class="pr-clear"></div></div></div>');}Be.push("<!-- ilkj -->");return Be.join("");}BO.display.processRollupTemplate=C;function m(Bs,CH,Bp,Bv,Bu,Ba,Bd,Bx,BX,CA,By,Bt){var Bk=[];var Bn=(Bd-1)*Ba;var Bb=Bn+Ba-1;if(Bb>Bu-1){Bb=Bu-1;}var CI=A5("pr_back_to_top_link",Bt);var B9=AP(Bt);var CG=Aj(A5("pr_badge_definitions_url",Bt),"~~~LOCALE~~~",Bp);var Bm=["Got it? Rate it.","Not good","Needs that special something","Average, ordinary","That's good stuff","Perfect. It doesn't get any better"];var Bw={"Yes":"Yes, I would recommend this to a friend","No":"No, I would not recommend this to a friend"};Bk.push('<div class="pr-contents-wrapper">');if(!CA){Bk.push('<div class="pr-pagination-top"><p class="pr-page-count">');if(Bn==Bb){Bk.push("Displaying review");Bk.push(" <strong>");Bk.push((Bn+1));Bk.push("</strong>");}else{Bk.push("Displaying reviews");Bk.push(" <strong>");Bk.push((Bn+1)+"-"+(Bb+1));Bk.push("</strong>");}Bk.push('</p><p class="pr-nav-back-to-top"><a href="');Bk.push(CI);Bk.push('">');Bk.push("Back to top");Bk.push("</a></p>");if(Bu>Ba){Bk.push('<p class="pr-page-nav"><span class="pr-page-prev">');if(Bn>0){Bk.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');Bk.push(Bd-1);Bk.push(", '");Bk.push(CH);Bk.push("', '");Bk.push(Bp);Bk.push("', '");Bk.push(By);Bk.push("', POWERREVIEWS.common.getOptions('");Bk.push(By);Bk.push('\')); return false;" href="');Bk.push(Bx.replace("~~~REVIEW_PAGE~~~",Bd-1));Bk.push('">&laquo; ');Bk.push("Previous");Bk.push("</a>");}else{Bk.push("Previous");}Bk.push('</span><span class="pr-divider"> | </span><span class="pr-page-next">');if(Bb<Bu-1){Bk.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');Bk.push(Bd+1);Bk.push(", '");Bk.push(CH);Bk.push("', '");Bk.push(Bp);Bk.push("', '");Bk.push(By);Bk.push("', POWERREVIEWS.common.getOptions('");Bk.push(By);Bk.push('\')); return false;" href="');Bk.push(BX.replace("~~~REVIEW_PAGE~~~",Bd+1));Bk.push('">');Bk.push("Next");Bk.push(" &raquo;</a>");}else{Bk.push("Next");}Bk.push("</span></p>");}Bk.push('<div class="pr-clear"></div></div>');}for(var Bz=0;Bz<Bs.length;Bz++){var Be=Bs[Bz];var CB={};var B2=false;if(Be.g){for(var CE=0;CE<Be.g.length;CE++){var Bi=Be.g[CE].k;CB[Bi]=true;B2=B2||(Bi!="pros"&&Bi!="cons"&&Bi!="bestuses"&&Bi!="describeyourself");}}Bk.push('<div class="pr-review-wrap"><div class="pr-review-rating-wrapper"><div class="pr-review-author-date pr-rounded">');Bk.push(Be.d);Bk.push("</div>");if(Be.t>0){Bk.push('<div class="pr-review-most-helpful"><p>(<span>');Bk.push("{0} of {1}".replace("{0}",Be.v).replace("{1}",Be.t));Bk.push("</span> ");Bk.push("customers found this review helpful");Bk.push(")</p></div>");}Bk.push('<div class="pr-review-rating"><div class="pr-stars pr-stars-small ');Bk.push(AC[Be.r].small);Bk.push('" style="background-position: 0px ');Bk.push(Be.r*-36);Bk.push('px;" title="');Bk.push(Bm[Be.r]);Bk.push('">&nbsp;</div><span class="pr-rating pr-rounded">');Bk.push(Be.r);Bk.push('.0</span><p class="pr-review-rating-headline">');Bk.push(Be.h);Bk.push("</p></div></div>");if(!CA){Bk.push('                  <div class="pr-review-author"><div class="pr-review-author-info-wrapper">');if(Be.fu&&false){if(Be.pi){Bk.push("<p>");var Br=A5("pr_see_all_reviews_url",Bt).replace("~~~MERCHANT_USER_ID~~~",Be.mu).replace("~~~NICKNAME~~~",Be.n);if(Br){Bk.push('<a class="pr-review-author-profile-link" href="');Bk.push(Br);Bk.push('"><img src="https://graph.facebook.com/');Bk.push(Be.fu);Bk.push('/picture" /></a>');}else{Bk.push('<a class="pr-review-author-profile-link" href="#" onclick="POWERREVIEWS.display.showProfileWithHash(\'');Bk.push(Be.pi);Bk.push("', '");Bk.push(CH);Bk.push("', {'nickname':'");Bk.push(BL.encode(""+Be.n));Bk.push("', 'location':'");Bk.push(BL.encode(""+Be.w));Bk.push("', 'badges':[");Bk.push((Be.cb||[]).toString());Bk.push("]}, '");Bk.push(Bp);Bk.push("', POWERREVIEWS.common.getOptions('");Bk.push(By);Bk.push('\')); return false;"><img src="https://graph.facebook.com/');Bk.push(Be.fu);Bk.push('/picture" /></a>');}Bk.push("</p>");}else{Bk.push('<img src="https://graph.facebook.com/');Bk.push(Be.fu);Bk.push('/picture" />');}}Bk.push('<p class="pr-review-author-name">');Bk.push("By");Bk.push("&nbsp;<span>");Bk.push(Be.n);Bk.push('</span></p><p class="pr-review-author-location">');Bk.push("from");Bk.push(" <span>");Bk.push(Be.w);Bk.push("</span></p>");if(Be.g){for(var BY=0;BY<Be.g.length;BY++){var Bl=Be.g[BY];if(Bl.k=="describeyourself"){Bk.push('<div class="pr-review-author-affinity-wrapper"><p class="pr-review-author-affinities">');Bk.push("About Me"||Bl.n);Bk.push(" <span>");Bk.push(Bl.v.join(", "));Bk.push("</span></p></div>");}}}if(Be.pi){Bk.push("<p>");var Br=A5("pr_see_all_reviews_url",Bt).replace("~~~MERCHANT_USER_ID~~~",Be.mu).replace("~~~NICKNAME~~~",Be.n);if(Br){Bk.push('<a class="pr-review-author-profile-link" href="');Bk.push(Br);Bk.push('">');Bk.push("See all my reviews");Bk.push("</a>");}else{Bk.push('<a class="pr-review-author-profile-link" href="#" onclick="POWERREVIEWS.display.showProfileWithHash(\'');Bk.push(Be.pi);Bk.push("', '");Bk.push(CH);Bk.push("', {'nickname':'");Bk.push(BL.encode(""+Be.n));Bk.push("', 'location':'");Bk.push(BL.encode(""+Be.w));Bk.push("', 'badges':[");Bk.push((Be.cb||[]).toString());Bk.push("]}, '");Bk.push(Bp);Bk.push("', POWERREVIEWS.common.getOptions('");Bk.push(By);Bk.push("')); return false;\">");Bk.push("See all my reviews");Bk.push("</a>");}Bk.push("</p>");}Bk.push("                        </div>");var B3=b(Be.cb);var CC=(Be.o&&Be.o=="e");var Bg=Be.m;var B4=(Be.c&&Be.c=="v");if(CC||B3||Bg||B4){Bk.push('<div class="pr-review-author-badge-wrapper">');if(CC){Bk.push('<div class="pr-review-author-verified-buyer-wrapper pr-review-author-verified-buyer-');Bk.push(Bp);Bk.push('"><a href="');Bk.push(CG);Bk.push('"><img class="pr-badge pr-verified-buyer" src="');Bk.push(B9);Bk.push("/engine/images/badge_vp_");Bk.push(Bp);Bk.push(".gif");Bk.push('" alt="');Bk.push("Verified Buyer");Bk.push('" title="');Bk.push("Verified Buyer");Bk.push('" /></a></div>');}if(B3){Bk.push(BS(B3,Bp,Bt));}else{if(Bg){Bk.push('<div class="pr-review-author-member-badge-wrapper pr-review-author-member-badge-wrapper-');Bk.push(Bp);Bk.push('"><img class="pr-badge pr-site-member" src="');Bk.push(B9);Bk.push('/engine/images/pixel.gif" alt="');Bk.push("Site Member");Bk.push('" title="');Bk.push("Site Member");Bk.push('" /></div>');}}if(B4&&!true&&!CC&&!B3&&!Bg){Bk.push('<div class="pr-review-author-verified pr-review-author-verified-');Bk.push(Bp);Bk.push('"><a href="');Bk.push(CG);Bk.push('"><img class="pr-badge pr-verified" src="');Bk.push(B9);Bk.push("/engine/images/badge_vr_");Bk.push(Bp);Bk.push(".gif");Bk.push('" alt="');Bk.push("Verified Reviewer");Bk.push('" title="');Bk.push("Verified Reviewer");Bk.push('" /></a></div>');}Bk.push("</div>");}Bk.push("</div>");}else{if(CA&&Be.pr){Bk.push('<div class="pr-profile-review-product-info">');if(Be.pr.m&&window&&window.location&&window.location.protocol=="http:"){if(Be.pr.u){Bk.push('<a href="');Bk.push(Be.pr.u);Bk.push('"><img src="http://images.buzzillions.com');Bk.push(Be.pr.m);Bk.push('" /></a>');}else{Bk.push('<img src="http://images.buzzillions.com');Bk.push(Be.pr.m);Bk.push('" />');}}if(Be.pr.n){if(Be.pr.u){Bk.push('<a href="');Bk.push(Be.pr.u);Bk.push('">');Bk.push(Be.pr.n);Bk.push("</a>");}else{Bk.push(Be.pr.n);}}Bk.push("</div>");}}Bk.push('<div class="pr-review-main-wrapper">');if(Be.g){Bk.push('<div class="pr-review-points"><div class="pr-review-points-attr-wrapper"><div class="pr-attribute-group pr-rounded pr-attribute-pros');Bk.push(CB.pros?"":" pr-empty");Bk.push('"><div class="pr-attribute-key"><p class="pr-attribute-label-pros">');Bk.push("Pros");Bk.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list">');for(var BY=0;BY<Be.g.length;BY++){var Bl=Be.g[BY];if(Bl.k=="pros"){for(var B7=0;B7<Bl.v.length;B7++){Bk.push("<li>");Bk.push(Bl.v[B7]);Bk.push("</li>");}break;}}Bk.push('</ul></div></div><div class="pr-attribute-group pr-rounded pr-attribute-cons');Bk.push(CB.cons?"":" pr-empty");Bk.push('"><div class="pr-attribute-key"><p class="pr-attribute-label-cons">');Bk.push("Cons");Bk.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list">');for(var BY=0;BY<Be.g.length;BY++){var Bl=Be.g[BY];if(Bl.k=="cons"){for(var B7=0;B7<Bl.v.length;B7++){Bk.push("<li>");Bk.push(Bl.v[B7]);Bk.push("</li>");}break;}}Bk.push('</ul></div></div><div class="pr-attribute-group pr-rounded pr-attribute-bestuses');Bk.push(CB.bestuses?"":" pr-empty");Bk.push(' pr-last"><div class="pr-attribute-key"><p class="pr-attribute-label-bestuses">');Bk.push("Best Uses");Bk.push('</p></div><div class="pr-attribute-value"><ul class="pr-attribute-value-list">');for(var BY=0;BY<Be.g.length;BY++){var Bl=Be.g[BY];if(Bl.k=="bestuses"){for(var B7=0;B7<Bl.v.length;B7++){Bk.push("<li>");Bk.push(Bl.v[B7]);Bk.push("</li>");}break;}}Bk.push('</ul></div></div><div class="pr-clear"></div></div></div>');}Bk.push('<div class="pr-review-text">');var B8=Bv||(CA&&Be.pr&&Be.pr.n);if(B8){Bk.push('<p class="pr-comments-header">');Bk.push("Comments about <em>{0}</em>:".replace("{0}",B8));Bk.push("</p>");}Bk.push('<p class="pr-comments">');Bk.push(BN(Be.p));Bk.push("</p></div>");if(Be.z){Bk.push('<div class="pr-review-text"><p class="pr-comments-header">');Bk.push("Service and delivery comments:");Bk.push('</p><p class="pr-comments">');Bk.push(BN(Be.z));Bk.push("</p></div>");}if(B2||Be.rp||Be.sp||Be.tb||Be.ar){Bk.push('<div class="pr-other-attributes">');if(Be.g){Bk.push('<div class="pr-other-attribute-tag-group"><ul class="pr-other-attributes-list">');for(var BY=0;BY<Be.g.length;BY++){var Bl=Be.g[BY];if(Bl.k!="pros"&&Bl.k!="cons"&&Bl.k!="bestuses"&&Bl.k!="describeyourself"){Bk.push('<li class="pr-other-attribute-label">');Bk.push(Bl.n);Bk.push(':</li><li class="pr-other-attribute-value">');Bk.push(Bl.v.join(", "));Bk.push("</li>");}}Bk.push("</ul></div>");}if(Be.tb){Bk.push('<div class="pr-other-attribute-text-group"><ul class="pr-other-attributes-list">');for(var BY=0;BY<Be.tb.length;BY++){var Bl=Be.tb[BY];Bk.push('<li class="pr-other-attribute-label pr-merchant-question-label">');Bk.push(Bl.n);Bk.push(':</li><li class="pr-other-attribute-value pr-merchant-question-value">');Bk.push(Bl.v);Bk.push("</li>");}Bk.push("</ul></div>");}if(Be.ar){Bk.push('<div class="pr-other-attribute-additional-ratings"><ul class="pr-other-attributes-list">');for(var BY=0;BY<Be.ar.length;BY++){var Bl=Be.ar[BY];Bk.push('<li class="pr-other-attribute-label">');Bk.push(Bl.n);Bk.push(':</li><li class="pr-other-attribute-value"><div class="pr-stars pr-stars-small pr-stars-small-subrating ');Bk.push(AC[Bl.v].small);Bk.push('" style="background-position: 0px ');Bk.push(Bl.v*-36);Bk.push('px;" title="');Bk.push(Bm[Bl.v]);Bk.push('">&nbsp;</div></li>');}Bk.push("</ul></div>");}if(Be.rp){Bk.push('<div class="pr-other-attribute-recommended-products"><ul class="pr-other-attributes-list">');var Bo=[];for(var CD=0;CD<Be.rp.length;CD++){var B0=Be.rp[CD];Bo.push(B0.u?'<a href="'+B0.u+'">'+B0.n+"</a>":B0.n);}Bk.push('<li class="pr-other-attribute-label">');Bk.push("Recommended");Bk.push(':</li><li class="pr-other-attribute-value">');Bk.push(Bo.join(", "));Bk.push("</li></ul></div>");}if(Be.sp){Bk.push('<div class="pr-other-attribute-similar-products"><ul class="pr-other-attributes-list">');var Bq=[];for(var CF=0;CF<Be.sp.length;CF++){var Bf=Be.sp[CF];Bq.push(Bf.u?'<a href="'+Bf.u+'">'+Bf.n+"</a>":Bf.n);}Bk.push('<li class="pr-other-attribute-label">');Bk.push("Similar");Bk.push(':</li><li class="pr-other-attribute-value">');Bk.push(Bq.join(", "));Bk.push("</li></ul></div>");}Bk.push('<div class="pr-clear"></div></div>');}Bk.push('<div class="pr-review-footer">');if(Be.b){var BZ;if(Be.b.v){BZ=Be.b.v;}else{BZ=Bw[Be.b.k];}Bk.push('<div class="pr-review-bottom-line-wrapper"><p><span class="pr-review-bottom-line">');Bk.push("Bottom Line");Bk.push("</span> <span></span>");Bk.push(BZ);Bk.push("</p></div>");}if(Be.i){Bk.push('<div class="pr-customer-media">');for(var B6=0;B6<Be.i.r.length;B6++){var Bj=Be.i.r[B6];Bk.push('<div class="pr-customer-media-wrapper"><p class="pr-customer-media-user">');if(Be.i.t=="i"){Bk.push("Images shared by");Bk.push(" <span>");Bk.push(Be.n);Bk.push("</span>");}else{if(Be.i.t=="v"){Bk.push("Images shared by");Bk.push(" <span>");Bk.push(Be.n);Bk.push("</span>");}else{Bk.push("Images shared by");Bk.push(" <span>");Bk.push(Be.n);Bk.push("</span>");}}Bk.push('</p><div class="pr-pic pr-rounded"><p class="pr-caption">');Bk.push(Bj.c);Bk.push('</p><div class="pr-pic-content"><div class="wrap1"><div class="wrap2">');if(!Bj.v){if(Bj.s){Bk.push('<a href="#" onclick="POWERREVIEWS.common.showImagePopup(\'');Bk.push(Bj.s.u);Bk.push("', ");Bk.push(Bj.s.w);Bk.push(", ");Bk.push(Bj.s.h);Bk.push(", POWERREVIEWS.common.getOptions('");Bk.push(By);Bk.push('\')); return false;"><img src="');Bk.push(B9);Bk.push("/content");Bk.push(Bj.h.u);Bk.push('" alt="');Bk.push("Image Thumbnail");Bk.push('" width="');Bk.push(Bj.h.w);Bk.push('" height="');Bk.push(Bj.h.h);Bk.push('" /></a>');}else{Bk.push('<img src="');Bk.push(B9);Bk.push("/content");Bk.push(Bj.h.u);Bk.push('" alt="');Bk.push("Image Thumbnail");Bk.push('" width="');Bk.push(Bj.h.w);Bk.push('" height="');Bk.push(Bj.h.h);Bk.push('" />');}}else{Bk.push('<a href="#" onclick="POWERREVIEWS.common.showVideoPopup(\'');Bk.push(Bj.v);Bk.push("', POWERREVIEWS.common.getOptions('");Bk.push(By);Bk.push('\')); return false;"><img src="');Bk.push(Bj.h.u);Bk.push('" alt="');Bk.push("Video Thumbnail");Bk.push('" width="75" height="50" onerror="this.src=\'http://powerreviews.s3.amazonaws.com/videos/youtube_coming_soon.jpg\'"/></a>');}Bk.push("</div></div></div>");if(Bj.g){Bk.push('<p class="pr-pic-tags"><span class="pr-tag-label">');Bk.push("Tags:");Bk.push("</span> ");Bk.push(Bj.g.join(", "));Bk.push("</p>");}Bk.push("</div></div>");}Bk.push('<div class="pr-clear"></div></div>');}if(Be.y){Bk.push('<div class="pr-merchant-comments">');for(var B1=0;B1<Be.y.length;B1++){Bk.push('<p class="pr-merchant-comments-text"><span>');Bk.push("Merchant response: ".replace("{0}",A0(Bt).name));Bk.push("</span>");Bk.push(BN(Be.y[B1]));Bk.push("</p>");}Bk.push("</div>");}if(Be.at){var Bc=A5("pr_attribution_table",Bt);var B5=Bc[Be.at];if(B5){if(B5.originating_merchant_url&&B5.image_uri){if(B5.attribution_text){Bk.push('<div class="pr-review-attribution">');if(B5.attribution_text){Bk.push('<div class="pr-review-attribution-text"><p>');Bk.push(B5.attribution_text);Bk.push("</p></div>");}Bk.push('<div class="pr-review-attribution-img"><p class="pr-review-attribute-imgLabel">');Bk.push("REVIEWED AT");Bk.push('</p><a target="_blank" href="');Bk.push(B5.originating_merchant_url);Bk.push('"><img src="');Bk.push(B9);Bk.push("/engine/images/");Bk.push(B5.image_uri);Bk.push('"/></a></div><div class="pr-clear"></div></div>');}else{Bk.push('<div class="pr-review-attribution-img"><p class="pr-review-attribute-imgLabel">');Bk.push("REVIEWED AT");Bk.push('</p><a target="_blank" href="');Bk.push(B5.originating_merchant_url);Bk.push('"><img src="');Bk.push(B9);Bk.push("/engine/images/");Bk.push(B5.image_uri);Bk.push('"/></a></div>');}}}}if(Be.t>0){Bk.push('<div class="pr-review-most-helpful-bottom"><p>(<span>');Bk.push("{0} of {1}".replace("{0}",Be.v).replace("{1}",Be.t));Bk.push("</span> ");Bk.push("customers found this review helpful");Bk.push(")</p></div>");}if(!CA){Bk.push('<div class="pr-review-tools"><p class="pr-review-helpful-text">');Bk.push("Was this review helpful?");Bk.push('&nbsp;<a class="pr-review-helpful-text-link" href="#" onclick="POWERREVIEWS.display.submitHelpfulVote(\'');Bk.push(Be.id);Bk.push("', 'helpful', '");Bk.push(Bp);Bk.push("', POWERREVIEWS.common.getOptions('");Bk.push(By);Bk.push("')); return false;\">");Bk.push("Yes");Bk.push('</a>&nbsp;/&nbsp;<a class="pr-review-helpful-text-link" href="#" onclick="POWERREVIEWS.display.submitHelpfulVote(\'');Bk.push(Be.id);Bk.push("', 'unhelpful', '");Bk.push(Bp);Bk.push("', POWERREVIEWS.common.getOptions('");Bk.push(By);Bk.push("')); return false;\">");Bk.push("No");Bk.push('</a></p><p class="pr-review-report-issue"><span class="pr-review-report-issue-hyphen">&nbsp;-&nbsp;</span>');Bk.push("You may also");Bk.push(' <a href="#" class="pr-review-helpful-text-link" onclick="POWERREVIEWS.display.launchErrorDiv(\'');Bk.push(Be.id);Bk.push("', '");Bk.push(Bp);Bk.push("', '");Bk.push(By);Bk.push("', POWERREVIEWS.common.getOptions('");Bk.push(By);Bk.push("')); return false;\">");Bk.push("flag this review");Bk.push('</a></p><div class="pr-error" id="error_div');Bk.push(Be.id);Bk.push('" style=""></div><p class="pr-review-helpful-response" id="review_feedback');Bk.push(Be.id);Bk.push('"></p></div>');}Bk.push('</div></div><div class="pr-clear"></div>');if(false){var Bh=v({"locale":Bp,"sharedReviewId":Be.id},Bt);Bk.push('<p class="pr-fb-reviewComment"><span><a href="#" onclick="POWERREVIEWS.common.showSmallPopup(\'');Bk.push(Bh);Bk.push("', 450, 600, {'location':'no'}); return false;\">");Bk.push("Comment on this review");Bk.push('</a></span><img class="pr-profile-fb-help-icon" src="');Bk.push(B9);Bk.push('/engine/images/icon_orange_help.gif" title="');Bk.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.");Bk.push('" /></p><div class="pr-clear"></div>');}Bk.push("</div>");}if(!CA){Bk.push('<div class="pr-pagination-bottom"><p class="pr-page-count">');if(Bn==Bb){Bk.push("Displaying review");Bk.push(" <strong>");Bk.push((Bn+1));Bk.push("</strong>");}else{Bk.push("Displaying reviews");Bk.push(" <strong>");Bk.push((Bn+1)+"-"+(Bb+1));Bk.push("</strong>");}Bk.push('</p><p class="pr-nav-back-to-top"><a href="');Bk.push(CI);Bk.push('">');Bk.push("Back to top");Bk.push("</a></p>");if(Bu>Ba){Bk.push('<p class="pr-page-nav"><span class="pr-page-prev">');if(Bn>0){Bk.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');Bk.push(Bd-1);Bk.push(", '");Bk.push(CH);Bk.push("', '");Bk.push(Bp);Bk.push("', '");Bk.push(By);Bk.push("', POWERREVIEWS.common.getOptions('");Bk.push(By);Bk.push("')); location.hash = '#pr-header-");Bk.push(CH);Bk.push('\'; return false;" href="');Bk.push(Bx.replace("~~~REVIEW_PAGE~~~",Bd-1));Bk.push('">&laquo; ');Bk.push("Previous");Bk.push("</a>");}else{Bk.push("Previous");}Bk.push('</span><span class="pr-divider"> | </span><span class="pr-page-next">');if(Bb<Bu-1){Bk.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');Bk.push(Bd+1);Bk.push(", '");Bk.push(CH);Bk.push("', '");Bk.push(Bp);Bk.push("', '");Bk.push(By);Bk.push("', POWERREVIEWS.common.getOptions('");Bk.push(By);Bk.push("')); location.hash = '#pr-header-");Bk.push(CH);Bk.push('\'; return false;" href="');Bk.push(BX.replace("~~~REVIEW_PAGE~~~",Bd+1));Bk.push('">');Bk.push("Next");Bk.push(" &raquo;</a>");}else{Bk.push("Next");}Bk.push("</span></p>");}Bk.push('<div class="pr-clear"></div></div>');}Bk.push("</div>");return Bk.join("");}BO.display.processReviewsTemplate=m;function AU(BZ,BY,BX,Ba){var i=[];i.push('<div class="pr-report-issue-header">');i.push("Please let us know what kind of issue this is:");i.push('<span class="pr-required">*</span></div><div><input type="radio" name="error_radio');i.push(BZ);i.push('" id="profanity_');i.push(BZ);i.push('" value="profane"><label for="profanity_');i.push(BZ);i.push('">');i.push("Profanity");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BZ);i.push('" id="wrong_product_');i.push(BZ);i.push('" value="wrong_product"><label for="wrong_product_');i.push(BZ);i.push('">');i.push("Wrong product");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BZ);i.push('" id="spam_');i.push(BZ);i.push('" value="spam"><label for="spam_');i.push(BZ);i.push('">');i.push("Spam");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BZ);i.push('" id="duplicate_');i.push(BZ);i.push('" value="duplicate"><label for="duplicate_');i.push(BZ);i.push('">');i.push("Duplicate");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BZ);i.push('" id="copyright_violation_');i.push(BZ);i.push('" value="copyright"><label for="copyright_violation_');i.push(BZ);i.push('">');i.push("Copyright violation");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BZ);i.push('" id="not_review_');i.push(BZ);i.push('" value="not_review"><label for="not_review_');i.push(BZ);i.push('">');i.push("Not a product review");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BZ);i.push('" id="customer_image_');i.push(BZ);i.push('" value="customer_image"><label for="customer_image_');i.push(BZ);i.push('">');i.push("Customer image");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BZ);i.push('" id="problem_with_image_');i.push(BZ);i.push('" value="customer_image"><label for="problem_with_image_');i.push(BZ);i.push('">');i.push("Problem with image");i.push('</label></div><div><input type="radio" name="error_radio');i.push(BZ);i.push('" id="other_');i.push(BZ);i.push('" value="other"><label for="other_');i.push(BZ);i.push('">');i.push("Other");i.push('</label></div><div><label for="error_contact_email');i.push(BZ);i.push('">');i.push("Email Address:");i.push('<span class="pr-required">*</span></label><input class="pr-error-email" type="text" id="error_contact_email');i.push(BZ);i.push('" cols="20" maxlength="80"></div><div class="pr-issue-subtext">');i.push('</div><div><label for="error_comments');i.push(BZ);i.push('">');i.push("Comments:");i.push('</label><textarea class="pr-error-comments" id="error_comments');i.push(BZ);i.push('" cols="30" rows="3"></textarea></div><button class="pr-submit-button" onclick="POWERREVIEWS.display.submitError(\'');i.push(BZ);i.push("', '");i.push(BY);i.push("', POWERREVIEWS.common.getOptions('");i.push(BX);i.push("')); return false;\"><span>");i.push("Submit");i.push('</span></button><button class="pr-cancel-button" onclick="POWERREVIEWS.display.cancelError(\'');i.push(BZ);i.push("'); return false;\"><span>");i.push("Cancel");i.push("</span></button>");return i.join("");}BO.display.processErrorDivTemplate=AU;function Aw(Ba,Be,Bl){var Bm=[];Bm.push('<div class="pr-other-attributes-histogram"><ul class="pr-other-attributes-list">');for(var BY=0;BY<Ba.length;BY++){var Bh=Ba[BY];var Bk={};var Bi=0;var BX=0;var Bc=0;for(var i=0;i<Bh.v.length;i++){var Bg=Bh.v[i];Bk[Bg.n.toLowerCase()]=Bg.c;}for(var BZ=0;BZ<Bh.a.length;BZ++){var Bd=Bh.a[BZ];var Bf=Bd.toLowerCase();Bk[Bf]=Bk[Bf]||0;Bi+=Bk[Bf];if(Bk[Bf]>BX){BX=Bk[Bf];Bc=BZ;}}Bm.push('<li class="pr-other-attributes-group pr-other-attribute-');Bm.push(Bh.k);Bm.push('"><ul><li class="pr-other-attribute-label">');Bm.push(Bh.n);Bm.push(':</li><li class="pr-other-attribute-value"><table>');for(var BZ=0;BZ<Bh.a.length;BZ++){var Bd=Bh.a[BZ];var Bf=Bd.toLowerCase();var Bj=Bk[Bf]/Bi*100;var Bb=(Bc==BZ);Bm.push('<tr class="pr-other-attribute-value-histogram-element ');Bm.push(Bb?"pr-other-attribute-value-histogram-element-max":"");Bm.push('"><td class="pr-other-attribute-value-histogram-label"><p>');Bm.push(Bd);Bm.push('</p></td><td class="pr-other-attribute-value-histogram-bar"><div class="pr-other-attribute-value-histogram-wrapper">');if(Bk[Bf]!=0){Bm.push('<div class="pr-other-attribute-value-histogram-barValue" style="width:');Bm.push(Bj);Bm.push('%">&nbsp;</div>');}else{Bm.push("&nbsp;");}Bm.push('</div></td><td class="pr-other-attribute-value-histogram-stats">');if(Bb){Bm.push('<p><span class="pr-other-attribute-value-histogram-stats-pct">');Bm.push(Math.round(Bj));Bm.push('%&nbsp;</span><span class="pr-other-attribute-value-histogram-stats-count">');if(Bk[Bf]==1){Bm.push('<p class="pr-snippet-review-count">');Bm.push("(1 review)");Bm.push("</p>");}else{Bm.push('<p class="pr-snippet-review-count">');Bm.push("({0} reviews)".replace("{0}",Bk[Bf]));Bm.push("</p>");}Bm.push("</span></p>");}Bm.push("</td></tr>");}Bm.push("</table></li></ul></li>");}Bm.push('<li class="pr-clear"></li></ul></div>');return Bm.join("");}function An(Ba,BX,BZ){var i=[];i.push('<div class="pr-other-attributes-subratings"><ul class="pr-other-attributes-list">');for(var BY=0;BY<Ba.length;BY++){var Bb=Ba[BY];i.push('<li class="pr-other-attributes-group pr-other-attribute-');i.push(Bb.k);i.push('"><ul><li class="pr-other-attribute-label">');i.push(Bb.n);i.push(':</li><li class="pr-other-attribute-value"><div class="pr-stars pr-stars-small pr-stars-small-subrating ');i.push(AC[Bb.a].small);i.push('" style="background-position: 0px ');i.push(Bb.a*-36);i.push('px;">&nbsp;</div></li></ul></li>');}i.push("</ul></div>");return i.join("");}function I(BZ,BY,Bb){var BX=[];var Ba=["1 Stars","2 Stars","3 Stars","4 Stars","5 Stars"];var Bd=0;for(var Bc=0;Bc<5;Bc++){Bd+=BZ[Bc];}BX.push('<div class="pr-ratings-histogram-wrapper"><ul class="pr-ratings-histogram-content">');for(Bc=4;Bc>=0;Bc--){BX.push('<li class="pr-histogram-');BX.push([Bc+1]);BX.push('Stars"><p class="pr-histogram-label"><span>');BX.push(Ba[Bc]);BX.push('</span></p><div class="pr-ratings-histogram-bar">');if(BZ[Bc]!=0){BX.push('<div class="pr-ratings-histogram-barValue" style="width:');BX.push(BZ[Bc]/Bd*(100));BX.push('%">&nbsp;</div>');}else{BX.push("&nbsp;");}BX.push('</div><p class="pr-histogram-count">');if(BZ[Bc]!=0){BX.push("<span>(");BX.push(BZ[Bc]);BX.push(")</span>");}else{BX.push("<span>(0)</span>");}BX.push("</p></li>");}BX.push("</ul></div>");return BX.join("");}function BS(BY,Bc,Be){var Bf=[];if(BY){var Bb=AP(Be);var BZ=Aj(A5("pr_expert_badge_definitions_url",Be),"~~~LOCALE~~~",Bc);var BX=BY.locales[Bc];var Bd=(BY.label=="staff"||BY.label=="staff-expert");if(BX){var Ba=BY.label.replace(/[^-_a-zA-Z]/g,"_");var i="pr-review-author-"+Ba+"-wrapper";Bf.push('<div class="');Bf.push(i);Bf.push(" ");Bf.push(i);Bf.push("-");Bf.push(Bc);Bf.push('">');if(Bd){Bf.push('<a href="');Bf.push(BZ);Bf.push('">');}Bf.push('<img class="pr-badge pr-');Bf.push(Ba);Bf.push('" src="');Bf.push(Bb);Bf.push("/engine/images/badges/");Bf.push(BX.filename);Bf.push('" alt="');Bf.push(BX.hovertext);Bf.push('" title="');Bf.push(BX.hovertext);Bf.push('" />');if(Bd){Bf.push("</a>");}Bf.push("</div>");}}Bf.push("<!-- woozle -->");return Bf.join("");}var A8=0;function X(BY,Ba){if(BT(BY,Ba)){var BZ=Av(A5("pr_page_id",Ba));var BX=A5("pr_locale",Ba);var Bc="pr-snippet-"+BZ;var i=false;if(document.getElementById(Bc)){AT(BZ,BX,Bc,Ba);}else{var Bb="pr-snippet-"+BZ+"-"+(A8++);BY.write('<div id="'+Bb+'" class="pr-snippet"></div>');AT(BZ,BX,Bb,i,Ba);}}}BO.display.snippet=X;window.snippet=X;function AT(BY,BX,Ba,i,BZ){u(BY,BX,function(Be){var Bb=A5("pr_snippet_min_reviews",BZ);var Bd=0;var Bc=0;if(Be&&Be.reviews){Bd=Be.reviews.review_count;Bc=Be.reviews.avg;}if(Bb<=Bd){Am(Ba,BG(BY,Bd,Bc,BX,i,BZ));}},BZ);}function BG(BY,Bb,Be,Bf,Bg,Bl){var Bm=[];var BX=Ax(A5("pr_page_id",Bl),Bl);var Bd=A5("pr_read_review",Bl);var Bk=BR(Be);var Ba=Math.round(Be);var Bh="";var Bj="";var i=A5("pr_snippet_star_click",Bl);if(i){Bh=" cursor:pointer;";Bj=' onclick="'+i+'"';}var Bc=["Got it? Rate it.","Not good","Needs that special something","Average, ordinary","That's good stuff","Perfect. It doesn't get any better"];var BZ=A5("pr_facebook_like_button_url",Bl);if(BZ==null){BZ=document.URL;}BZ=AA(BZ);if(BZ==""){Bg=false;}var Bi=window.location.protocol;Bm.push('<div class="pr-snippet-wrapper"><div class="pr-snippet-stars"><div title="');Bm.push(Bc[Ba]);Bm.push('" style="background-position: 0px ');Bm.push(Bk*-36);Bm.push("px;");Bm.push(Bh);Bm.push('" class="pr-stars pr-stars-small ');Bm.push(AC[Bk].small);Bm.push('"');Bm.push(Bj);Bm.push('>&nbsp;</div><span class="pr-snippet-rating-decimal pr-rounded">');Bm.push((Be*10)%10==0?Be+".0":Be);Bm.push("</span></div>");if(Bb==0){Bm.push('<p class="pr-snippet-review-count">');Bm.push("(No reviews)");Bm.push("</p>");}else{if(Bb==1){Bm.push('<p class="pr-snippet-review-count">');Bm.push("(1 review)");Bm.push("</p>");}else{Bm.push('<p class="pr-snippet-review-count">');Bm.push("({0} reviews)".replace("{0}",Bb));Bm.push("</p>");}}Bm.push('<div class="pr-snippet-read-write">');if(Bb>0){if(Bd){if(Bb==1){Bm.push('<div class="pr-snippet-read-reviews"><a href="');Bm.push(Bd);Bm.push('" class="pr-snippet-link" id="pr-snippet-read-link-');Bm.push(BY);Bm.push('">');Bm.push("Read <span>1</span> Review");Bm.push("</a></div>");}else{Bm.push('<div class="pr-snippet-read-reviews"><a href="');Bm.push(Bd);Bm.push('" class="pr-snippet-link" id="pr-snippet-read-link-');Bm.push(BY);Bm.push('">');Bm.push("Read <span>{0}</span> Reviews".replace("{0}",Bb));Bm.push("</a></div>");}}if(BX){Bm.push('<div class="pr-snippet-write-review"><a href="');Bm.push(BX);Bm.push('" class="pr-snippet-link">');Bm.push("Write a Review");Bm.push("</a></div>");}}else{if(BX){Bm.push('<div class="pr-snippet-write-first-review"><p>');Bm.push("Be the first to");Bm.push('</p> <a href="');Bm.push(BX);Bm.push('" class="pr-snippet-link">');Bm.push("Write a Review");Bm.push("</a></div>");}}Bm.push('<div class="pr-clear"></div></div><div class="pr-clear"></div>');if(Bg){Bm.push('<div class="pr-facebook-like-snippet"><iframe src="');Bm.push(Bi);Bm.push("//www.facebook.com/plugins/like.php?href=");Bm.push(BZ);Bm.push('&layout=button_count&show_faces=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:21px;" allowTransparency="true"></iframe></div>');}Bm.push("</div>");return Bm.join("");}var j=0;function k(BX,BZ){if(BT(BX,BZ)){var BY=Av(A5("pr_page_id",BZ));var i=A5("pr_locale",BZ);var Bb="pr-summary-snippet-"+BY;if(document.getElementById(Bb)){A9(BY,i,Bb,BZ);}else{var Ba="pr-summary-snippet-"+BY+"-"+(j++);BX.write('<div id="'+Ba+'" class="pr-summary-snippet"></div>');A9(BY,i,Ba,BZ);}}}BO.display.summarySnippet=k;function A9(BX,i,BZ,BY){u(BX,i,function(Bc){var Ba=A5("pr_snippet_min_reviews",BY);var Bb=0;if(Bc&&Bc.reviews){Bb=Bc.reviews.review_count;if(Ba<=Bb){AD(AP(BY)+"/content/"+a(BX)+"/"+BX+"-"+i+"-rollup.js",null,function(Bd){if(Bd.rollup){Am(BZ,E(Bd.rollup,BX,i,BY));}},BY);}}},BY);}function E(Bd,BY,BX,Bb){var i=[];var Ba=P(Bd);var BZ=Ba.histogramDisplayGroupList;var Bc=Ba.subratingGroupList;i.push('<div class="pr-summary-snippet-body">');if(BZ.length){i.push(Aw(BZ,BX,Bb));}if(Bc.length){i.push(An(Bc,BX,Bb));}i.push('</div><div class="pr-clear"></div>');return i.join("");}var O=0;function AR(i,BY){if(BT(i,BY)){var BX=Av(A5("pr_page_id",BY));var BZ="prPaContainer"+BX;if(!document.getElementById(BZ)){BZ=BZ+"_"+O++;i.write('<div id="'+BZ+'"></div>');BU(i,BZ,BX,A5("pr_locale",BY),BY);}else{BI("p","prPaTotalsLabel");}AX(BX,BY);A6(BX,BY);}}BO.display.productAnswers=AR;window.productAnswers=AR;function BU(BX,BY,BZ,i,Ba){u(BZ,i,function(Be){var Bb=0,Bc=0;if(Be&&Be.questions){Bb=Be.questions.question_count;Bc=Be.questions.answer_count;}var Bd=function(Bf){Am(BY,AJ(i,Bb,Bc,Bf,Ba));BI("p","prPaTotalsLabel");};if(Bb>0){AD(AP(Ba)+"/content/"+a(BZ)+"/"+BZ+"-"+i+"-1-questions.js",null,function(Bf){Bd(Bf);},Ba);}else{Bd([]);}},Ba);}function AX(BX,BY){var Ba=V(document,"a","prPaAskQuestionLnk");if(Ba.length>0){var Bc=BP(BX,BY);for(var BZ=0;BZ<Ba.length;BZ++){var Bb=Ba[BZ];if(Bc){Bb.href=Bc;Bb.style.display="";}}}else{setTimeout(function(){AX(BX,BY);},100);}}function A6(BZ,Ba){var BY=V(document,"p","prPaAnswerLnk");if(BY.length>0){for(var Bb=0;Bb<BY.length;Bb++){var Bd=BY[Bb];var Bc=Bd.childNodes[1];var BX=AQ(BZ,Bc.id.substring(13),Ba);if(BX){Bc.href=BX;}Bd.style.display="";}}else{setTimeout(function(){A6(BZ,Ba);},100);}}function BP(i,BX){return Aj(A5("pr_ask_question",BX),"~~~PAGE_ID~~~",i);}function AQ(BX,i,BY){return Aj(Aj(Aj(A5("pr_answer_question",BY),"~~~PAGE_ID~~~",BX),"~~~QUESTION_ID~~~",i),"@@@QUESTION_ID@@@",i);}function Ai(i){return i.replace(/((ftp|http|https):\/\/(\w+:{0,1}\w*@)?([^<\s]+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?)/g,'<a rel="nofollow" target="_blank" href="$1">$1</a>');}function AJ(Bh,BX,BY,Bd,Bj){var Bk=[];Bk.push('<div class="prPaContainer prPaNonempty"><a name="QAHeader"></a><div class="prPaHeader"><p class="prPaQuestionPromptIntro">');Bk.push("Do you have questions about this product?");Bk.push("</p><span>");Bk.push('</span><div class="prPaQuestionSubhead"><a class="prPaAskQuestionLnk" style="display:none;" href="#"><span>');Bk.push("Ask a question");Bk.push('</span></a><p class="prPaQuestionPrompt">');Bk.push("Get answers from real customers and in-house experts with <span>AnswerBox</span>.");Bk.push('</p></div><div class="prPaCounts">');Bk.push(BX==1?"1 Question":BX+" Questions");Bk.push(" | ");Bk.push(BY==1?"1 Answer":BY+" Answers");Bk.push('</div></div><ul class="prPaQaContainer">');for(var Be=0;Be<Bd.length;Be++){var Bb=Bd[Be];Bb=Bb.q||Bb;var Bf=Bb.as?Bb.as.length:0;var Ba="Asked on <strong>"+Bb.dd+"</strong> by <strong>"+(Bb.n||"Anonymous")+"</strong>"+(Bb.l?" from<strong> "+Bb.l+"</strong>":"");Bk.push('<li><div class="prPaQaDialog"><p class="prPaQ"><p class="paPrQaPrefix">');Bk.push("Q:");Bk.push(" </p> ");Bk.push(BN(Bb.t));Bk.push('</p><div class="prPaByLine prPaAddBorder">');Bk.push(Ba);Bk.push('</div></div><p class="prPaAnswerLnk" style="display:none;">');Bk.push("Know the answer?");Bk.push(' <a id="prPaQuestion-');Bk.push(Bb.id);Bk.push('" href="#">');Bk.push("Answer this question");Bk.push('</a></p><p class="prPaTotalsLabel">');Bk.push(Bf==1?"1 answer":Bf+" answers");Bk.push('</p><div class="prPaAnswerCont">');if(Bf>0){Bk.push('<ul class="prPaAnswerList">');for(var Bc=0;Bc<Bb.as.length;Bc++){var Bi=Bb.as[Bc];var Bg="Answered on<strong> "+Bi.dd+"</strong> by<strong> "+(Bi.n||"Anonymous")+"</strong>";if(Bi.l){Bg+=" from <strong>"+Bi.l+"</strong>";}if(Bc==Bb.as.length-1){var BZ='<div class="prPaAnswerDialog prPaLastAnswer">';}else{var BZ='<div class="prPaAnswerDialog prPaAddBorder">';}Bk.push("<li>");Bk.push(BZ);if(Bi.ea){Bk.push(' <div class="prPaBadgeCase"><p class="prPaVerifiedMerchant">');Bk.push("1-800 CONTACTS Customer Care");Bk.push("</p></div> ");}if(Bi.vp){Bk.push(' <div class="prPaBadgeCase"><p class="prPaVerifiedPurchaser">');Bk.push("VERIFIED BUYER");Bk.push("</p></div> ");}Bk.push('<p class="prPaA"><p class="paPrQaPrefix">');Bk.push("A:");Bk.push("</p> ");Bk.push(BN(Bi.ea?Ai(""+Bi.t):Bi.t));Bk.push('</p><div class="prPaByLine">');Bk.push(Bg);Bk.push("</div></div></li>");}Bk.push("</ul>");}Bk.push("</div></li>");}Bk.push('</ul></div><div class="prPaFooter">');if(BX>0){Bk.push('<a class="prPaAskQuestionLnk" style="display:none;" href="#"><span>');Bk.push("Ask a question");Bk.push('</span></a><p class="prPaQuestionPromptIntro">');Bk.push("Do you have a question about this product?");Bk.push("&nbsp;</p>");}Bk.push("</div>");return Bk.join("");}BO.display.processProductAnswersTemplate=AJ;function W(BY,BX){var Bb=new Date((BY||"").replace(/-/g,"/").replace(/[TZ]/g," "));var BZ=new Date((BX||"").replace(/-/g,"/").replace(/[TZ]/g," "));var Ba=((BZ.getTime()-Bb.getTime())/1000);var i=Math.floor(Ba/86400);if(isNaN(i)||i<0){return"";}else{if(i==0){if(Ba==1){return"1 second";}else{if(Ba<60){return"seconds";}else{if(Ba<120){return"1 minute";}else{if(Ba<3600){return Math.floor(Ba/60)+" minutes";}else{if(Ba<7200){return"1 hour";}else{return Math.floor(Ba/3600)+" hours";}}}}}}else{if(i==1){return"1 day";}else{if(i<7){return i+" days";}else{return Math.ceil(i/7)+" weeks";}}}}}function As(BY){var i="prPaToggleClosed";var BX=BY.nextSibling;while(BX.nodeType!=1){BX=BX.nextSibling;}BX.style.display=((BX.style.display=="none")?"block":"none");if(BY.className.match(i)){Ac(BY,"prPaToggleClosed");N(BY,"prPaToggleOpen");}else{if(BY.className==""){Ac(BY,"prPaToggleClosed");N(BY,"prPaToggleOpen");}else{Ac(BY,"prPaToggleOpen");N(BY,"prPaToggleClosed");}}}function BI(i,BX){var BY="prPaClicker";clickers=V(document,i,BX);for(AK=0;AK<clickers.length;AK++){clickers[AK].className+=" "+BY;clickers[AK].onclick=function(){As(this);};As(clickers[AK]);}}var n=0;function H(BX,BZ){if(BT(BX,BZ)){var BY=Av(A5("pr_page_id",BZ));var i=A5("pr_locale",BZ);var Bb="pr-pa-snippet-"+BY;if(document.getElementById(Bb)){A4(BY,i,Bb,BZ);}else{var Ba="pr-pa-snippet-"+BY+"-"+(n++);BX.write('<div id="'+Ba+'" class="pr-pa-snippet"></div>');A4(BY,i,Ba,BZ);}}}BO.display.productAnswersSnippet=H;window.productAnswersSnippet=H;function A4(BX,i,BZ,BY){u(BX,i,function(Bc){var Ba=0;var Bb=0;if(Bc&&Bc.questions){Ba=Bc.questions.question_count;Bb=Bc.questions.answer_count;}Am(BZ,M(BX,Ba,Bb,i,BY));},BY);}function M(Ba,BY,BZ,BX,Bb){var i=[];i.push('<div class="pr-pa-snippet-wrapper"><p class="pr-pa-snippet-title">');i.push("Q&A");i.push('</p><p class="pr-pa-snippet-text">');i.push("Ask Questions, share answers");i.push('</p><div class="pr-pa-snippet-qa"><div class="pr-pa-snippet-read-questions"><p class="pr-pa-snippet-questions"><a class="pr-snippet-link" href="');i.push(A5("pr_read_qa",Bb));i.push('">');i.push(BY==1?"<span>1</span> Question":"<span>{0}</span> Questions".replace("{0}",BY));i.push('</a></p><p class="pr-pa-snippet-answers"><a class="pr-snippet-link" href="');i.push(A5("pr_read_qa",Bb));i.push('">');i.push(BZ==1?"<span>1</span> Answer":"<span>{0}</span> Answers".replace("{0}",BZ));i.push('</a></p></div><div class="pr-pa-snippet-ask-question"><a class="pr-snippet-link" href="');i.push(A5("pr_ask_question",Bb));i.push('">');i.push("Ask a Question");i.push('</a></div><div class="pr-clear"></div></div></div>');return i.join("");}return BO;})();var SHOPZILLAREVIEWS=POWERREVIEWS;
