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