var POWERREVIEWS=(function(){var L={common:{},submission:{}};var AO=false;var r=false;var Q=null;var S={};var t={};var x={};var F={};L.common.gResult=F;var m={};var J=0;var k=encodeURIComponent||escape;var p="prBaseStylesheet";var s="prMerchantOverrideStylesheet";var H={"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 n={pr_merchant_table:{"m7459":{"name":"No1Reviews.com","cobranded":"true"}},pr_merchant_id:7459,pr_locale:"en_US",pr_read_review:"#ReviewHeader",pr_read_qa:"#QAHeader",pr_write_review:"http://www.no1reviews.com/user-review.php?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:10,pr_zip_location:"http://cdn.powerreviews.com/repos/12032/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.no1reviews.com/resize.html",pr_snippet_min_reviews:0,pr_suppress_google_plus_one:false,pr_source:"web",pr_image_snippet_show_image:c,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"},"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 B={};if(window&&window.location&&window.location.search){var AL=window.location.search.substring(1).split("&");for(var AJ=0,W=AL.length;AJ<W;++AJ){var AK=AL[AJ].split("=");B[AK[0]]=AK[1];}}function j(AR){for(var AS=1,AQ=arguments.length;AS<AQ;++AS){var AT=arguments[AS];if(AT){var AP=AT[AR];if(typeof AP!="undefined"){return AP;}}}return null;}function AI(AP,i){return j(AP,i,B,window,n);}L.common.get=AI;function N(AT){var AS=0;var AR;for(AR=0;AR<AT.length;AR++){var AQ=AT.charCodeAt(AR);AQ=AQ*Math.abs(255-AQ);AS+=AQ;}AS=AS%1023;AS=AS+"";var AU=4;var AP=AS.split("");for(AR=0;AR<AU-AS.length;AR++){AP.unshift("0");}AS=AP.join("");AS=AS.substring(0,AU/2)+"/"+AS.substring(AU/2,AU);return AS;}function G(i,AQ){if(AO){return true;}else{if(!b(AQ)){return false;}}AO=true;if(!document.getElementById(p)){i.write('<link rel="stylesheet" href="'+K(AQ)+'/engine/pr_styles_review.css" type="text/css" id="'+p+'">\n');}var AR=K(AQ)+"/engine/merchant_styles2.css";var AP=A(AI("pr_style_sheet",AQ));if(AI("pr_allow_engine_css_override",AQ)&&AP){AR=AP;}if(!document.getElementById(s)){i.write('<link rel="stylesheet" href="'+AR+'" type="text/css" id="'+s+'">\n');}Z(K(AQ)+"/engine/images/ph.gif?r="+Math.floor(Math.random()*10000));h({"type":"init"},AQ);setTimeout(function(){h({"type":"objects","count":J},AQ);},5000);return true;}function b(i){if(r){return true;}else{if(!AI("pr_page_id",i)&&!AI("pr_merchant_user_id",i)){return false;}}r=true;return true;}function C(i,AP,AQ){if(!document.getElementById(i)){setTimeout(function(){C(i,AP,AQ);},1000);}else{AC(i,AP,AQ);}}function AC(i,AQ,AR){try{if(!AQ){AQ="";}o(function(){AH(document.getElementById(i),AQ);if(AR){AR();}});}catch(AP){}}function AH(AQ,AP){if(AQ.parentNode){var i=document.createElement("div");i.id=AQ.id;i.className=AQ.className;i.innerHTML=AP;AQ.parentNode.replaceChild(i,AQ);return i;}else{AQ.innerHTML=AP;return AQ;}}function o(i){if(typeof i=="function"){(function(){if(M()){try{document.documentElement.doScroll("left");}catch(AP){setTimeout(arguments.callee,50);return ;}}i();i=null;})();}}function M(){return typeof document.all!="undefined"&&typeof window.opera=="undefined"&&!(navigator.vendor=="KDE");}function Z(i){new Image().src=i;}function K(AP){var i=AI("pr_zip_location",AP);if(i.charAt(i.length-1)!="/"){i+="/";}i+=AI("pr_powerreviews_root",AP);return i;}L.common.getDocRoot=K;function u(i){return i.replace(/\W/g,"__");}function a(AP,AR,AQ,i){this.pageId=AP;this.fullReviewCount=AR;this.quickReviewCount=AQ;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 AN(AP,i,AQ){return AQ&&AQ["locales"]&&AQ["locales"][i]&&AQ["locales"][i]["p"+AP];}function d(AQ){var AR=document.getElementsByName(AQ);for(var AP=0;AP<AR.length;AP++){if(AR[AP].checked){return AR[AP].value;}}return null;}function O(i,AQ,AP){return i.replace(new RegExp(AQ,"g"),AP);}function A(i){return i&&i.replace(/^\s+|\s+$/g,"");}function AA(i){if(typeof i=="string"){return i.replace(/\n/g,"<br />");}else{return i;}}function w(AQ,AR,AU,AP){var AS=K(AP);var AR=AR||AQ.substring(AQ.indexOf(AS)+AS.length+1);if(F[AR]){AU(F[AR]);}else{var i=document.createElement("script");var AT=function(){if(F[AR]){if(i.parentNode){i.parentNode.removeChild(i);delete i;}AU(F[AR]);}};if(M()){i.onreadystatechange=AT;}else{i.onload=AT;}i.type="text/javascript";i.charset="utf-8";i.src=AQ;document.getElementsByTagName("head")[0].appendChild(i);J++;}}function AM(AT,AU,AP){if(AT.className){var AQ=AT.className.split(" ");if(AP){var AS=AU.toUpperCase();for(var AR=0;AR<AQ.length;AR++){if(AQ[AR].toUpperCase()==AS){AQ.splice(AR,1);AR--;}}}AQ[AQ.length]=AU;AT.className=AQ.join(" ");}else{AT.className=AU;}}function V(AS,AT){if(AS.className){var AP=AS.className.split(" ");var AR=AT.toUpperCase();for(var AQ=0;AQ<AP.length;AQ++){if(AP[AQ].toUpperCase()==AR){AP.splice(AQ,1);AQ--;}}AS.className=AP.join(" ");}}function T(AW,AX,AY){var AU=(AX=="*"&&AW.all)?AW.all:AW.getElementsByTagName(AX);var AT=new Array();var AZ=new Array();if(typeof AY=="object"){for(var AS=0;AS<AY.length;AS++){AZ.push(new RegExp("(^|\\s)"+AY[AS].replace(/\-/g,"\\-")+"(\\s|$)"));}}else{AZ.push(new RegExp("(^|\\s)"+AY.replace(/\-/g,"\\-")+"(\\s|$)"));}var AP;var AV;for(var AR=0;AR<AU.length;AR++){AP=AU[AR];AV=true;for(var AQ=0;AQ<AZ.length;AQ++){if(!AZ[AQ].test(AP.className)){AV=false;break;}}if(AV){AT.push(AP);}}return AT;}function y(AP,i){if(i(AP)==true){return AP;}else{if(AP.parentNode){return arguments.callee(AP.parentNode,i);}else{return false;}}}function AB(AP,i){m[AP]=i;}function AG(i){return m[i];}L.common.getOptions=AG;function Y(AP,i,AS,AQ){var AR=S[AP];if(!AR){w(K(AQ)+"/content/"+N(AP)+"/contents.js",null,function(AT){AR=AN(AP,i,AT);S[AP]=AR?AR:"none";AS(AR);},AQ);}else{if(AR=="none"){AS(null);}else{AS(AR);}}}function l(AP,i,AR,AQ){if(!Q){w(K(AQ)+"/content/"+N(AP)+"/"+AP+"-"+i+"-meta.js",null,function(AS){Q=AS?AS.metadata:null;AR();},AQ);}else{AR();}}function g(AP,i,AS,AT,AR){if(!t[AP+"-"+AS]){var AQ=K(AR)+"/content/"+N(AP)+"/"+AP+"-"+i+"-"+AS+"-reviews.js";w(AQ,null,function(AX){var AV=[];for(var AW=0;AW<AX.length;AW++){var AU=AX[AW].r;x[AU.id]=AU;AV.push(AU);}t[AP+"-"+AS]=AV;AT();},AR);}else{AT();}}function e(AQ,AP,AU,AV,AR){var AT=AU.length;for(var AS=0;AS<AU.length;AS++){g(AQ,AP,AU[AS],function(){if(--AT<=0){AV();}},AR);}}function v(i){return Math.round(i*2)/2;}function h(AP,i){}function X(AS,AP){var AR=AI("pr_base_services_url",AP);var i=AR+"FacebookDisplayProfileController.dox";var AQ=E(AS);if(AQ.length){i+="?"+AQ;}return i;}function P(AS,AP){var AR=AI("pr_base_services_url",AP);var i=AR+"FacebookReviewStatementController.dox?context=STATEMENT";var AQ=E(AS);if(AQ.length){i+="&"+AQ;}return i;}function E(AP){var i=[];for(var AQ in AP){i.push(AQ+"="+k(AP[AQ]));}return i.join("&");}function c(AQ,AR,i,AP){window.open("http://images2.powerreviews.com/media_popup.html?type=image&url="+k(AQ),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width="+AR+",height="+i+",top=100,left=100");}L.common.showImagePopup=c;function I(i,AW,AP,AT){var AR={"toolbar":"no","directories":"no","status":"no","menubar":"no","scrollbars":"yes","resizable":"yes","location":"yes","top":"200","left":"200"};var AU=[];for(var AQ in AR){AU.push(AQ+"="+((AT&&AT[AQ])||AR[AQ]));}var AS=AU.join(",");var AV=window.open(i,"smallWindow","width="+AP+",height="+AW+","+AS);if(window.focus){AV.focus();}}L.common.showSmallPopup=I;function AE(AP,i){window.open("http://images2.powerreviews.com/media_popup.html?type=video&url="+k(AP),"sizedWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,width=435,height=350,top=100,left=100");}L.common.showVideoPopup=AE;function R(AS,AQ,AP,AR){var i=function(){V(document.getElementById(AS.target),"pr-open");AM(document.getElementById(AS.target),"pr-closed");};var AT=function(){V(document.getElementById(AS.target),"pr-closed");AM(document.getElementById(AS.target),"pr-open");};if(window.event){AR=window.event;AR.cancelBubble=true;target=window.event.srcElement;currentTarget=event.srcElement.id;}else{if(AR){AR.stopPropagation();target=AR.target;currentTarget=AR.currentTarget.id;}else{return ;}}if(AQ=="show"){if(document.getElementById(AS.target).className!="pr-open"){this.timedShow=setTimeout(AT,400);}else{if(y(target,function(AU){if(AU.id==AS.target){return true;}})){if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}else{if(AQ=="hide"){if(this.timedHide!=null){window.clearTimeout(this.timedShow);}if(currentTarget==AS.link||currentTarget==AS.target||y(target,function(AU){if(AU.id==AS.target){return true;}})){this.timedHide=setTimeout(i,800);}else{if(this.timedHide!=null){window.clearTimeout(this.timedHide);}}}}}L.common.togglePopOut=R;function f(AR,AS,AQ,i){var AP=AR.substring(AS,AQ);if(i){AP+="...";}return AP;}function z(i,AQ){var AP=document.getElementById(AQ).innerHTML;C(i,AP);}var AD={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(AR){var AP="";var AY,AW,AU,AX,AV,AT,AS;var AQ=0;AR=AD._utf8_encode(AR);while(AQ<AR.length){AY=AR.charCodeAt(AQ++);AW=AR.charCodeAt(AQ++);AU=AR.charCodeAt(AQ++);AX=AY>>2;AV=((AY&3)<<4)|(AW>>4);AT=((AW&15)<<2)|(AU>>6);AS=AU&63;if(isNaN(AW)){AT=AS=64;}else{if(isNaN(AU)){AS=64;}}AP=AP+this._keyStr.charAt(AX)+this._keyStr.charAt(AV)+this._keyStr.charAt(AT)+this._keyStr.charAt(AS);}return AP;},decode:function(AR){var AP="";var AY,AW,AU;var AX,AV,AT,AS;var AQ=0;AR=AR.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(AQ<AR.length){AX=this._keyStr.indexOf(AR.charAt(AQ++));AV=this._keyStr.indexOf(AR.charAt(AQ++));AT=this._keyStr.indexOf(AR.charAt(AQ++));AS=this._keyStr.indexOf(AR.charAt(AQ++));AY=(AX<<2)|(AV>>4);AW=((AV&15)<<4)|(AT>>2);AU=((AT&3)<<6)|AS;AP=AP+String.fromCharCode(AY);if(AT!=64){AP=AP+String.fromCharCode(AW);}if(AS!=64){AP=AP+String.fromCharCode(AU);}}AP=AD._utf8_decode(AP);return AP;},_utf8_encode:function(AP){AP=AP.replace(/\r\n/g,"\n");var i="";for(var AR=0;AR<AP.length;AR++){var AQ=AP.charCodeAt(AR);if(AQ<128){i+=String.fromCharCode(AQ);}else{if((AQ>127)&&(AQ<2048)){i+=String.fromCharCode((AQ>>6)|192);i+=String.fromCharCode((AQ&63)|128);}else{i+=String.fromCharCode((AQ>>12)|224);i+=String.fromCharCode(((AQ>>6)&63)|128);i+=String.fromCharCode((AQ&63)|128);}}}return i;},_utf8_decode:function(AP){var AQ="";var AS=0;var AT=0;var AR=0;while(AS<AP.length){AT=AP.charCodeAt(AS);if(AT<128){AQ+=String.fromCharCode(AT);AS++;}else{if((AT>191)&&(AT<224)){AR=AP.charCodeAt(AS+1);AQ+=String.fromCharCode(((AT&31)<<6)|(AR&63));AS+=2;}else{AR=AP.charCodeAt(AS+1);c3=AP.charCodeAt(AS+2);AQ+=String.fromCharCode(((AT&15)<<12)|((AR&63)<<6)|(c3&63));AS+=3;}}}return AQ;}};function U(AV){var AZ=[];var Aq=AI("pr_app_name",AV)||AI("appName",AV);var Ad=AI("pr_page_id",AV);if(!Aq||Aq==""||Aq=="reviewSubmit"||Aq=="submitReview"){var Ar=AI("pr_submit_review_url",AV);AZ.push(Ar);AZ.push(Ar.indexOf("?")>=0?"&":"?");AZ.push("pageId=");AZ.push(Ad);}else{if(Aq=="askQuestion"){var Av=AI("pr_ask_question_url",AV);AZ.push(Av);AZ.push(Av.indexOf("?")>=0?"&":"?");AZ.push("pageId=");AZ.push(Ad);}else{if(Aq=="answerQuestion"){var Am=AI("pr_answer_question_url",AV);var AS=AI("pr_question_id",AV)||AI("questionId",AV);AZ.push(Am);AZ.push(Am.indexOf("?")>=0?"&":"?");AZ.push("pageId=");AZ.push(Ad);AZ.push("&questionId=");AZ.push(AS);}}}var AQ=AI("pr_merchant_id",AV);if(AQ){AZ.push("&merchantId=");AZ.push(AQ);}var An=AI("pr_promo_code",AV);if(An){AZ.push("&promoCode=");AZ.push(An);}var As=AI("pr_merchant_user_email",AV);if(As){AZ.push("&merchantUserEmail=");AZ.push(As);}var Ac=AI("pr_merchant_user_id",AV)||AI("pr_user_id",AV);if(Ac){AZ.push("&merchantUserId=");AZ.push(Ac);}var Ak=AI("pr_locale",AV);if(Ak){if(Ak=="en"){Ak="en_US";}else{if(Ak=="fr"){Ak="fr_CA";}}AZ.push("&locale=");AZ.push(Ak);}var At=AI("pr_merchant_group_id",AV);if(At){AZ.push("&merchantGroupId=");AZ.push(At);}var Ao=AI("pr_site_id",AV);if(Ao){AZ.push("&siteId=");AZ.push(Ao);}var AR=AI("pr_style_sheet",AV);if(AR){AZ.push("&cssOverride=");AZ.push(AR);}var Ai=AI("pr_source",AV);AZ.push("&source=");AZ.push(Ai);var AW="";var Af=AI("pr_extra_info",AV);if(Af&&typeof Af=="object"){for(var Ap in Af){if(typeof Ap=="string"&&Af.hasOwnProperty(Ap)){AW+=Ap+"^^"+Af[Ap];AW+="#";}}}var AY=AI("pr_order_id",AV);if(AY){AW+="order_id^^"+AY+"#";}if(AW){AZ.push("&extraInfo=");AZ.push(k(AW));}var Aj=AI("pr_reviewer_nickname",AV);if(Aj){AZ.push("&reviewerNickname=");AZ.push(Aj);}var Aa=AI("pr_reviewer_location",AV);if(Aa){AZ.push("&reviewerLocation=");AZ.push(Aa);}var Ah=AI("pr_reviewer_type",AV);if(Ah){AZ.push("&reviewerType=");AZ.push(Ah);}var Ax=AI("pr_rating",AV);if(Ax){AZ.push("&reviewRating=");AZ.push(Ax);}var Au=AI("pr_campaign_id",AV);if(Au){AZ.push("&campaignId=");AZ.push(Au);}var Ab=AI("pr_callback_end_review_template",AV);if(Ab){AZ.push("&callbackEndReviewTemplate=");AZ.push(Ab);}var AU=AI("pr_page_id_variant",AV);if(AU){AZ.push("&variant=");AZ.push(AU);}var Aw=AI("pr_return_url",AV);if(Aw){AZ.push("&returnUrl=");AZ.push(k(Aw));}var Ae=AI("pr_resize_url",AV);if(Ae){AZ.push("&resizeUrl=");AZ.push(k(Ae));}else{var Ag="";var AP=document.getElementsByTagName("script");for(var Al=0;Al<AP.length;Al++){var AX=AP[Al].getAttribute("src");if(AX&&AX.indexOf("appLaunch.js")>=0){Ag=AX;break;}}AZ.push("&windowLocation=");AZ.push(k(window.location));AZ.push("&appLaunchSrc=");AZ.push(k(Ag));}var AT=AI("pr_unique_review_id",AV);if(AT){AZ.push("&uniqueReviewId=");AZ.push(AT);}return AZ.join("");}L.submission.getIframeSourceUrl=U;function q(AQ){var i=U(AQ);var AP=AI("pr_frame_height",AQ);document.write("<iframe id='submitReviewIframe' src='"+i+"' frameborder='0' height='"+AP+"' width='100%' allowTransparency='true' scrolling='auto'></iframe>");}L.submission.writeOutIframe=q;function AF(AP){var i=0;if(AP&&AP.offsetParent){do{i+=AP.offsetTop;}while(AP=AP.offsetParent);}return i;}function D(AR,AQ,AP){if(typeof AR=="number"){document.getElementById("submitReviewIframe").setAttribute("height",AR);}if(typeof AQ=="number"&&AQ>0){var AS=0;var i=AI("pr_scroll_to_id",AP);if(i){AS=AF(document.getElementById(i));}window.scroll(0,AS);}}L.submission.updateIframe=D;return L;})();POWERREVIEWS.submission.writeOutIframe();
