if (typeof(the_boston_globe_bruins_blog_bost_bostondotcom_GetWidgetBtn) == "undefined") { the_boston_globe_bruins_blog_bost_bostondotcom_GetWidgetBtn = {}; the_boston_globe_bruins_blog_bost_bostondotcom_GetWidgetBtn.open = function() { var config = new WIDGETBOX.subscriber.WidgetMenuConfig(); config.regId = 'e8c92c6d-9a68-41a9-93bc-fd1004867e42'; config.sourceId = '156262dd-140d-4d80-919b-c2dd4c8cf406'; config.context = "wild"; config.location = window.location.href; config.toPn = 'code'; config.galleryUrl = 'http://www.widgetbox.com'; config.syndUrl = 'http://widgetserver.com/syndication'; config.cdnRuntimeUrl = 'http://cdn.widgetserver.com/syndication'; config.configData = the_boston_globe_bruins_blog_bost_bostondotcom_GetWidgetBtn.readConfig(); WIDGETBOX.subscriber.Main.renderGetWidget(config); } the_boston_globe_bruins_blog_bost_bostondotcom_GetWidgetBtn.render = function() { the_boston_globe_bruins_blog_bost_bostondotcom_GetWidgetBtn.load(); if(!false){ document.write("\"Get"); } } the_boston_globe_bruins_blog_bost_bostondotcom_GetWidgetBtn.load = function() { var head = document.getElementsByTagName("head")[0]; script = document.createElement("script"); //script.id = "widgetbox_lib_subscriber_" + libInfo.id; script.type = "text/javascript"; script.src = "http://cdn.widgetserver.com/syndication/subscriber/Main.js?32865"; head.appendChild(script); } the_boston_globe_bruins_blog_bost_bostondotcom_GetWidgetBtn.readConfig = function() { var cfgData = ""; var cfgForm = document.getElementById('the_boston_globe_bruins_blog_bost_bostondotcom_GetWidgetForm'); if (cfgForm && cfgForm.elements) { for (var i = 0; i < cfgForm.elements.length; i++) { if (cfgForm.elements[i] && cfgForm.elements[i].value) { cfgData += cfgForm.elements[i].name + "=" + escape(cfgForm.elements[i].value) + "&"; } } } return cfgData; } }; the_boston_globe_bruins_blog_bost_bostondotcom_GetWidgetBtn.render();