var WidgetResponse329392737 = function() {}; WidgetResponse329392737.doneFunction = function doneFunction(msg, status, xhr) { var self = $(this); var content = $(msg); $("a", content).click(function(event) { event.preventDefault(); }).css({ "cursor": "default", "color": "#000", "text-decoration": "none" }); $("script", content).remove(); var table = $(".dataTable.statTable", content); $(".sorted_img", table).remove(); $(".ajax_sort > img", table).remove(); table.find("th, td").css({ "text-align": "center", "font-size": ".8em" }); self.css({ "font-family": '"Arial","Verdana","Tahoma","Georgia"' }); $("ul > li > div:last-child", content).remove(); self.append(content); table.width(table.closest("#contentcontainer").width()) self.show("slow"); } WidgetResponse329392737.proxyParams = { url: "http://www.britishbaseball.org/page_element/ajax/329392737", data: { width_percentage: 100, page_node_id: 2377655, subseason: "" } }; WidgetResponse329392737.proxyParams = JSON.stringify(WidgetResponse329392737.proxyParams); WidgetResponse329392737.proxyParams = encodeURIComponent(WidgetResponse329392737.proxyParams); WidgetResponse329392737.contentDiv = $(".contentC").hide(); WidgetResponse329392737.contentDiv.ready(function() { $.ajax({ url: "/proxy.php", data: {data: WidgetResponse329392737.proxyParams}, context: WidgetResponse329392737.contentDiv }).done(WidgetResponse329392737.doneFunction); });