var tealium_script_loader = function(o) {
var a, b, c, l;
a = document;
if (o.type === "iframe") {
b = a.createElement("iframe");
b.setAttribute("height", "1");
b.setAttribute("width", "1");
b.setAttribute("style", "display:none");
b.setAttribute("src", o.src);
} else if (o.type === "img") {
b = new Image();
b.src = o.src;
return;
} else {
b = a.createElement("script");
b.language = "javascript";
b.type = "text/javascript";
b.async = 1;
b.charset = "utf-8";
b.src = o.src;
}
if (o.id) {
b.id = o.id;
}
l = o.loc || "head";
c = a.getElementsByTagName(l)[0];
if (c) {
if (l === "script") {
c.parentNode.insertBefore(b, c);
} else {
c.appendChild(b);
}
}
};