//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var dateArray = row[4].split('/');
var date = months[dateArray[0]] + " " + dateArray[1];
var parking = row[0].split(':')[0]
if (parking !== "PARKING") {
return "
";
}
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newResults = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newResults.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newResults.join('') + '
';
} else
document.write('' + newResults.join('') + '
');
if(eventData.length >= 101 && kwds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/results-style-1.css');
TN_Widget.AddCss('//s3.amazonaws.com/ticketnetwork/fonts/TTNorms/TTNorms.css');
TN_Widget.CreateTable([['Philadelphia Phillies vs. Colorado Rockies','Citizens Bank Park','Philadelphia, PA','Thursday','4/3/2025','1:05 PM','6574634','Philadelphia-Phillies-vs--Colorado-Rockies-4-3-2025'],['Philadelphia Phillies vs. Los Angeles Dodgers','Citizens Bank Park','Philadelphia, PA','Friday','4/4/2025','6:45 PM','6574639','Philadelphia-Phillies-vs--Los-Angeles-Dodgers-4-4-2025'],['Philadelphia Phillies vs. Los Angeles Dodgers','Citizens Bank Park','Philadelphia, PA','Saturday','4/5/2025','4:05 PM','6574640','Philadelphia-Phillies-vs--Los-Angeles-Dodgers-4-5-2025'],['Philadelphia Phillies vs. Los Angeles Dodgers','Citizens Bank Park','Philadelphia, PA','Sunday','4/6/2025','1:35 PM','6574641','Philadelphia-Phillies-vs--Los-Angeles-Dodgers-4-6-2025'],['Philadelphia Phillies vs. San Francisco Giants','Citizens Bank Park','Philadelphia, PA','Monday','4/14/2025','6:45 PM','6574645','Philadelphia-Phillies-vs--San-Francisco-Giants-4-14-2025'],['Philadelphia Phillies vs. San Francisco Giants','Citizens Bank Park','Philadelphia, PA','Tuesday','4/15/2025','6:45 PM','6574646','Philadelphia-Phillies-vs--San-Francisco-Giants-4-15-2025'],['Philadelphia Phillies vs. San Francisco Giants','Citizens Bank Park','Philadelphia, PA','Wednesday','4/16/2025','6:45 PM','6574647','Philadelphia-Phillies-vs--San-Francisco-Giants-4-16-2025'],['Philadelphia Phillies vs. San Francisco Giants','Citizens Bank Park','Philadelphia, PA','Thursday','4/17/2025','4:05 PM','6574648','Philadelphia-Phillies-vs--San-Francisco-Giants-4-17-2025'],['Philadelphia Phillies vs. Miami Marlins','Citizens Bank Park','Philadelphia, PA','Friday','4/18/2025','6:45 PM','6574652','Philadelphia-Phillies-vs--Miami-Marlins-4-18-2025'],['Philadelphia Phillies vs. Miami Marlins','Citizens Bank Park','Philadelphia, PA','Saturday','4/19/2025','1:05 PM','6574654','Philadelphia-Phillies-vs--Miami-Marlins-4-19-2025']],'Citizens Bank Park Philadelphia','http://www.ticketnetwork.com/en/search/?text=Citizens%20Bank%20Park%20Philadelphia');