var POWERREVIEWS=POWERREVIEWS||(function(){var C={common:{},display:{}};var At=false;var BD=false;var d=null;var c={};var G={};var o={};var Ax={};C.common.gResult=Ax;var X={};var BH=0;var Ac=encodeURIComponent||escape;var AQ="prBaseStylesheet";var AZ="prMerchantOverrideStylesheet";var Ah={"0":{large:"pr-stars-0",small:"pr-stars-0-sm"},"1":{large:"pr-stars-1",small:"pr-stars-1-sm"},"1.5":{large:"pr-stars-1_5",small:"pr-stars-1_5-sm"},"2":{large:"pr-stars-2",small:"pr-stars-2-sm"},"2.5":{large:"pr-stars-2_5",small:"pr-stars-2_5-sm"},"3":{large:"pr-stars-3",small:"pr-stars-3-sm"},"3.5":{large:"pr-stars-3_5",small:"pr-stars-3_5-sm"},"4":{large:"pr-stars-4",small:"pr-stars-4-sm"},"4.5":{large:"pr-stars-4_5",small:"pr-stars-4_5-sm"},"5":{large:"pr-stars-5",small:"pr-stars-5-sm"}};var AK={pr_merchant_table:{"m4519":{"name":"Sierra Trading Post","cobranded":"true"}},pr_merchant_id:4519,pr_site_id:null,pr_merchant_group_id:10253,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:20,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:Az,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_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 A7={};if(window&&window.location&&window.location.search){var Ad=window.location.search.substring(1).split("&");for(var BB=0,Ai=Ad.length;BB<Ai;++BB){var A9=Ad[BB].split("=");A7[A9[0]]=A9[1];}}function r(Bo){for(var Bp=1,Bn=arguments.length;Bp<Bn;++Bp){var Bq=arguments[Bp];if(Bq){var Bm=Bq[Bo];if(typeof Bm!="undefined"){return Bm;}}}return null;}function H(Bm,i){return r(Bm,i,A7,window,AK);}C.common.get=H;function a(Bq){var Bp=0;var Bo;for(Bo=0;Bo<Bq.length;Bo++){var Bn=Bq.charCodeAt(Bo);Bn=Bn*Math.abs(255-Bn);Bp+=Bn;}Bp=Bp%1023;Bp=Bp+"";var Br=4;var Bm=Bp.split("");for(Bo=0;Bo<Br-Bp.length;Bo++){Bm.unshift("0");}Bp=Bm.join("");Bp=Bp.substring(0,Br/2)+"/"+Bp.substring(Br/2,Br);return Bp;}function Ao(i,Bn){if(At){return true;}else{if(!L(Bn)){return false;}}At=true;if(!document.getElementById(AQ)){i.write('<link rel="stylesheet" href="'+T(Bn)+'/engine/pr_styles_review.css" type="text/css" id="'+AQ+'">\n');}var Bo=T(Bn)+"/engine/merchant_styles2.css";var Bm=s(H("pr_style_sheet",Bn));if(H("pr_allow_engine_css_override",Bn)&&Bm){Bo=Bm;}if(!document.getElementById(AZ)){i.write('<link rel="stylesheet" href="'+Bo+'" type="text/css" id="'+AZ+'">\n');}b({"type":"init"},Bn);setTimeout(function(){b({"type":"objects","count":BH},Bn);},5000);return true;}function L(i){if(BD){return true;}else{if(!H("pr_page_id",i)&&!H("pr_merchant_user_id",i)){return false;}}BD=true;return true;}function Aa(i,Bm,Bn){if(!document.getElementById(i)){setTimeout(function(){Aa(i,Bm,Bn);},1000);}else{A0(i,Bm,Bn);}}function A0(i,Bn,Bo){try{if(!Bn){Bn="";}BY(function(){BN(document.getElementById(i),Bn);if(Bo){Bo();}});}catch(Bm){}}function BN(Bn,Bm){if(Bn.parentNode){var i=document.createElement("div");i.id=Bn.id;i.className=Bn.className;i.innerHTML=Bm;Bn.parentNode.replaceChild(i,Bn);return i;}else{Bn.innerHTML=Bm;return Bn;}}function BY(i){if(typeof i=="function"){(function(){if(Q()){try{document.documentElement.doScroll("left");}catch(Bm){setTimeout(arguments.callee,50);return ;}}i();i=null;})();}}function Q(){return typeof document.all!="undefined"&&typeof window.opera=="undefined"&&!(navigator.vendor=="KDE");}function f(i){new Image().src=i;}function T(Bm){var i=H("pr_zip_location",Bm);if(i.charAt(i.length-1)!="/"){i+="/";}i+=H("pr_powerreviews_root",Bm);return i;}C.common.getDocRoot=T;function Ba(i){return i.replace(/\W/g,"__");}function AW(Bm,Bo,Bn,i){this.pageId=Bm;this.fullReviewCount=Bo;this.quickReviewCount=Bn;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 BG(Bm,i,Bn){return Bn&&Bn["locales"]&&Bn["locales"][i]&&Bn["locales"][i]["p"+Bm];}function Af(Bn){var Bo=document.getElementsByName(Bn);for(var Bm=0;Bm<Bo.length;Bm++){if(Bo[Bm].checked){return Bo[Bm].value;}}return null;}function t(i,Bn,Bm){return i.replace(new RegExp(Bn,"g"),Bm);}function s(i){return i&&i.replace(/^\s+|\s+$/g,"");}function k(i){if(typeof i=="string"){return i.replace(/\n/g,"<br />");}else{return i;}}function BL(Bn,Bo,Br,Bm){var Bp=T(Bm);var Bo=Bo||Bn.substring(Bn.indexOf(Bp)+Bp.length+1);if(Ax[Bo]){Br(Ax[Bo]);}else{var i=document.createElement("script");var Bq=function(){if(Ax[Bo]){if(i.parentNode){i.parentNode.removeChild(i);delete i;}Br(Ax[Bo]);}};if(Q()){i.onreadystatechange=Bq;}else{i.onload=Bq;}i.type="text/javascript";i.charset="utf-8";i.src=Bn;document.getElementsByTagName("head")[0].appendChild(i);BH++;}}function Bj(Bq,Br,Bm){if(Bq.className){var Bn=Bq.className.split(" ");if(Bm){var Bp=Br.toUpperCase();for(var Bo=0;Bo<Bn.length;Bo++){if(Bn[Bo].toUpperCase()==Bp){Bn.splice(Bo,1);Bo--;}}}Bn[Bn.length]=Br;Bq.className=Bn.join(" ");}else{Bq.className=Br;}}function Bl(Bp,Bq){if(Bp.className){var Bm=Bp.className.split(" ");var Bo=Bq.toUpperCase();for(var Bn=0;Bn<Bm.length;Bn++){if(Bm[Bn].toUpperCase()==Bo){Bm.splice(Bn,1);Bn--;}}Bp.className=Bm.join(" ");}}function BW(Bt,Bu,Bv){var Br=(Bu=="*"&&Bt.all)?Bt.all:Bt.getElementsByTagName(Bu);var Bq=new Array();var Bw=new Array();if(typeof Bv=="object"){for(var Bp=0;Bp<Bv.length;Bp++){Bw.push(new RegExp("(^|\\s)"+Bv[Bp].replace(/\-/g,"\\-")+"(\\s|$)"));}}else{Bw.push(new RegExp("(^|\\s)"+Bv.replace(/\-/g,"\\-")+"(\\s|$)"));}var Bm;var Bs;for(var Bo=0;Bo<Br.length;Bo++){Bm=Br[Bo];Bs=true;for(var Bn=0;Bn<Bw.length;Bn++){if(!Bw[Bn].test(Bm.className)){Bs=false;break;}}if(Bs){Bq.push(Bm);}}return Bq;}function AO(Bm,i){if(i(Bm)==true){return Bm;}else{if(Bm.parentNode){return arguments.callee(Bm.parentNode,i);}else{return false;}}}function AY(i,Bm){i.parentNode.insertBefore(Bm,i.nextSibling);}function BK(Bm,i){X[Bm]=i;}function AV(i){return X[i];}C.common.getOptions=AV;function BA(Bm,i,Bp,Bn){var Bo=c[Bm];if(!Bo){BL(T(Bn)+"/content/"+a(Bm)+"/contents.js",null,function(Bq){Bo=BG(Bm,i,Bq);c[Bm]=Bo?Bo:"none";Bp(Bo);},Bn);}else{if(Bo=="none"){Bp(null);}else{Bp(Bo);}}}function BS(Bm,i,Bo,Bn){BL(T(Bn)+"/content/"+a(Bm)+"/"+Bm+"-"+i+"-rollup.js",null,function(Bp){if(Bp){Bo(Bp.rollup);}},Bn);}function AC(Bm,i,Bo,Bn){if(!d){BL(T(Bn)+"/content/"+a(Bm)+"/"+Bm+"-"+i+"-meta.js",null,function(Bp){d=Bp?Bp.metadata:null;Bo();},Bn);}else{Bo();}}function Bk(Bm,i,Bp,Bq,Bo){if(!G[Bm+"-"+Bp]){var Bn=T(Bo)+"/content/"+a(Bm)+"/"+Bm+"-"+i+"-"+Bp+"-reviews.js";BL(Bn,null,function(Bu){var Bs=[];for(var Bt=0;Bt<Bu.length;Bt++){var Br=Bu[Bt].r;o[Br.id]=Br;Bs.push(Br);}G[Bm+"-"+Bp]=Bs;Bq();},Bo);}else{Bq();}}function g(Bn,Bm,Br,Bs,Bo){var Bq=Br.length;for(var Bp=0;Bp<Br.length;Bp++){Bk(Bn,Bm,Br[Bp],function(){if(--Bq<=0){Bs();}},Bo);}}function P(i){return Math.round(i*2)/2;}function b(Bm,i){}function h(Bp,Bm){var Bo=H("pr_base_services_url",Bm);var i=Bo+"FacebookDisplayProfileController.dox";var Bn=AE(Bp);if(Bn.length){i+="?"+Bn;}return i;}function BC(Bp,Bm){var Bo=H("pr_base_services_url",Bm);var i=Bo+"FacebookReviewStatementController.dox?context=STATEMENT";var Bn=AE(Bp);if(Bn.length){i+="&"+Bn;}return i;}function BU(Bp,Bm){var Bo=H("pr_base_services_url",Bm);var i=Bo+"FacebookGetAdviceController/getAdviceQuestionForm.dox";var Bn=AE(Bp);if(Bn.length){i+="?"+Bn;}return i;}function Bd(Bp,Bo){var Bn=H("pr_page_id",Bo);var i=H("pr_locale",Bo);var Bs=H("pr_merchant_group_id",Bo);var Br=H("pr_site_id",Bo)||"-";var Bq=Bp.avgRating||0;var Bm=BU({"mgId":Bs,"siteId":Br,"pageId":Bn,"avgRating":Bq,"locale":i},Bo);AF(Bm,450,600,{"location":"no"});}C.common.showFacebookGetAdvicePopup=Bd;function AE(Bm){var i=[];for(var Bn in Bm){i.push(Bn+"="+Ac(Bm[Bn]));}return i.join("&");}function Az(Bn,Bo,i,Bm){window.open("http://images2.powerreviews.com/media_popup.html?type=image&url="+Ac(Bn),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width="+Bo+",height="+i+",top=100,left=100");}C.common.showImagePopup=Az;window.showImagePopup=Az;function AF(i,Bt,Bm,Bq){var Bo={"toolbar":"no","directories":"no","status":"no","menubar":"no","scrollbars":"yes","resizable":"yes","location":"yes","top":"200","left":"200"};var Br=[];for(var Bn in Bo){Br.push(Bn+"="+((Bq&&Bq[Bn])||Bo[Bn]));}var Bp=Br.join(",");var Bs=window.open(i,"smallWindow","width="+Bm+",height="+Bt+","+Bp);if(window.focus){Bs.focus();}}C.common.showSmallPopup=AF;window.showSmallPopup=AF;function m(Bm,i){window.open("http://images2.powerreviews.com/media_popup.html?type=video&url="+Ac(Bm),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width=435,height=350,top=100,left=100");}C.common.showVideoPopup=m;window.showVideoPopup=m;function e(Bp,Bn,Bm,Bo){var i=function(){Bl(document.getElementById(Bp.target),"pr-open");Bj(document.getElementById(Bp.target),"pr-closed");};var Bq=function(){Bl(document.getElementById(Bp.target),"pr-closed");Bj(document.getElementById(Bp.target),"pr-open");};if(window.event){Bo=window.event;Bo.cancelBubble=true;target=window.event.srcElement;currentTarget=event.srcElement.id;}else{if(Bo){Bo.stopPropagation();target=Bo.target;currentTarget=Bo.currentTarget.id;}else{return ;}}if(Bn=="show"){if(document.getElementById(Bp.target).className!="pr-open"){this.timedShow=setTimeout(Bq,400);}else{if(AO(target,function(Br){if(Br.id==Bp.target){return true;}})){if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}else{if(Bn=="hide"){if(this.timedHide!=null){window.clearTimeout(this.timedShow);}if(currentTarget==Bp.link||currentTarget==Bp.target||AO(target,function(Br){if(Br.id==Bp.target){return true;}})){this.timedHide=setTimeout(i,800);}else{if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}}C.common.togglePopOut=e;function Bh(Bm){var i=document.getElementById(Bm);Bl(i,"pr-hidden");}C.display.showElement=Bh;function Z(Bm){var i=document.getElementById(Bm);Bj(i,"pr-hidden");}C.display.hideElement=Z;function v(Bo,Bp,Bn,i){var Bm=Bo.substring(Bp,Bn);if(i){Bm+="...";}return Bm;}function BZ(i,Bn){var Bm=document.getElementById(Bn).innerHTML;Aa(i,Bm);}var A4={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(Bo){var Bm="";var Bv,Bt,Br,Bu,Bs,Bq,Bp;var Bn=0;Bo=A4._utf8_encode(Bo);while(Bn<Bo.length){Bv=Bo.charCodeAt(Bn++);Bt=Bo.charCodeAt(Bn++);Br=Bo.charCodeAt(Bn++);Bu=Bv>>2;Bs=((Bv&3)<<4)|(Bt>>4);Bq=((Bt&15)<<2)|(Br>>6);Bp=Br&63;if(isNaN(Bt)){Bq=Bp=64;}else{if(isNaN(Br)){Bp=64;}}Bm=Bm+this._keyStr.charAt(Bu)+this._keyStr.charAt(Bs)+this._keyStr.charAt(Bq)+this._keyStr.charAt(Bp);}return Bm;},decode:function(Bo){var Bm="";var Bv,Bt,Br;var Bu,Bs,Bq,Bp;var Bn=0;Bo=Bo.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(Bn<Bo.length){Bu=this._keyStr.indexOf(Bo.charAt(Bn++));Bs=this._keyStr.indexOf(Bo.charAt(Bn++));Bq=this._keyStr.indexOf(Bo.charAt(Bn++));Bp=this._keyStr.indexOf(Bo.charAt(Bn++));Bv=(Bu<<2)|(Bs>>4);Bt=((Bs&15)<<4)|(Bq>>2);Br=((Bq&3)<<6)|Bp;Bm=Bm+String.fromCharCode(Bv);if(Bq!=64){Bm=Bm+String.fromCharCode(Bt);}if(Bp!=64){Bm=Bm+String.fromCharCode(Br);}}Bm=A4._utf8_decode(Bm);return Bm;},_utf8_encode:function(Bm){Bm=Bm.replace(/\r\n/g,"\n");var i="";for(var Bo=0;Bo<Bm.length;Bo++){var Bn=Bm.charCodeAt(Bo);if(Bn<128){i+=String.fromCharCode(Bn);}else{if((Bn>127)&&(Bn<2048)){i+=String.fromCharCode((Bn>>6)|192);i+=String.fromCharCode((Bn&63)|128);}else{i+=String.fromCharCode((Bn>>12)|224);i+=String.fromCharCode(((Bn>>6)&63)|128);i+=String.fromCharCode((Bn&63)|128);}}}return i;},_utf8_decode:function(Bm){var Bn="";var Bp=0;var Bq=0;var Bo=0;while(Bp<Bm.length){Bq=Bm.charCodeAt(Bp);if(Bq<128){Bn+=String.fromCharCode(Bq);Bp++;}else{if((Bq>191)&&(Bq<224)){Bo=Bm.charCodeAt(Bp+1);Bn+=String.fromCharCode(((Bq&31)<<6)|(Bo&63));Bp+=2;}else{Bo=Bm.charCodeAt(Bp+1);c3=Bm.charCodeAt(Bp+2);Bn+=String.fromCharCode(((Bq&15)<<12)|((Bo&63)<<6)|(c3&63));Bp+=3;}}}return Bn;}};var y={};var AI=0;var AD=1;var K=2;var BX=3;var n=4;var A2=5;var AG=null;var Au=new Date();var AR={};var E={};var Ag=[];function M(i){return H("pr_merchant_table",i)["m"+H("pr_merchant_id",i)];}function R(i,Bm){var Bn=H("pr_analytics_script_src",Bm);if(Bn){i.write('<script src="'+Bn+'" type="text/javascript"><\/script>');}}function A3(Bo,Bq){if(Ao(Bo,Bq)){var Bp=H("pr_page_id",Bq);var Bn=Ba(Bp);var Bm=H("pr_locale",Bq);var i="engine-"+Bn+"-"+Bm;BK(i,Bq);var Bs=document.getElementById("prReviewEngineDiv");var Br=function(){var Bv=document.getElementById("writeReview")||document.getElementById("write-review-"+Bn);if(Bv){var Bt=I(Bp,Bq);if(Bt){Bv.href=Bt;var Bu=document.getElementById("prSummaryWriteReviewId_R")||document.getElementById("prSummaryWriteReviewId_NR");if(Bu){Bu.style.display="";}}}else{setTimeout(Br,100);}};if(!Bs){AT(Bo,Bn);}R(Bo,Bq);if(!Bs||H("pr_overwrite_inline_content",Bq)){AH(Bn,Bm,i,Bq,function(){Bc(Bn);Br();A(Bq);});}else{Br();A(Bq);}Al(Bn,Bm,Bq);}}C.display.engine=A3;window.engine=A3;function I(i,Bm){return t(H("pr_write_review",Bm),"~~~PAGE_ID~~~",i);}function AT(i,Bm){i.write('<div id="prReviewEngineDiv" class="prReviewEngine"><div id="prHeader"></div><div id="prContents"></div></div>');}function Bc(Bm){var Bn=document.getElementById("pr-review-engine-screen-"+Bm);if(Bn&&Bn.parentNode){Bn.parentNode.removeChild(Bn);}var i=document.getElementById("pr-review-engine-"+Bm);if(i){Bl(i,"pr-review-engine-screened");}}function Bi(Bo,Bm){var Bn=s(H("pr_analytics_account",Bm));if(window.urchinTracker&&Bn){var i="";var Bp=typeof _uacct!="undefined";if(Bp){i=_uacct;}_uacct=Bn;urchinTracker("/product_with_"+Bo+"_reviews");if(Bp){_uacct=i;}}}function AH(Bn,Bm,i,Bo,Bp){BA(Bn,Bm,function(Bs){var Br=(Bs&&Bs.reviews&&Bs.reviews.review_count)||0;var Bu=(Bs&&Bs.reviews&&Bs.reviews.review_ratings)||[0,0,0,0,0];var Bq;var Bt=function(){if(--Bq<=0){Bp();}};if(Br>0){Bq=2;J(Bn,Bm,Br,Bu,i,Bo,Bt);Ap(1,Bn,Bm,i,Bo,Bt);}else{Bq=1;J(Bn,Bm,Br,Bu,i,Bo,Bt);}},Bo);}function Al(Bm,i,Bn){BA(Bm,i,function(Bp){var Bo=0;var Bq=0;if(Bp&&Bp.reviews){Bo=Bp.reviews.review_count;Bq=Bp.reviews.avg;}Bf("main",new AW(Bm,Bo,0,P(Bq)));window.setTimeout(function(){Bi(Bo,Bn);},2000);},Bn);}function A(Bn){if(H("pr_site_id",Bn)||!false){var Bm=BW(document,"p","pr-fb-needs-merchant");var Bm=Bm.concat(BW(document,"div","pr-fb-needs-merchant"));for(var Bo=0;Bo<Bm.length;Bo++){var Bp=Bm[Bo];Bp.style.display="";}}}function BE(Bq,Bn,Bm,i,Bo){var Bp=new Date();if(Bp.getTime()-Au.getTime()>1000){Au=Bp;AC(Bn,Bm,function(){AL(Bq.selectedIndex,Bn);V(1,Bn,Bm,"sort",i,Bo);},Bo);}}C.display.startSort=BE;function AL(Bn,i){d.sort(y[Bn]);AG=Bn;var Bm=document.getElementById("prHeader");if(Bm){Bm.focus();}}function BI(Bm,i){if(Bm.oid&&i.oid){return i.oid-Bm.oid;}return i.rid-Bm.rid;}y[AI]=function(Bm,i){if(Bm.date==i.date){return BI(Bm,i);}return i.date-Bm.date;};y[AD]=function(Bm,i){if(i.date==Bm.date){return BI(i,Bm);}return Bm.date-i.date;};y[K]=function(Bm,i){if(i.rating==Bm.rating){return BI(Bm,i);}return i.rating-Bm.rating;};y[BX]=function(Bm,i){if(i.rating==Bm.rating){return BI(i,Bm);}return Bm.rating-i.rating;};y[n]=function(Bm,i){if(i.helpfulScore==Bm.helpfulScore){return BI(Bm,i);}return i.helpfulScore-Bm.helpfulScore;};y[A2]=function(Bm,i){if(i.helpfulScore==Bm.helpfulScore){return BI(i,Bm);}return Bm.helpfulScore-i.helpfulScore;};function Ap(Bp,Bn,Bm,i,Bo,Bq){BA(Bn,Bm,function(Br){var Bs=[Bp];g(Bn,Bm,Bs,function(){var Bt=0;if(Br.reviews){Bt=Br.reviews.review_count;}Aa("prContents",Aq(G[Bn+"-"+Bp],Bn,Bm,Br.name,Br.vNames,Bt,H("pr_reviews_per_page",Bo),1,"#ReviewHeader","#ReviewHeader",false,i,Bo),Bq);},Bo);},Bo);}function N(Bp,Bn,Bm,i,Bo){V(Bp,Bn,Bm,"page",i,Bo);}function V(Bp,Bn,Bm,Bq,i,Bo){AC(Bn,Bm,function(){if(AG==null){AL(AI,Bn);}BA(Bn,Bm,function(Bu){var Bs=H("pr_reviews_per_page",Bo);var By=(Bp-1)*Bs;var Bw=By+Bs-1;if(Bw>Bu.reviews.review_count-1){Bw=Bu.reviews.review_count-1;}var Bx=[];var Bv={};for(var Bt=By;Bt<=Bw;Bt++){var Br=d[Bt].batch;if(!Bv[Br]){Bx.push(Br);Bv[Br]=true;}}g(Bn,Bm,Bx,function(){var B0=[];for(var Bz=By;Bz<=Bw;Bz++){B0.push(o[d[Bz].rid]);}Aa("prContents",Aq(B0,Bn,Bm,Bu.name,Bu.vNames,Bu.reviews.review_count,Bs,Bp,"#ReviewHeader","#ReviewHeader",false,i,Bo),function(){A();});},Bo);},Bo);},Bo);b({"type":Bq},Bo);}C.display.getReviewsFromMeta=N;function J(Bn,Bm,Bp,Br,i,Bo,Bs){var Bq="prHeader";if(Bp>0){BS(Bn,Bm,function(Bt){if(Bt){Aa(Bq,BR(Bp,Br,Bt,Bn,Bm,i,Bo),Bs);}},Bo);}else{Aa(Bq,BR(Bp,Br,null,Bn,Bm,i,Bo),Bs);}}function w(Bm,Bo,i,Bn){var Bp="Thank you for your feedback.  Please note that only your first vote will be counted.";if(!AR[Bm]||AR[Bm]=="undefined"){f(H("pr_js_controller_url",Bn)+"?command=helpfulVote&reviewId="+Bm+"&voteType="+Bo);AR[Bm]=1;}else{Bp="You may only submit one vote per review.";}Aa("review_feedback"+Bm,Bp);}C.display.submitHelpfulVote=w;function W(Bn,Bm,i,Bo){if(!E[Bn]||E[Bn]=="undefined"){var Bp=document.getElementById("error_div"+Bn);Bp.innerHTML=Aj(Bn,Bm,i,Bo);document.getElementById("error_div"+Bn).style.display="block";}else{Aa("review_feedback"+Bn,"You have already notified us of an error for this review.");}}C.display.launchErrorDiv=W;function AJ(i){document.getElementById("error_div"+i).style.display="none";}function As(Bm,i,Bo){var Bq=Af("error_radio"+Bm);var Bs=document.getElementById("error_comments"+Bm).value;Bs=Bs.substring(0,256);var Bn=s(document.getElementById("error_contact_email"+Bm).value);var Br=document.location.href;if(Br&&typeof Br!="undefined"){var Bp=Br.split("/",4)[2];Bs+="\n["+Bp+"]";}if(!/.+@.+/.test(Bn)){alert("Email Address is required when flagging a review");}else{if(!Bq){alert("Please select the reason you are flagging this review");}else{f(H("pr_js_controller_url",Bo)+"?command=helpfulVote&reviewId="+Bm+"&merchantId="+H("pr_merchant_id",Bo)+"&voteType="+Bq+"&errorComments="+Ac(Bs)+"&errorContactEmail="+Ac(Bn));Aa("review_feedback"+Bm,"Thank you for notifying us of this error.");AR[Bm]=1;E[Bm]=1;AJ(Bm);}}}C.display.submitError=As;function AB(i){AJ(i);}C.display.cancelError=AB;function AP(Bo,Bn){if(typeof Bo=="function"&&L(Bn)){var Bm=H("pr_page_id",Bn);var i=Ba(Bm);BA(i,H("pr_locale",Bn),function(Bp){if(Bp&&Bp.reviews){Bo(new AW(Bm,Bp.reviews.review_count,0,P(Bp.reviews.avg)));}else{Bo(new AW(Bm,0,0,0));}},Bn);}}C.display.prData=AP;window.prData=AP;function A6(i){Ag.push(i);}C.display.registerCallback=A6;window.registerCallback=A6;function j(){return{"offsetY":document.body.scrollTop||document.documentElement.scrollTop,"viewportWidth":document.getElementsByTagName("body")[0].clientWidth};}function Ab(i,Bn,Bp){A5(i);var Bm=document.getElementById("pr-modal-container-"+i);if(Bn){if(Bn.ctx=="top"){Bp.parentNode.insertBefore(Bm,Bp);Bm.style.top="-"+(Bm.offsetHeight+30)+"px";}else{AY(Bp,Bm);Bm.style.top="15px";}var Bq=BW(document,"div","pr-modal-wrapper");Bm.style.width=Bn.w+"px";Bm.style.left=0;}else{document.getElementsByTagName("body")[0].appendChild(Bm);var Bo=j();Bm.style.left=((Bo.viewportWidth-Bm.offsetWidth)/2)+"px";Bm.style.top=(Bo.offsetY+100)+"px";}Bl(Bm,"pr-hidden");}function Ae(i){Bj(document.getElementById("pr-modal-container-"+i),"pr-hidden");}C.display.hideModal=Ae;function A5(i){var Bm=document.getElementById("pr-modal-container-"+i);document.getElementsByTagName("body")[0].appendChild(Bm);var Bn=BW(document,"div","pr-modal-wrapper");Bm.style.height="auto";Bm.style.width="";Bn[0].style.height="auto";}function BF(Bn,Bp){A5(Bn);BZ("pr-modal-"+Bn,Bp);var Bm=document.getElementById("pr-modal-container-"+Bn);var Bo=BW(document,"div","pr-modal-wrapper")[0];var i=BW(document,"div","pr-review-faceoff-review-wrapper")[0];Bm.style.width=(i.scrollWidth-20)+"px";Bm.style.height=(i.offsetHeight+47)+"px";Bo.style.width="auto";Bo.style.height=(i.offsetHeight+5)+"px";Bm.style.left=(i.offsetLeft+10)+"px";Bm.style.top=(i.offsetTop-40)+"px";Bl(Bm,"pr-hidden");}C.display.displayFaceoffModal=BF;function B(Bm,i,Bo,Bp,Bn){BS(Bm,i,function(Bt){var Bq=H("pr_page_id",Bn);var Bs="";var Br="";if(Bt){Bs=Bt.r;Br=Bt.i;}Aa("pr-modal-"+Bm,l(Bq,Bs,Br,i,Bn));Ab(Bm,Bo,Bp);},Bn);}C.display.showFollowProductModal=B;function Bf(Bo,Bn){for(var Bm=0;Bm<Ag.length;Bm++){Ag[Bm](Bo,Bn);}}function Aw(Bo){var Bm={canonicalGroupSet:{},histogramDisplayGroupList:[],subratingsGroupList:[],otherGroupList:[]};if(Bo){if(Bo.g){for(var Bn=0;Bn<Bo.g.length;Bn++){var Bp=Bo.g[Bn];if(Bp.k=="pros"||Bp.k=="cons"||Bp.k=="bestuses"){Bm.canonicalGroupSet[Bp.k]=Bp;}else{if(Bp.a){Bm.histogramDisplayGroupList.push(Bp);}else{Bm.otherGroupList.push(Bp);}}}}Bm.subratingGroupList=Bo.ar||[];}return Bm;}function Bb(Bp,Bm){var i=null;if(Bp){var Bn=H("pr_badge_table",Bm);for(var Bo=0;Bo<Bp.length;Bo++){i=Bn[Bp[Bo]];if(i){break;}}}return i;}function AM(Bn,i,Bm){var Bo=Ac(H("pr_site_id",Bm)||"-");return H("pr_base_follow_landing_url",Bm)+"product/"+i+"/"+H("pr_merchant_group_id",Bm)+"/"+Bo+"/"+Ac(Bn);}function BR(Bq,Bn,i,Bo,Bt,Br,Bx){var By=[];var Bs=T(Bx);By.push('<div id="prReviewSummary"><a name="ReviewHeader"></a><div class="prSummaryHeader"><span class="prSummaryTitle">');By.push("Review Snapshot&reg;");By.push("</span>");if(M(Bx).cobranded){By.push('<span id="');By.push(Bq>0?"prSummaryCobrandId_R":"prSummaryCobrand_NR");By.push('" class="prSummaryCobrand"> <a class="prSummaryCobrandLink" href="#" onclick="POWERREVIEWS.common.showSmallPopup(\'');By.push("http://www.powerreviews.com/legal/index_en_US.html");By.push("', 410, 420); return false;\"> ");By.push("by PowerReviews");By.push("</a></span>");}By.push("</div>");if(Bq>0){By.push('<div class="prSummaryBody">                        <div class="prSummaryRating"><span class="prSummaryAverageRatingText">');By.push("Avg. Customer Rating:");By.push('</span><div class="prStars" style="background-position: 0px ');By.push(i.a*-46);By.push("px; background-image: url(");By.push(Bs);By.push("/engine/images/stars");By.push(".gif");By.push(')" title="');By.push(i.a);By.push('">&#160;</div><div class="prSummaryAverageRatingDecimal">');By.push(i.d);By.push(" ");if(i.d==1){By.push("star");}else{By.push("stars");}By.push("</div><span>");if(Bq==1){By.push("(");By.push("based on {0} review".replace("{0}","1"));By.push(")");}else{By.push("(");By.push("based on {0} reviews".replace("{0}",Bq));By.push(")");}By.push("</span></div>");if(i.b||i.b==0){By.push('<div class="prSummaryBottomLineConsensus">');By.push(Math.round(100*i.b));By.push("% ");By.push("of respondents would recommend this to a friend.");By.push("</div>");}By.push('<div class="prReviewPoints">');if(i.g){By.push("<p>");By.push("Customers most agreed on the following attributes:");By.push("</p>");for(var Bp=0;Bp<i.g.length;Bp++){var Bw=i.g[Bp];var Bv=[];for(var Bm=0;Bm<Bw.v.length;Bm++){var Bu=Bw.v[Bm];if(Bu.c>2){Bv.push(Bu.n+"&nbsp;("+Bu.c+")");}}By.push('<div class="attributeGroup"><div class="prSummaryKey">');By.push(Bw.n);By.push(':</div><div class="prSummaryValue">');By.push(Bv.join(", "));By.push('</div><div class="prAttributeGroupSeparator"></div></div>');}}By.push("</div>");}else{By.push('<div id="prNoReviewsExtraTextHeading">');By.push('</div><div id="prNoReviewsExtraTextBody">');By.push("</div>");}By.push('<div id="');By.push(Bq>0?"prSummaryWriteReviewId_R":"prSummaryWriteReviewId_NR");By.push('" class="prSummaryWriteReview" style="display:none">');By.push(Bq>0?"Already own it?":"Be the first to review this product.");By.push(' <a class="prSummaryWriteReviewLink" href="#" id="writeReview">');By.push("Write a Review");By.push("</a></div>");if(Bq==0){By.push('<div class="break"/>');}By.push('</div></div><div id="pr-modal-container-');By.push(Bo);By.push('" class="pr-modal-container prReviewEngine pr-hidden"><div class="pr-modal-toolbar"><a class="pr-modal-container-close" href="#" onclick="POWERREVIEWS.display.hideModal(\'');By.push(Bo);By.push('\'); return false;"><span>close</span></a><div class="pr-clear"></div></div><div class="pr-modal-wrapper"><div id="pr-modal-');By.push(Bo);By.push('" class="pr-modal-content"></div></div></div>');if(Bq>1){By.push('<div class="prReviewSort"><span class="prReviewCount">');By.push("Reviewed by {0} Customers".replace("{0}"," "+i.n+" "));By.push('</span><span class="prReviewSortBox">');By.push("Sort by:");By.push('<select id="sorter" name="sorter" onchange="POWERREVIEWS.display.startSort(this, \'');By.push(Bo);By.push("', '");By.push(Bt);By.push("', '");By.push(Br);By.push("', POWERREVIEWS.common.getOptions('");By.push(Br);By.push('\'));"><option value="date_new" selected="true">');By.push("Newest first");By.push('</option><option value="date_old">');By.push("Oldest first");By.push('</option><option value="rating_high">');By.push("Highest ratings first");By.push('</option><option value="rating_low">');By.push("Lowest ratings first");By.push('</option><option value="helpful_high">');By.push("Most helpful first");By.push('</option><option value="helpful_low">');By.push("Least helpful first");By.push("</option></select></span></div>");}By.push("<!-- janky -->");return By.join("");}C.display.processRollupTemplate=BR;function Aq(B3,CQ,B0,B6,CJ,B5,Bp,Br,CA,i,CM,CB,B4){var Bv=[];var By=(Br-1)*Bp;var Bq=By+Bp-1;if(Bq>B5-1){Bq=B5-1;}var B9=H("pr_back_to_top_link",B4);var CL=T(B4);var CP=t(H("pr_badge_definitions_url",B4),"~~~LOCALE~~~",B0);var CC=t(H("pr_expert_badge_definitions_url",B4),"~~~LOCALE~~~",B0);var Bx=["None","Not Good","Needs That Special Something","Average, Ordinary","That's Good Stuff","Perfect. It doesn't get any better"];var B8={"Yes":"Yes, I would recommend this to a friend","No":"No, I would not recommend this to a friend"};if(!CM){Bv.push('<div class="prPagination"><span class="prPageCount">');if(By==Bq){Bv.push("Displaying Review");Bv.push(" <strong>");Bv.push((By+1));Bv.push("</strong> ");}else{Bv.push("Displaying Reviews");Bv.push(" <strong>");Bv.push((By+1));Bv.push("-");Bv.push((Bq+1));Bv.push("</strong> ");}Bv.push("of");Bv.push(" ");Bv.push(B5);Bv.push('</span><span class="prNavBackToTopTop"><a href="');Bv.push(B9);Bv.push('">');Bv.push("Back to Top");Bv.push("</a></span>");if(B5>Bp){Bv.push('<span class="prPageNav">');if(By>0){Bv.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');Bv.push(Br-1);Bv.push(", '");Bv.push(CQ);Bv.push("', '");Bv.push(B0);Bv.push("', '");Bv.push(CB);Bv.push("', POWERREVIEWS.common.getOptions('");Bv.push(CB);Bv.push('\')); return false;" href="');Bv.push(CA.replace("~~~REVIEW_PAGE~~~",Br-1));Bv.push('">&laquo; ');Bv.push("Previous");Bv.push("</a>");}else{Bv.push("Previous");}Bv.push(" | ");if(Bq<B5-1){Bv.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');Bv.push(Br+1);Bv.push(", '");Bv.push(CQ);Bv.push("', '");Bv.push(B0);Bv.push("', '");Bv.push(CB);Bv.push("', POWERREVIEWS.common.getOptions('");Bv.push(CB);Bv.push('\')); return false;" href="');Bv.push(i.replace("~~~REVIEW_PAGE~~~",Br+1));Bv.push('">');Bv.push("Next");Bv.push(" &raquo;</a>");}else{Bv.push("Next");}Bv.push("</span>");}Bv.push("</div>");}for(var CD=0;CD<B3.length;CD++){var Bs=B3[CD];var CG=null;if(Bs.cb){var Bo=H("pr_badge_table",B4);for(var B7=0;B7<Bs.cb.length;B7++){CG=Bo[Bs.cb[B7]];if(CG){break;}}}if(CG&&CG.label=="staff-expert"){Bv.push('<div class="prReviewWrap prExpert prStaff">');}else{Bv.push('<div class="prReviewWrap">');}if(CG&&CG.label=="staff-expert"){Bv.push('<div class="prExpertHeader">');Bv.push("Staff Expert");Bv.push(' <span class="prExpertHelp">(<a href="');Bv.push(CC);Bv.push('">');Bv.push("what's this?");Bv.push("</a>)</span></div>");}if(CM&&Bs.pr&&Bs.pr.n){Bv.push('<p class="prReviewAbout">');Bv.push("Review of");Bv.push(' <a href="');Bv.push(Bs.pr.u);Bv.push('">');Bv.push(Bs.pr.n);Bv.push("</a></p>");}if(Bs.t>0){Bv.push('<p class="prReviewHelpfulText">[<span class="prReviewHelpfulCount">');Bv.push(Bs.v);Bv.push(" ");Bv.push("of");Bv.push(" ");Bv.push(Bs.t);Bv.push("</span> ");Bv.push("customers found this review");Bv.push(' <span class="prReviewHelpful">');Bv.push("helpful");Bv.push("</span>]</p>");}Bv.push('<div class="prReviewRating"><div class="prStars prStarsSmall" style="background-position: 0px ');Bv.push(Bs.r*-36);Bv.push("px; background-image: url(");Bv.push(CL);Bv.push("/engine/images/stars_small");Bv.push(".gif");Bv.push(')" title="');Bv.push(Bx[Bs.r]);Bv.push('">&#160;</div><div class="prReviewRatingHeadline">');Bv.push(Bs.h);Bv.push('</div></div><div class="prReviewAuthor"><span class="prReviewAuthorName">');Bv.push("By");Bv.push(" <span>");if(!CM&&Bs.pi){var B2=H("pr_see_all_reviews_url",B4).replace("~~~MERCHANT_USER_ID~~~",Bs.mu);if(B2){Bv.push('<a class="prReviewAuthorProfileLnk" href="');Bv.push(B2);Bv.push('">');Bv.push(Bs.n);Bv.push("</a>");}else{Bv.push('<a class="prReviewAuthorProfileLnk" href="#" onclick="POWERREVIEWS.display.showProfile(\'');Bv.push(Bs.pi);Bv.push("', '");Bv.push(Bs.n);Bv.push("', '");Bv.push(CQ);Bv.push("', '");Bv.push(B0);Bv.push("', POWERREVIEWS.common.getOptions('");Bv.push(CB);Bv.push("')); return false;\">");Bv.push(Bs.n);Bv.push("</a>");}}else{Bv.push(Bs.n);}Bv.push("</span>");if(CG&&CG.label=="staff"){Bv.push('<a href="');Bv.push(CC);Bv.push('"><img class="prVerified" src="');Bv.push(CL);Bv.push("/engine/images/badge_sr_");Bv.push(B0);Bv.push(".gif");Bv.push('" alt="');Bv.push("Staff Reviewer");Bv.push('" title="');Bv.push("Staff Reviewer");Bv.push('"/></a>');}if(Bs.m){Bv.push('<img class="prSiteMember" src="');Bv.push(CL);Bv.push('/engine/images/pixel.gif" alt="');Bv.push("Site Member");Bv.push('" title="');Bv.push("Site Member");Bv.push('"/>');}if(!CG||CG.label!="staff"){if(Bs.o=="e"){Bv.push('<a href="');Bv.push(CP);Bv.push('"><img class="prVerified" src="');Bv.push(CL);Bv.push("/engine/images/badge_vp_");Bv.push(B0);Bv.push(".gif");Bv.push('" alt="');Bv.push("Verified Buyer");Bv.push('" title="');Bv.push("Verified Buyer");Bv.push('"/></a>');}else{if(!false&&!Bs.e&&Bs.c&&Bs.c=="v"){Bv.push('<a href="');Bv.push(CP);Bv.push('"><img class="prVerified" src="');Bv.push(CL);Bv.push("/engine/images/badge_vr_");Bv.push(B0);Bv.push(".gif");Bv.push('" alt="');Bv.push("Verified Reviewer");Bv.push('" title="');Bv.push("Verified Reviewer");Bv.push('"/></a>');}}}Bv.push('</span><span class="prReviewAuthorLocation"> ');Bv.push("from");Bv.push(" <span>");Bv.push(Bs.w);Bv.push('</span></span><span class="prReviewAuthorDate"> ');Bv.push("on");Bv.push(" <span>");Bv.push(Bs.d);Bv.push('</span></span></div><div class="prReviewPoints">');if(Bs.a){for(var Bm=0;Bm<Bs.a.length;Bm++){var Bw=Bs.a[Bm];for(var CI=0;CI<Bw.v.length;CI++){var CK=Bw.v[CI];Bv.push('<div style="display:block"><div class="prAdditionalRatingName">');Bv.push(CK.n);Bv.push(': </div><div class="prAdditionalRatingValue"><div class="prStars prStarsSmall" style="margin-top:5px; background-position: 0px ');Bv.push(CK.v*-36);Bv.push("px; background-image: url(");Bv.push(CL);Bv.push("/engine/images/stars_small");Bv.push(".gif");Bv.push(')" title="');Bv.push(CK.d);Bv.push('">&#160;</div></div></div>');}}Bv.push("<br />");}if(Bs.g){for(var Bm=0;Bm<Bs.g.length;Bm++){var Bw=Bs.g[Bm];Bv.push('<div class="prAttributeGroup"><div class="prReviewKey">');Bv.push(Bw.n);Bv.push(':</div><div class="prReviewValue">');Bv.push(Bw.v.join(", "));Bv.push('</div></div><div class="prAttributeGroupSeparator"></div>');}}if(Bs.rp){Bv.push('<div class="prAttributeGroup"><div class="prReviewKey">');Bv.push("Accessories I Recommend");Bv.push(":</div>");var Bz=[];for(var CN=0;CN<Bs.rp.length;CN++){var CE=Bs.rp[CN];if(CE.u){Bz[Bz.length]='<a href="'+CE.u+'">'+CE.n+"</a>";}else{Bz[Bz.length]=CE.n;}}Bv.push('<div class="prReviewValue">');Bv.push(Bz.join(", "));Bv.push('</div></div><div class="prAttributeGroupSeparator"></div>');}if(Bs.sp){Bv.push('<div class="prAttributeGroup"><div class="prReviewKey">');Bv.push("Similar Products I Own");Bv.push(":</div>");var B1=[];for(var CO=0;CO<Bs.sp.length;CO++){var Bt=Bs.sp[CO];if(Bt.u){B1[B1.length]='<a href="'+Bt.u+'">'+Bt.n+"</a>";}else{B1[B1.length]=Bt.n;}}Bv.push('<div class="prReviewValue">');Bv.push(B1.join(", "));Bv.push('</div></div><div class="prAttributeGroupSeparator"></div>');}if(Bs.x){Bv.push('<div class="prReviewKey">');Bv.push(Bs.x.n);Bv.push(':</div><div class="prReviewValue">');Bv.push(Bs.x.v);Bv.push("</div>");}if(Bs.b){var Bn;if(Bs.b.v){Bn=Bs.b.v;}else{Bn=B8[Bs.b.k];}Bv.push('<div class="prReviewKey">');Bv.push(Bs.b.n);Bv.push(':</div><div class="prReviewValue">');Bv.push(Bn);Bv.push("</div>");}Bv.push("</div>");if(Bs.tb){Bv.push('<div class="prReviewExtraText"> ');for(var Bm=0;Bm<Bs.tb.length;Bm++){var Bw=Bs.tb[Bm];Bv.push('<div class="prAttributeGroup"><div class="prReviewKey">');Bv.push(Bw.n);Bv.push(':</div><div class="prReviewValue">');Bv.push(Bw.v);Bv.push('</div></div><div class="prAttributeGroupSeparator"></div>');}Bv.push("</div> ");}Bv.push('<div class="prReviewText">');if(B6){Bv.push('<p class="prCommentsHeader"><span class="prStrong">');Bv.push("Comments about");Bv.push('</span> <span class="prEmphasis">');Bv.push(B6);Bv.push(":</span></p>");}Bv.push('<p class="prComments">');Bv.push(k(Bs.p));Bv.push("</p></div>");if(Bs.z){Bv.push('<div class="prServiceCommentsHeader">');Bv.push("Service & Delivery comments:");Bv.push('</div><p class="prServiceComments">');Bv.push(k(Bs.z));Bv.push("</p>");}if(Bs.i){if(Bs.i.t=="i"){Bv.push("Images");}else{if(Bs.i.t=="v"){Bv.push("Videos");}else{Bv.push("Images and videos");}}Bv.push(" ");Bv.push("shared by:");Bv.push(" <strong>");Bv.push(Bs.n);Bv.push('</strong><div class="prCustomerPics">');for(var CH=0;CH<Bs.i.r.length;CH++){var Bu=Bs.i.r[CH];if(CH==0){Bv.push('<div class="prPic prLeft">');}else{Bv.push('<div class="prPic">');}if(Bu.c){Bv.push('<p class="prCaption">');Bv.push(Bu.c);Bv.push("</p>");}else{Bv.push('<p class="prCaption"></p>');}if(!Bu.v){Bv.push('<div class="prPicContent"><div class="wrap1"><div class="wrap2">');if(Bu.s){Bv.push('<a href="#" onclick="POWERREVIEWS.common.showImagePopup(\'');Bv.push(Bu.s.u);Bv.push("', ");Bv.push(Bu.s.w);Bv.push(", ");Bv.push(Bu.s.h);Bv.push(", POWERREVIEWS.common.getOptions('");Bv.push(CB);Bv.push('\')); return false;"><img src="');Bv.push(CL);Bv.push("/content");Bv.push(Bu.h.u);Bv.push('" alt="Image Thumbnail" width="');Bv.push(Bu.h.w);Bv.push('" height="');Bv.push(Bu.h.h);Bv.push('" /></a>');}else{Bv.push('<img src="');Bv.push(CL);Bv.push("/content");Bv.push(Bu.h.u);Bv.push('" alt="Image Thumbnail" width="');Bv.push(Bu.h.w);Bv.push('" height="');Bv.push(Bu.h.h);Bv.push('" />');}Bv.push("</div></div></div>");}else{Bv.push('<div class="prVidContent"><div class="wrap"><a id="pr_video_thumbnail_container" href="#" onclick="POWERREVIEWS.common.showVideoPopup(\'');Bv.push(Bu.v);Bv.push("', POWERREVIEWS.common.getOptions('");Bv.push(CB);Bv.push('\')); return false;"><img id="pr_video_thumbnail" src="');Bv.push(Bu.h.u);Bv.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(Bu.g){if(Bu.v){Bv.push('<p class="prVidTags">');}else{Bv.push('<p class="prPicTags">');}Bv.push('<span class="prTaglabel">');Bv.push("Tags:");Bv.push("</span>");Bv.push(Bu.g.join(", "));Bv.push("</p>");}Bv.push("</div>");}Bv.push("</div>");}if(Bs.y){for(var CF=0;CF<Bs.y.length;CF++){Bv.push('<div class="prMerchantResponse"><strong>');Bv.push(M(B4).name);Bv.push(" ");Bv.push("Response:");Bv.push("</strong> ");Bv.push(k(Bs.y[CF]));Bv.push("</div>");}}if(!CM){Bv.push('<div class="prReviewTools"><span class="prReviewHelpfulText">');Bv.push("Was this review helpful to you?");Bv.push('&nbsp;<a class="prReviewHelpfulTextLink" href="#" onclick="POWERREVIEWS.display.submitHelpfulVote(\'');Bv.push(Bs.id);Bv.push("', 'helpful', '");Bv.push(B0);Bv.push("', POWERREVIEWS.common.getOptions('");Bv.push(CB);Bv.push("')); return false;\">");Bv.push("Yes");Bv.push('</a> / <a class="prReviewHelpfulTextLink" href="#" onclick="POWERREVIEWS.display.submitHelpfulVote(\'');Bv.push(Bs.id);Bv.push("', 'unhelpful', '");Bv.push(B0);Bv.push("', POWERREVIEWS.common.getOptions('");Bv.push(CB);Bv.push("')); return false;\">");Bv.push("No");Bv.push('</a></span><span class="prReviewReportIssue"><span class="prReviewReportIssueHyphen">- </span>');Bv.push("Is this");Bv.push(' <a href="#" class="prReviewHelpfulTextLink" onclick="POWERREVIEWS.display.launchErrorDiv(\'');Bv.push(Bs.id);Bv.push("', '");Bv.push(B0);Bv.push("', '");Bv.push(CB);Bv.push("', POWERREVIEWS.common.getOptions('");Bv.push(CB);Bv.push("')); return false;\">");Bv.push("review inappropriate?");Bv.push('</a>.</span></div><div class="errorDiv" id="error_div');Bv.push(Bs.id);Bv.push('" style="display:none;padding-left:5px;padding-bottom:5px;"></div><p><strong><div class="prReviewHelpfulText" id="review_feedback');Bv.push(Bs.id);Bv.push('"></div></strong></p>');}Bv.push("</div>");}if(!CM){Bv.push('<div class="prPagination"><span class="prPageCount">');if(By==Bq){Bv.push("Displaying Review");Bv.push(" <strong>");Bv.push((By+1));Bv.push(" </strong>");}else{Bv.push("Displaying Reviews");Bv.push(" <strong>");Bv.push((By+1));Bv.push("-");Bv.push((Bq+1));Bv.push(" </strong>");}Bv.push("of");Bv.push(" ");Bv.push(B5);Bv.push('</span><span class="prNavBackToTopTop"><a href="');Bv.push(B9);Bv.push('">');Bv.push("Back to Top");Bv.push("</a></span>");if(B5>Bp){Bv.push('<span class="prPageNav">');if(By>0){Bv.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');Bv.push(Br-1);Bv.push(", '");Bv.push(CQ);Bv.push("', '");Bv.push(B0);Bv.push("', '");Bv.push(CB);Bv.push("', POWERREVIEWS.common.getOptions('");Bv.push(CB);Bv.push("')); location.hash = '#ReviewHeader'; return false;\" href=\"");Bv.push(CA.replace("~~~REVIEW_PAGE~~~",Br-1));Bv.push('">&laquo; ');Bv.push("Previous");Bv.push("</a>");}else{Bv.push("Previous");}Bv.push(" | ");if(Bq<B5-1){Bv.push('<a onclick="POWERREVIEWS.display.getReviewsFromMeta(');Bv.push(Br+1);Bv.push(", '");Bv.push(CQ);Bv.push("', '");Bv.push(B0);Bv.push("', '");Bv.push(CB);Bv.push("', POWERREVIEWS.common.getOptions('");Bv.push(CB);Bv.push("')); location.hash = '#ReviewHeader'; return false;\" href=\"");Bv.push(i.replace("~~~REVIEW_PAGE~~~",Br+1));Bv.push('">');Bv.push("Next");Bv.push(" &raquo;</a>");}else{Bv.push("Next");}Bv.push("</span>");}Bv.push("</div>");}Bv.push("<!-- garby -->");return Bv.join("");}C.display.processReviewsTemplate=Aq;function Aj(Bo,Bn,Bm,Bp){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(Bo);i.push('" value="profane">');i.push("Profanity");i.push('<br><input type="radio" name="error_radio');i.push(Bo);i.push('" value="wrong_product">');i.push("Wrong product");i.push('<br><input type="radio" name="error_radio');i.push(Bo);i.push('" value="spam">');i.push("Spam");i.push('<br><input type="radio" name="error_radio');i.push(Bo);i.push('" value="duplicate">');i.push("Duplicate");i.push('<br><input type="radio" name="error_radio');i.push(Bo);i.push('" value="copyright">');i.push("Copyright violation");i.push('<br><input type="radio" name="error_radio');i.push(Bo);i.push('" value="not_review">');i.push("Not a product review");i.push('<br><input type="radio" name="error_radio');i.push(Bo);i.push('" value="customer_image">');i.push("Customer image");i.push('<br><input type="radio" name="error_radio');i.push(Bo);i.push('" value="customer_image">');i.push("Problem with image");i.push('<br><input type="radio" name="error_radio');i.push(Bo);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(Bo);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(Bo);i.push('" cols="30" rows="3"></textarea><br><button class="pr-submit-button" onclick="POWERREVIEWS.display.submitError(\'');i.push(Bo);i.push("', '");i.push(Bn);i.push("', POWERREVIEWS.common.getOptions('");i.push(Bm);i.push("')); return false;\"><span>");i.push("Submit");i.push('</span></button><button class="pr-cancel-button" onclick="POWERREVIEWS.display.cancelError(\'');i.push(Bo);i.push("'); return false;\"><span>");i.push("Cancel");i.push("</span></button>");return i.join("");}C.display.processErrorDivTemplate=Aj;function u(Bo,Bm,Bn){var i=[];i.push("<!-- nice try -->");return i.join("");}function BQ(Bo,Bm,Bn){var i=[];i.push("<!-- nice try -->");return i.join("");}function p(Bn,Bm,Bo){var i=[];i.push("<!-- nice try -->");return i.join("");}function AA(Bn,Br,Bt){var Bu=[];if(Bn){var Bq=T(Bt);var Bo=t(H("pr_expert_badge_definitions_url",Bt),"~~~LOCALE~~~",Br);var Bm=Bn.locales[Br];var Bs=(Bn.label=="staff"||Bn.label=="staff-expert");if(Bm){var Bp=Bn.label.replace(/[^-_a-zA-Z]/g,"_");var i="pr-review-author-"+Bp+"-wrapper";Bu.push('<div class="');Bu.push(i);Bu.push(" ");Bu.push(i);Bu.push("-");Bu.push(Br);Bu.push('">');if(Bs){Bu.push('<a href="');Bu.push(Bo);Bu.push('">');}Bu.push('<img class="pr-badge pr-');Bu.push(Bp);Bu.push('" src="');Bu.push(Bq);Bu.push("/engine/images/badges/");Bu.push(Bm.filename);Bu.push('" alt="');Bu.push(Bm.hovertext);Bu.push('" title="');Bu.push(Bm.hovertext);Bu.push('" />');if(Bs){Bu.push("</a>");}Bu.push("</div>");}}Bu.push("<!-- woozle -->");return Bu.join("");}function l(Bo,Bq,Bp,Bm,Bn){var i=[];i.push("<!-- nice try -->");return i.join("");}var BO=0;var AN=false;function BT(Bn,Bp){if(Ao(Bn,Bp)){Am(Bn,Bp);var Bo=Ba(H("pr_page_id",Bp));var Bm=H("pr_locale",Bp);var Br="prSnippet"+Bo;var i=false;BO++;if(document.getElementById(Br)){Av(Bo,Bm,Br,i,Bp);}else{var Bq="prSnippet"+Bo+"_"+BO;Bn.write('<div id="'+Bq+'" class="prSnippetEngine"></div>');Av(Bo,Bm,Bq,i,Bp);}if(!AN){setTimeout(function(){Be(Bp);},3000);AN=true;}}}C.display.snippet=BT;window.snippet=BT;gFlagSnippetInitFinished=false;function Am(i,Bm){if(gFlagSnippetInitFinished){return ;}gFlagSnippetInitFinished=true;}function Be(i){b({"type":"snippet","count":BO},i);}function BM(i,Bm){}function A1(i){return i+"-google-plus-one";}function Av(Bn,Bm,Bp,i,Bo){BA(Bn,Bm,function(Bu){var Bq=H("pr_snippet_min_reviews",Bo);var Bt=0;var Br=0;var Bs=Bp;if(Bu&&Bu.reviews){Bt=Bu.reviews.review_count;Br=Bu.reviews.avg;}if(Bq<=Bt){Aa(Bp,D(Bn,Bt,Br,Bm,i,Bs,Bo),function(){BM(A1(Bs,Bo));});}},Bo);}function D(Bv,i,Bu,Bz,B0,Bm,Bn){var Bt=[];var Bo=I(H("pr_page_id",Bn),Bn);var Bx=P(Bu);var B6=Math.round(Bx);var Bp="";var B4="";var B1=H("pr_snippet_star_click",Bn);if(B1){Bp="cursor:pointer;";B4='onclick="'+B1+'"';}var B5=["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="Rating";var B3="Review";if((i==0&&Bz.substring(0,2)!="fr")||i>1){Bw="Ratings";B3="Reviews";}var Bq="";if(i>0){Bq="";}var B2="star";if((Bu==0&&Bz.substring(0,2)!="fr")||Bu>1){B2="stars";}var By=H("pr_facebook_like_button_url",Bn);if(By==null){By=document.URL;}By=Ac(By);if(By==""){B0=false;}var Bs=window.location.protocol;var Br=false&&!H("pr_suppress_google_plus_one",Bn);Bt.push('<div class="prSnippetTitle">');Bt.push("Product Rating");Bt.push('</div><div class="prSnippetRatingUnclickable"><div class="prStars prStarsSmall" style="padding: 0; background-position: 0px ');Bt.push(Bx*-36);Bt.push("px; ");Bt.push(Bp);Bt.push(" background-image: url(");Bt.push(T(Bn)+"/engine/images/stars_small.gif");Bt.push(')" ');Bt.push(B4);Bt.push(' title="');Bt.push(B5[B6]);Bt.push('">&#160;</div><div class="prSnippetRatingDecimal">');Bt.push(Bu);Bt.push(" ");Bt.push(B2);Bt.push('</div><div class="prSnippetNumberOfRatingsText">&nbsp;(');Bt.push(i);Bt.push(" ");Bt.push(Bw);Bt.push(")</div></div>");if(Bo){Bt.push('<div class="prSnippetWriteReview">');Bt.push(Bq);Bt.push(' <a class="prSnippetLink" href="');Bt.push(Bo);Bt.push('">');Bt.push("Write a Review");Bt.push("</a></div>");}if(i>0){Bt.push('<div class="prSnippetReadReviews"><a class="prSnippetLink" href="');Bt.push(H("pr_read_review",Bn));Bt.push('">');Bt.push("Read");Bt.push(" ");Bt.push(i);Bt.push(" ");Bt.push(B3);Bt.push("</a></div>");}Bt.push('<div class="prSnippetSocialBar">');if(Br){Bt.push('<div class="prGooglePlusOne"><div id="');Bt.push(A1(Bm));Bt.push('"></div></div>');}if(B0){Bt.push('<div class="prFacebookLikeSnippet"><iframe src="');Bt.push(Bs);Bt.push("//www.facebook.com/plugins/like.php?href=");Bt.push(By);Bt.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>');}Bt.push("</div><!-- hrm -->");return Bt.join("");}var BV=0;function Ak(Bm,Bo){if(Ao(Bm,Bo)){var Bn=Ba(H("pr_page_id",Bo));var i=H("pr_locale",Bo);var Bq="pr-summary-snippet-"+Bn;if(document.getElementById(Bq)){BJ(Bn,i,Bq,Bo);}else{var Bp="pr-summary-snippet-"+Bn+"-"+(BV++);Bm.write('<div id="'+Bp+'" class="pr-summary-snippet"></div>');BJ(Bn,i,Bp,Bo);}}}C.display.summarySnippet=Ak;function BJ(Bm,i,Bo,Bn){BA(Bm,i,function(Br){var Bp=H("pr_snippet_min_reviews",Bn);var Bq=0;if(Br&&Br.reviews){Bq=Br.reviews.review_count;if(Bp<=Bq){BL(T(Bn)+"/content/"+a(Bm)+"/"+Bm+"-"+i+"-rollup.js",null,function(Bs){if(Bs.rollup){Aa(Bo,AX(Bs.rollup,Bm,i,Bn));}},Bn);}}},Bn);}function AX(Bp,Bn,Bm,Bo){var i=[];i.push("<!-- nice try -->");return i.join("");}var F=0;function A8(i,Bn){if(Ao(i,Bn)){var Bm=Ba(H("pr_page_id",Bn));var Bo="prPaContainer"+Bm;if(!document.getElementById(Bo)){Bo=Bo+"_"+F++;i.write('<div id="'+Bo+'"></div>');Bg(i,Bo,Bm,H("pr_locale",Bn),Bn);}else{Ar("p","prPaTotalsLabel");}z(Bm,Bn);S(Bm,Bn);}}C.display.productAnswers=A8;window.productAnswers=A8;function Bg(Bm,Bn,Bo,i,Bp){BA(Bo,i,function(Bv){var Bq=0,Br=0;var Bu="",Bs={};if(Bv){Bu=Bv.name;Bs=Bv.vNames;if(Bv.questions){Bq=Bv.questions.question_count;Br=Bv.questions.answer_count;}}var Bt=function(Bw){Aa(Bn,An(i,Bq,Br,Bw,Bu,Bs,Bp),function(){Ar("p","prPaTotalsLabel");});};if(Bq>0){BL(T(Bp)+"/content/"+a(Bo)+"/"+Bo+"-"+i+"-1-questions.js",null,function(Bw){Bt(Bw);},Bp);}else{Bt([]);}},Bp);}function z(Bm,Bn){var Bp=BW(document,"a","prPaAskQuestionLnk");if(Bp.length>0){var Br=x(Bm,Bn);for(var Bo=0;Bo<Bp.length;Bo++){var Bq=Bp[Bo];if(Br){Bq.href=Br;Bq.style.display="";}}}else{setTimeout(function(){z(Bm,Bn);},100);}}function S(Bo,Bp){var Bn=BW(document,"p","prPaAnswerLnk");if(Bn.length>0){for(var Bq=0;Bq<Bn.length;Bq++){var Bs=Bn[Bq];var Br=Bs.childNodes[1];var Bm=AS(Bo,Br.id.substring(13),Bp);if(Bm){Br.href=Bm;}Bs.style.display="";}}else{setTimeout(function(){S(Bo,Bp);},100);}}function x(i,Bm){return t(H("pr_ask_question",Bm),"~~~PAGE_ID~~~",i);}function AS(Bm,i,Bn){return t(t(t(H("pr_answer_question",Bn),"~~~PAGE_ID~~~",Bm),"~~~QUESTION_ID~~~",i),"@@@QUESTION_ID@@@",i);}function BP(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 An(Bx,Bs,Bm,B2,Bt,Br,Bq){var Bu=[];Bu.push('<div class="prPaContainer prPaNonempty"><a name="QAHeader"></a><div class="prPaHeader"><p class="prPaQuestionPromptIntro">');Bu.push("Do you have questions about this product?");Bu.push("</p><span>");Bu.push('</span><div class="prPaQuestionSubhead"><a class="prPaAskQuestionLnk" style="display:none;" href="#"><span>');Bu.push("Ask a question");Bu.push('</span></a><p class="prPaQuestionPrompt">');Bu.push("Get answers from real customers and in-house experts.");Bu.push('</p></div><div class="prPaCounts">');Bu.push(Bs==1?"1 Question":Bs+" Questions");Bu.push(" | ");Bu.push(Bm==1?"1 Answer":Bm+" Answers");Bu.push('</div></div><ul class="prPaQaContainer">');for(var Bz=0;Bz<B2.length;Bz++){var Bv=B2[Bz];Bv=Bv.q||Bv;var Bp=Bv.as?Bv.as.length:0;var B3="Asked on <strong>"+Bv.dd+"</strong> by <strong>"+(Bv.n||"Anonymous")+"</strong>"+(Bv.l?" from<strong> "+Bv.l+"</strong>":"");var Bn=Bv.pv&&Br&&Br[Bv.pv];Bu.push('<li><div class="prPaQaDialog">');if(Bn){Bu.push('<div class="prPaQaVariantName">');Bu.push(Bn);Bu.push("</div>");}Bu.push('<div class="prPaQ"><p class="paPrQaPrefix">');Bu.push("Q:");Bu.push(" </p> ");Bu.push(k(Bv.t));Bu.push('</div><div class="prPaByLine prPaAddBorder">');Bu.push(B3);Bu.push('</div></div><p class="prPaAnswerLnk" style="display:none;">');Bu.push("Know the answer?");Bu.push(' <a id="prPaQuestion-');Bu.push(Bv.id);Bu.push('" href="#">');Bu.push("Answer this question");Bu.push('</a></p><p class="prPaTotalsLabel">');Bu.push(Bp==1?"1 answer":Bp+" answers");Bu.push('</p><div class="prPaAnswerCont">');if(Bp>0){Bu.push('<ul class="prPaAnswerList">');for(var By=0;By<Bv.as.length;By++){var Bw=Bv.as[By];var B1="Answered on<strong> "+Bw.dd+"</strong> by<strong> "+(Bw.n||"Anonymous")+"</strong>";if(Bw.l){B1+=" from <strong>"+Bw.l+"</strong>";}if(By==Bv.as.length-1){var Bo='<div class="prPaAnswerDialog prPaLastAnswer">';}else{var Bo='<div class="prPaAnswerDialog prPaAddBorder">';}var B0=Bb(Bw.cb);Bu.push("<li>");Bu.push(Bo);if(Bw.vp){Bu.push(' <div class="prPaBadgeCase"><p class="prPaVerifiedPurchaser">');Bu.push("VERIFIED BUYER");Bu.push("</p></div> ");}if(B0){Bu.push('<div class="prPaBadgeCase">');Bu.push(AA(B0,Bx,Bq));Bu.push("</div>");}else{if(Bw.ea){Bu.push(' <div class="prPaBadgeCase"><p class="prPaVerifiedMerchant">');Bu.push("CUSTOMER CARE");Bu.push("</p></div> ");}}Bu.push('    <p class="prPaA"><p class="paPrQaPrefix">');Bu.push("A:");Bu.push("</p> ");Bu.push(k(Bw.ea?BP(""+Bw.t):Bw.t));Bu.push('</p><div class="prPaByLine">');Bu.push(B1);Bu.push("</div></div></li>");}Bu.push("</ul>");}Bu.push("</div></li>");}Bu.push('</ul></div><div class="prPaFooter">');if(Bs>0){Bu.push('<a class="prPaAskQuestionLnk" style="display:none;" href="#"><span>');Bu.push("Ask a question");Bu.push('</span></a><p class="prPaQuestionPromptIntro">');Bu.push("Do you have a question about this product?");Bu.push("&nbsp;</p>");}Bu.push("</div>");return Bu.join("");}C.display.processProductAnswersTemplate=An;function q(Bn,Bm){var Bq=new Date((Bn||"").replace(/-/g,"/").replace(/[TZ]/g," "));var Bo=new Date((Bm||"").replace(/-/g,"/").replace(/[TZ]/g," "));var Bp=((Bo.getTime()-Bq.getTime())/1000);var i=Math.floor(Bp/86400);if(isNaN(i)||i<0){return"";}else{if(i==0){if(Bp==1){return"1 second";}else{if(Bp<60){return"seconds";}else{if(Bp<120){return"1 minute";}else{if(Bp<3600){return Math.floor(Bp/60)+" minutes";}else{if(Bp<7200){return"1 hour";}else{return Math.floor(Bp/3600)+" hours";}}}}}}else{if(i==1){return"1 day";}else{if(i<7){return i+" days";}else{return Math.ceil(i/7)+" weeks";}}}}}function Y(Bn){var i="prPaToggleClosed";var Bm=Bn.nextSibling;while(Bm.nodeType!=1){Bm=Bm.nextSibling;}Bm.style.display=((Bm.style.display=="none")?"block":"none");if(Bn.className.match(i)){Bl(Bn,"prPaToggleClosed");Bj(Bn,"prPaToggleOpen");}else{if(Bn.className==""){Bl(Bn,"prPaToggleClosed");Bj(Bn,"prPaToggleOpen");}else{Bl(Bn,"prPaToggleOpen");Bj(Bn,"prPaToggleClosed");}}}function Ar(Bm,Bo){var Bq="prPaClicker";var Bn=BW(document,Bm,Bo);for(var Bp=0;Bp<Bn.length;Bp++){Bn[Bp].className+=" "+Bq;Bn[Bp].onclick=function(){Y(this);};Y(Bn[Bp]);}}var U=0;function O(Bm,Bo){if(Ao(Bm,Bo)){var Bn=Ba(H("pr_page_id",Bo));var i=H("pr_locale",Bo);var Bq="pr-pa-snippet-"+Bn;if(document.getElementById(Bq)){Ay(Bn,i,Bq,Bo);}else{var Bp="pr-pa-snippet-"+Bn+"-"+(U++);Bm.write('<div id="'+Bp+'" class="pr-pa-snippet"></div>');Ay(Bn,i,Bp,Bo);}}}C.display.productAnswersSnippet=O;window.productAnswersSnippet=O;function Ay(Bm,i,Bo,Bn){BA(Bm,i,function(Br){var Bp=0;var Bq=0;if(Br&&Br.questions){Bp=Br.questions.question_count;Bq=Br.questions.answer_count;}Aa(Bo,AU(Bm,Bp,Bq,i,Bn));},Bn);}function AU(Bp,Bn,Bo,Bm,Bq){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(H("pr_read_qa",Bq));i.push('">');i.push(Bn==1?"<span>1</span> Question":"<span>{0}</span> Questions".replace("{0}",Bn));i.push('</a></p><p class="pr-pa-snippet-answers"><a class="pr-snippet-link" href="');i.push(H("pr_read_qa",Bq));i.push('">');i.push(Bo==1?"<span>1</span> Answer":"<span>{0}</span> Answers".replace("{0}",Bo));i.push('</a></p></div><div class="pr-pa-snippet-ask-question"><a class="pr-snippet-link" href="');i.push(H("pr_ask_question",Bq));i.push('">');i.push("Ask a Question");i.push('</a></div><div class="pr-clear"></div></div></div>');return i.join("");}return C;})();var SHOPZILLAREVIEWS=POWERREVIEWS;
