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