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