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