$(".header__action-item--account").html("\x0D\x0A\x20\x20\x20\x20\x3Cstyle\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x23LoginWithAmazon\x20\x7Bcursor\x3Apointer\x7D\x0D\x0A\x20\x20\x20\x20\x3C\x2Fstyle\x3E\x0D\x0A\x20\x20\x20\x20\x3Cspan\x20class\x3D\x22header__action\x2Ditem\x2Dtitle\x20hidden\x2Dpocket\x20hidden\x2Dlap\x22\x3ELogin\x3C\x2Fspan\x3E\x0D\x0A\x20\x20\x20\x20\x3Cdiv\x20class\x3D\x22header__action\x2Ditem\x2Dcontent\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3Ca\x20href\x3D\x22https\x3A\x2F\x2Fwww.replacementremotes.com\x2Fstore\x2Fcustomerloginc\x22\x20class\x3D\x22header__action\x2Ditem\x2Dlink\x20header__account\x2Dicon\x20icon\x2Dstate\x20hidden\x2Ddesk\x22\x20aria\x2Dlabel\x3D\x22My\x20account\x22\x20aria\x2Dcontrols\x3D\x22account\x2Dpopover\x22\x20aria\x2Dexpanded\x3D\x22false\x22\x20data\x2Daction\x3D\x22toggle\x2Dpopover\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cspan\x20class\x3D\x22icon\x2Dstate__primary\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Csvg\x20focusable\x3D\x22false\x22\x20class\x3D\x22icon\x20icon\x2D\x2Daccount\x20\x22\x20viewBox\x3D\x220\x200\x2020\x2022\x22\x20role\x3D\x22presentation\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cpath\x20d\x3D\x22M10\x2013c2.82\x200\x205.33.64\x206.98\x201.2A3\x203\x200\x200\x201\x2019\x2017.02V21H1v\x2D3.97a3\x203\x200\x200\x201\x202.03\x2D2.84A22.35\x2022.35\x200\x200\x201\x2010\x2013zm0\x200c\x2D2.76\x200\x2D5\x2D3.24\x2D5\x2D6V6a5\x205\x200\x200\x201\x2010\x200v1c0\x202.76\x2D2.24\x206\x2D5\x206z\x22\x20stroke\x3D\x22currentColor\x22\x20stroke\x2Dwidth\x3D\x222\x22\x20fill\x3D\x22none\x22\x3E\x3C\x2Fpath\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fsvg\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fspan\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cspan\x20class\x3D\x22icon\x2Dstate__secondary\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Csvg\x20focusable\x3D\x22false\x22\x20class\x3D\x22icon\x20icon\x2D\x2Dclose\x20\x22\x20viewBox\x3D\x220\x200\x2019\x2019\x22\x20role\x3D\x22presentation\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cpath\x20d\x3D\x22M9.1923882\x208.39339828l7.7781745\x2D7.7781746\x201.4142136\x201.41421357\x2D7.7781746\x207.77817459\x207.7781746\x207.77817456L16.9705627\x2019l\x2D7.7781745\x2D7.7781746L1.41421356\x2019\x200\x2017.5857864l7.7781746\x2D7.77817456L0\x202.02943725\x201.41421356.61522369\x209.1923882\x208.39339828z\x22\x20fill\x3D\x22currentColor\x22\x20fill\x2Drule\x3D\x22evenodd\x22\x3E\x3C\x2Fpath\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fsvg\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fspan\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fa\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3Ca\x20href\x3D\x22https\x3A\x2F\x2Fwww.replacementremotes.com\x2Fstore\x2Fcustomerloginc\x22\x20class\x3D\x22header__action\x2Ditem\x2Dlink\x20hidden\x2Dpocket\x20hidden\x2Dlap\x22\x20aria\x2Dcontrols\x3D\x22account\x2Dpopover\x22\x20aria\x2Dexpanded\x3D\x22false\x22\x20data\x2Daction\x3D\x22toggle\x2Dpopover\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20My\x20Account\x20\x3Csvg\x20focusable\x3D\x22false\x22\x20class\x3D\x22icon\x20icon\x2D\x2Darrow\x2Dbottom\x20\x22\x20viewBox\x3D\x220\x200\x2012\x208\x22\x20role\x3D\x22presentation\x22\x3E\x3Cpath\x20stroke\x3D\x22currentColor\x22\x20stroke\x2Dwidth\x3D\x222\x22\x20d\x3D\x22M10\x202L6\x206\x202\x202\x22\x20fill\x3D\x22none\x22\x20stroke\x2Dlinecap\x3D\x22square\x22\x3E\x3C\x2Fpath\x3E\x3C\x2Fsvg\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fa\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3Cdiv\x20id\x3D\x22account\x2Dpopover\x22\x20class\x3D\x22popover\x20popover\x2D\x2Dlarge\x20popover\x2D\x2Dunlogged\x22\x20aria\x2Dhidden\x3D\x22true\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Csvg\x20focusable\x3D\x22false\x22\x20class\x3D\x22icon\x20icon\x2D\x2Dnav\x2Dtriangle\x2Dborderless\x20\x22\x20viewBox\x3D\x220\x200\x2020\x209\x22\x20role\x3D\x22presentation\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cpath\x20d\x3D\x22M.47108938\x209c.2694725\x2D.26871321.57077721\x2D.56867841.90388257\x2D.89986354C3.12384116\x206.36134886\x205.74788116\x203.76338565\x209.2467995.30653888c.4145057\x2D.4095171\x201.0844277\x2D.40860098\x201.4977971.00205122L19.4935156\x209H.47108938z\x22\x20fill\x3D\x22\x23ffffff\x22\x3E\x3C\x2Fpath\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fsvg\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cdiv\x20class\x3D\x22popover__panel\x2Dlist\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cdiv\x20id\x3D\x22header\x2Dlogin\x2Dpanel\x22\x20class\x3D\x22popover__panel\x20popover__panel\x2D\x2Ddefault\x20is\x2Dselected\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cdiv\x20class\x3D\x22popover__inner\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cform\x20method\x3D\x22post\x22\x20action\x3D\x22https\x3A\x2F\x2Fwww.replacementremotes.com\x2Fstore\x2Fcustomerloginc\x22\x20id\x3D\x22header_customer_login\x22\x20accept\x2Dcharset\x3D\x22UTF\x2D8\x22\x20name\x3D\x22login\x22\x20class\x3D\x22form\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cinput\x20type\x3D\x22hidden\x22\x20name\x3D\x22utf8\x22\x20value\x3D\x22\xE2\u0153\u201C\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cheader\x20class\x3D\x22popover__header\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Ch2\x20class\x3D\x22popover__title\x20heading\x22\x3ELogin\x20to\x20my\x20account\x3C\x2Fh2\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cp\x20class\x3D\x22popover__legend\x22\x3EEnter\x20your\x20e\x2Dmail\x20and\x20password\x3A\x3C\x2Fp\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fheader\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cdiv\x20class\x3D\x22form__input\x2Dwrapper\x20form__input\x2Dwrapper\x2D\x2Dlabelled\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cinput\x20type\x3D\x22email\x22\x20id\x3D\x22login\x2Dcustomer\x5Bemail\x5D\x22\x20class\x3D\x22form__field\x20form__field\x2D\x2Dtext\x20is\x2Dfilled\x22\x20autocomplete\x3D\x22email\x22\x20name\x3D\x22email\x22\x20required\x3D\x22required\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Clabel\x20for\x3D\x22login\x2Dcustomer\x5Bemail\x5D\x22\x20class\x3D\x22form__floating\x2Dlabel\x22\x3EEmail\x3C\x2Flabel\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fdiv\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cdiv\x20class\x3D\x22form__input\x2Dwrapper\x20form__input\x2Dwrapper\x2D\x2Dlabelled\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cinput\x20type\x3D\x22password\x22\x20id\x3D\x22login\x2Dcustomer\x5Bpassword\x5D\x22\x20class\x3D\x22form__field\x20form__field\x2D\x2Dtext\x20is\x2Dfilled\x22\x20name\x3D\x22password\x22\x20required\x3D\x22required\x22\x20autocomplete\x3D\x22current\x2Dpassword\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Clabel\x20for\x3D\x22login\x2Dcustomer\x5Bpassword\x5D\x22\x20class\x3D\x22form__floating\x2Dlabel\x22\x3EPassword\x3C\x2Flabel\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fdiv\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cbutton\x20type\x3D\x22submit\x22\x20class\x3D\x22form__submit\x20button\x20button\x2D\x2Dprimary\x20button\x2D\x2Dfull\x22\x3ELogin\x3C\x2Fbutton\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fform\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cdiv\x20class\x3D\x22popover__secondary\x2Daction\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cp\x3ENew\x20customer\x3F\x20\x3Ca\x20href\x3D\x22https\x3A\x2F\x2Fwww.replacementremotes.com\x2Fstore\x2Fcustomeraddc\x22\x20class\x3D\x22link\x20link\x2D\x2Daccented\x22\x3ECreate\x20your\x20account\x3C\x2Fa\x3E\x3C\x2Fp\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cp\x3ELost\x20password\x3F\x20\x3Ca\x20href\x3D\x22https\x3A\x2F\x2Fwww.replacementremotes.com\x2Fstore\x2Fcustomerloginc\x23recover\x2Dpassword\x22\x20aria\x2Dcontrols\x3D\x22header\x2Drecover\x2Dpanel\x22\x20class\x3D\x22link\x20link\x2D\x2Daccented\x22\x3ERecover\x20password\x3C\x2Fa\x3E\x3C\x2Fp\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fdiv\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cdiv\x20class\x3D\x22popover__secondary\x2Daction\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cdiv\x20id\x3D\x22amazon\x2Droot\x22\x3E\x3C\x2Fdiv\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Ca\x20id\x3D\x22LoginWithAmazon\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cimg\x20border\x3D\x220\x22\x20alt\x3D\x22Login\x20with\x20Amazon\x22\x20src\x3D\x22https\x3A\x2F\x2Fimages\x2Dna.ssl\x2Dimages\x2Damazon.com\x2Fimages\x2FG\x2F01\x2Flwa\x2FbtnLWA_gold_156x32.png\x22\x20width\x3D\x22156\x22\x20height\x3D\x2232\x22\x2F\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fa\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fdiv\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3Cdiv\x20class\x3D\x22popover__secondary\x2Daction\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3Cstyle\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.g_id_signin\x20\x7B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x3A\x20flex\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align\x2Ditems\x3A\x20center\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20justify\x2Dcontent\x3A\x20center\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding\x3A\x2010px\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding\x2Dleft\x3A\x2060px\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding\x2Dright\x3A\x2060px\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width\x3A\x20fit\x2Dcontent\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transition\x3A\x200.5s\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x7D\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fstyle\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3Cscript\x20src\x3D\x22https\x3A\x2F\x2Faccounts.google.com\x2Fgsi\x2Fclient\x22\x20async\x20defer\x3E\x3C\x2Fscript\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3Cscript\x20src\x3D\x22https\x3A\x2F\x2Fwww.replacementremotes.com\x2Fcom\x2Fjs\x2Fjwtdecode.js\x22\x3E\x3C\x2Fscript\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3Cdiv\x20id\x3D\x22g_id_onload\x22\x20data\x2Dclient_id\x3D\x2210442197467\x2Dvlhnihk4tplll9co95vj7ne1k7jar4s4\x22\x20data\x2Dcallback\x3D\x22handleCredentialResponse\x22\x20data\x2Dauto_prompt\x3D\x22false\x22\x3E\x3C\x2Fdiv\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3Cdiv\x20class\x3D\x22g_id_signin\x22\x20data\x2Dtype\x3D\x22standard\x22\x3E\x3C\x2Fdiv\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3Cscript\x20type\x3D\x22text\x2Fjavascript\x22\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20function\x20handleCredentialResponse\x28response\x29\x20\x7B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20responsePayload\x20\x3D\x20jwt_decode\x28response.credential\x29\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2F\x2Aconsole.log\x28\x22ID\x3A\x20\x22\x20\x2B\x20responsePayload.sub\x29\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log\x28\x27Full\x20Name\x3A\x20\x27\x20\x2B\x20responsePayload.name\x29\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log\x28\x27Given\x20Name\x3A\x20\x27\x20\x2B\x20responsePayload.given_name\x29\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log\x28\x27Family\x20Name\x3A\x20\x27\x20\x2B\x20responsePayload.family_name\x29\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log\x28\x22Image\x20URL\x3A\x20\x22\x20\x2B\x20responsePayload.picture\x29\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console.log\x28\x22Email\x3A\x20\x22\x20\x2B\x20responsePayload.email\x29\x3B\x2A\x2F\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x24.ajax\x28\x7B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20url\x3A\x20\x22https\x3A\x2F\x2Fwww.replacementremotes.com\x2Fstore\x2Fgoogleloginajax\x22,\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20data\x3A\x20\x7B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20googlekey\x3A\x20\x222224FBA6\x2DE2AE\x2D5566\x2D80D4ACB650323597\x22,\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20email\x3A\x20typeof\x20responsePayload.email\x20\x21\x3D\x3D\x20\x27undefined\x27\x20\x3F\x20responsePayload.email\x20\x3A\x20\x27\x27,\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20firstname\x3A\x20typeof\x20responsePayload.given_name\x20\x21\x3D\x3D\x20\x27undefined\x27\x20\x3F\x20responsePayload.given_name\x20\x3A\x20\x27\x27,\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lastname\x3A\x20typeof\x20responsePayload.family_name\x20\x21\x3D\x3D\x20\x27undefined\x27\x20\x3F\x20responsePayload.family_name\x20\x3A\x20\x27\x27,\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20googlecustid\x3A\x20typeof\x20responsePayload.sub\x20\x21\x3D\x3D\x20\x27undefined\x27\x20\x3F\x20responsePayload.sub\x20\x3A\x20\x27\x27,\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20picture\x3A\x20typeof\x20responsePayload.picture\x20\x21\x3D\x3D\x20\x27undefined\x27\x20\x3F\x20responsePayload.picture\x20\x3A\x20\x27\x27\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x7D,\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20type\x3A\x20\x22POST\x22,\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dataType\x3A\x20\x22script\x22,\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20beforeSend\x3A\x20function\x28\x29\x7B\x7D,\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20success\x3A\x20function\x20\x28data\x29\x20\x7Bwindow.location.href\x3D\x27https\x3A\x2F\x2Fwww.replacementremotes.com\x2Fstore\x2Fcustomerorderresultsc\x27\x3B\x7D,\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20error\x3A\x20function\x20\x28xhr,\x20status\x29\x20\x7Balert\x28\x22Sorry,\x20there\x20was\x20a\x20problem\x21\x20RRCustomer.cfc\x3A\x20\x22\x2Bstatus\x29\x3B\x7D,\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20complete\x3A\x20function\x20\x28xhr,\x20status\x29\x20\x7B\x7D\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x7D\x29\x3B\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x7D\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fscript\x3E\x0D\x0A\x20\x20\x20\x20\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fdiv\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fdiv\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fdiv\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fdiv\x3E\x0D\x0A\x20\x20\x20\x20\x20\x20\x20\x20\x3C\x2Fdiv\x3E\x0D\x0A\x20\x20\x20\x20\x3C\x2Fdiv\x3E\x0D\x0A"); $("#ptoptext").html("\x3Ca\x20href\x3D\x22https\x3A\x2F\x2Fwww.replacementremotes.com\x2Fshipping_information\x22\x3EFREE\x20SHIPPING\x2A\x20FOR\x20A\x20LIMITED\x20TIME\x21\x3C\x2Fa\x3E"); function getUrlParameterByName(name, url = window.location.href) { name = name.replace(/[\[\]]/g, '\\$&'); var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'), results = regex.exec(url); if (!results) return null; if (!results[2]) return ''; return decodeURIComponent(results[2].replace(/\+/g, ' ')); } var flush = getUrlParameterByName("flush"); if(flush==="1"){ var newurl=window.location.href; newurl=newurl.replace('?flush=1', ''); $.ajax({ url: "https://www.replacementremotes.com/store/staticpageflushajax.cfm", data: {purl: encodeURIComponent(newurl)}, type: "GET", dataType: "script", beforeSend: function(){}, success: function (data) {}, error: function (xhr, status) {alert("Sorry, there was a problem! drawaccountmenuajax.cfm: "+status);}, complete: function (xhr, status) {} }); } var couponcode = getUrlParameterByName("coupon"); if(couponcode !== null){ $.ajax({ url: "https://www.replacementremotes.com/store/couponurlajax.cfm", data: {coupon: couponcode}, type: "GET", dataType: "script", beforeSend: function(){}, success: function (data) {}, error: function (xhr, status) {alert("Sorry, there was a problem! drawaccountmenuajax.cfm: "+status);}, complete: function (xhr, status) {} }); } window.onAmazonLoginReady = function() { amazon.Login.setClientId('amzn1.application-oa2-client.af818c67981a48a9a0772e1751961eb3'); }; (function(d) { var a = d.createElement('script'); a.type = 'text/javascript'; a.async = true; a.id = 'amazon-login-sdk'; a.src = 'https://assets.loginwithamazon.com/sdk/na/login1.js'; d.getElementById('amazon-root').appendChild(a); })(document); document.getElementById('LoginWithAmazon').onclick = function() { setTimeout(window.doLogin, 1); return false; }; window.doLogin = function() { options = {}; options.scope = 'profile'; options.scope_data = { 'profile' : {'essential': false} }; options.pkce = true; amazon.Login.authorize(options, function(response) { if ( response.error ) { alert('oauth error ' + response.error); return; } amazon.Login.retrieveToken(response.code, function(response) { if ( response.error ) { alert('oauth error ' + response.error); return; } amazon.Login.retrieveProfile(response.access_token, function(response) { $.ajax({ url: "https://www.replacementremotes.com/store/amazonloginajax", data: { amazonkey: "2224FBA4-02E2-902C-0A093758CB4F3B01", email: typeof response.profile.PrimaryEmail !== 'undefined' ? response.profile.PrimaryEmail : '', name: typeof response.profile.Name !== 'undefined' ? response.profile.Name : '', amazoncustid: typeof response.profile.CustomerId !== 'undefined' ? response.profile.CustomerId : '', postalcode: typeof response.profile.PostalCode !== 'undefined' ? response.profile.PostalCode : '' }, type: "POST", dataType: "script", beforeSend: function(){}, success: function (data) {window.location.href='https://www.replacementremotes.com/store/customerorderresultsc';}, error: function (xhr, status) {alert("Sorry, there was a problem! RRCustomer.cfc: "+status);}, complete: function (xhr, status) {} }); }); }); }); };