if (typeof(houston_texans_hearst_GetWidgetBtn) == "undefined") { houston_texans_hearst_GetWidgetBtn = {}; houston_texans_hearst_GetWidgetBtn.open = function() { var config = new WIDGETBOX.subscriber.WidgetMenuConfig(); config.regId = '5bccbd1c-4fff-42d2-83e1-4273716cbba6'; config.sourceId = 'dfa6e017-1835-4ec0-98bf-2499da4fe8ab'; 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 = houston_texans_hearst_GetWidgetBtn.readConfig(); WIDGETBOX.subscriber.Main.renderGetWidget(config); } houston_texans_hearst_GetWidgetBtn.render = function() { houston_texans_hearst_GetWidgetBtn.load(); if(!false){ document.write("\"Get"); } } houston_texans_hearst_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?30805"; head.appendChild(script); } houston_texans_hearst_GetWidgetBtn.readConfig = function() { var cfgData = ""; var cfgForm = document.getElementById('houston_texans_hearst_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; } }; houston_texans_hearst_GetWidgetBtn.render();