var SharecareWidgetClipboard = { AppRoot: 'https://www.clipix.com/', PlaceHolder: null, HtmlPanel: "\r\n\u003cdiv style=\"position: relative;background-color: #EEEEEE;padding: 10px;margin: 10px auto;\"\u003e\r\n \u003cdiv style=\"width: 300px;position: relative;text-align: right;\"\u003e\r\n \u003cdiv style=\"font-size: 20px; font-weight: normal; line-height: 24px;text-align:left;\"\u003eClipboards\u003c/div\u003e\r\n \u003cmap id=\"cxsc_topicClipboard\" name=\"cxsc_topicClipboard\"\u003e\r\n \u003carea shape=\"rect\" coords=\"10,30,290,50\" href=\"/my-interests?viewClipboard=356109\" /\u003e\r\n \r\n \u003carea shape=\"rect\" coords=\"14,73,94,153\" href=\"/my-interests?viewClip=4644768\"\r\n title=\"Ask Dr. Darria: Will Wearing High Heels Permanently Damage My Feet? - Skin Hair Nail Beauty - Sharecare\" /\u003e\r\n \r\n \u003carea shape=\"rect\" coords=\"110,73,190,153\" href=\"/my-interests?viewClip=4644767\"\r\n title=\"11 Bad Skin Trigger Foods - Skin \u0026amp; Beauty - Sharecare\" /\u003e\r\n \r\n \u003carea shape=\"rect\" coords=\"206,73,286,153\" href=\"/my-interests?viewClip=4644764\"\r\n title=\"6 Embarrassing Skin Issues \u0026amp; How to Fix \u0026#39;Em - Sharecare\" /\u003e\r\n \r\n \u003carea shape=\"rect\" coords=\"14,169,94,249\" href=\"/my-interests?viewClip=4524443\"\r\n title=\"Healthy Skin \u0026amp; How to Look Younger - Tips for Healthy Skin - Skin Hair Nail Beauty - Sharecare\" /\u003e\r\n \r\n \u003carea shape=\"rect\" coords=\"110,169,190,249\" href=\"/my-interests?viewClip=4524437\"\r\n title=\"Your Frontline Defense: Good Skin Health - Skin Hair Nail Beauty - Sharecare\" /\u003e\r\n \r\n \u003carea shape=\"rect\" coords=\"206,169,286,249\" href=\"/my-interests?viewClip=4524436\"\r\n title=\"Is Your Diet Giving You Wrinkles - Why What You Eat Shows in Your Skin - Skin Hair Nail Beauty - Sharecare\" /\u003e\r\n \r\n \u003carea shape=\"rect\" coords=\"14,265,94,345\" href=\"/my-interests?viewClip=4238818\"\r\n title=\"How to Create Perfectly Shaped Eyebrows\" /\u003e\r\n \r\n \u003carea shape=\"rect\" coords=\"110,265,190,345\" href=\"/my-interests?viewClip=4238817\"\r\n title=\"What Foods Can Make Me Look More Beautiful?\" /\u003e\r\n \r\n \u003carea shape=\"rect\" coords=\"206,265,286,345\" href=\"/my-interests?viewClip=4238815\"\r\n title=\"Are There Products I Shouldn\u0026#39;t Use On My Fingernails? - Sharecare\" /\u003e\r\n \r\n \u003c/map\u003e\r\n \r\n \u003ca href=\"/my-interests?subscribeClipboard=42dc\u0026viewClipboard=356109\"\r\n style=\"position: absolute; height: 27px; width: 112px; left: 50%; margin-left: -56px;\r\n background-image: url(\u0027https://www.clipix.com/View/Enterprise/External/Sharecare/Images/widget_sprites.png\u0027);\r\n background-position: -0px 0px;\"\u003e\u003c/a\u003e\r\n \u003cimg border=\"0\" usemap=\"#cxsc_topicClipboard\" src=\"//www.clipix.com/WebServices/ClipboardImage.ashx?uid=20\u0026clipboardId=356109\u0026t=3-5416137-6050498-4644768-4644767\u0026mode=10\" /\u003e\r\n \u003cdiv style=\"text-align: right\"\u003e\r\n \u003ca style=\"background: url(\u0027//s.sharecare.com/static/img/topics/right_arrow_03.png\u0027) no-repeat scroll right 3px transparent;font-size: 12px;font-weight: 600;margin: 0 5px 0 0;padding-right: 15px;\" href=\"/my-interests?viewAll=1\"\u003eSee all\u003c/a\u003e\u003c/div\u003e\r\n \u003c/div\u003e\r\n\u003c/div\u003e\r\n", Init: function () { var panel = document.createElement("div"); panel.id = "clipix-module"; var clipboardImage = ""; panel.innerHTML = SharecareWidgetClipboard.HtmlPanel; // Specified Placeholder ? var container = null; if (!SharecareWidgetClipboard.PlaceHolder) { var scripts = document.getElementsByTagName('script'); var thisScriptTag = scripts[scripts.length - 1]; container = thisScriptTag.parentNode; } else { container = ClipixAds.ById(SharecareWidgetClipboard.PlaceHolder); } // Append if (container) container.appendChild(panel); }, InsertAfter: function (node, ref, force) { var pn = ref.parentNode; if (ref == pn.lastChild) { if ((!force) && (node === ref)) { return false; } pn.appendChild(node); } else { return this.InsertBefore(node, ref.nextSibling, force); } return true; }, InsertBefore: function (node, ref, force) { if (!force && (node === ref || node.nextSibling === ref)) { return false; } var parent = ref.parentNode; parent.insertBefore(node, ref); return true; }, GetById: function (id, parentNode) { if (this.isAppleWebKit()) { var result = null; var childNodes = parentNode.childNodes; for (var i = 0; i < childNodes.length; i++) { if (result != null) return result; var childNode = childNodes[i]; if (childNode && childNode.childNodes && childNode.childNodes.length > 0) { var temp = this.GetById(id, childNode); if (temp != null) { result = temp; } } if (childNode && childNode.id == id) { result = childNode; } } return result; } else { var result = null; var childNodes = parentNode.childNodes; for (var i in childNodes) { if (result != null) return result; var childNode = childNodes[i]; if (childNode && childNode.childNodes && childNode.childNodes.length > 0) { var temp = this.GetById(id, childNode); if (temp != null) { result = temp; } } if (childNode && childNode.id == id) { result = childNode; } } return result; } }, ById: function (id, doc) { if ((id) && ((typeof id == 'string') || (id instanceof String))) { doc = document; var ele = doc.getElementById(id); if (ele && (ele.id != id) && doc.all) { ele = null; var eles = doc.all[id]; if (eles) { if (eles.length) { for (var i = 0; i < eles.length; i++) { if (eles[i].id == id) { ele = eles[i]; break; } } } else { ele = eles; } } } return ele; } return id; }, $: function (id) { return this.ById(id, document); } }; SharecareWidgetClipboard.Init();