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