if (typeof(snow_plow_game_GetWidgetBtn) == "undefined") { snow_plow_game_GetWidgetBtn = {}; snow_plow_game_GetWidgetBtn.open = function() { var config = new WIDGETBOX.subscriber.WidgetMenuConfig(); config.regId = '18f71408-6dbc-48d8-afd6-332a17da1262'; config.sourceId = '76de4a3e-0758-4f4a-9f87-fcd929f7e35a'; 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 = snow_plow_game_GetWidgetBtn.readConfig(); WIDGETBOX.subscriber.Main.renderGetWidget(config); } snow_plow_game_GetWidgetBtn.render = function() { snow_plow_game_GetWidgetBtn.load(); if(!false){ document.write("\"Get"); } } snow_plow_game_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?31061"; head.appendChild(script); } snow_plow_game_GetWidgetBtn.readConfig = function() { var cfgData = ""; var cfgForm = document.getElementById('snow_plow_game_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; } }; snow_plow_game_GetWidgetBtn.render();