(function() { function observe(e, name, listener) { if (e.addEventListener) e.addEventListener(name, listener, false); else e.attachEvent("on"+name, listener); } function addAttributes(e, attributes) { for (var attr in attributes) { // For IE's sake, don't do setAttribute("style", ...); if (attr == "style") e.style.cssText = attributes[attr]; else e.setAttribute(attr, attributes[attr]); } } function createElement(tagName, attributes, doc) { var e = (doc || document).createElement(tagName); if (attributes) addAttributes(e, attributes); return e; } function createIframe(attributes, doc) { attributes.allowTransparency = "true"; attributes.frameBorder = "0"; attributes.scrolling = "no"; return createElement("iframe", attributes, doc); } if (!document.body) { observe(window, "load", arguments.callee); return; } var outerIframe = createIframe({ id: "dropio-chatbar", src: "/robots.txt", style: "position: fixed; bottom: 0; left: 0; margin-left: 4%; width: 92%; border: none;" }); document.body.appendChild(outerIframe); outerIframe.contentWindow.location = outerIframe.src; window.outerIframe = outerIframe; var outerContents = '\ \ \ \ \ \ \ \ \ \ \ \ \