//
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-02A
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([['Spring Training: Houston Astros vs. Washington Nationals (SS)','Cacti Park of The Palm Beaches','West Palm Beach, FL','Saturday','2/22/2025','1:05 PM','6633388','Spring-Training--Houston-Astros-vs--Washington-Nationals--SS--2-22-2025'],['Spring Training: New York Mets vs. Houston Astros (SS)','Clover Park','Port Saint Lucie, FL','Saturday','2/22/2025','1:10 PM','6633431','Spring-Training--New-York-Mets-vs--Houston-Astros--SS--2-22-2025'],['Spring Training: St. Louis Cardinals vs. Houston Astros','Roger Dean Chevrolet Stadium','Jupiter, FL','Sunday','2/23/2025','1:05 PM','6634833','Spring-Training--St--Louis-Cardinals-vs--Houston-Astros-2-23-2025'],['Spring Training: Houston Astros vs. Miami Marlins','Cacti Park of The Palm Beaches','West Palm Beach, FL','Monday','2/24/2025','1:05 PM','6633391','Spring-Training--Houston-Astros-vs--Miami-Marlins-2-24-2025'],['Spring Training: Houston Astros vs. New York Mets','Cacti Park of The Palm Beaches','West Palm Beach, FL','Tuesday','2/25/2025','1:05 PM','6633392','Spring-Training--Houston-Astros-vs--New-York-Mets-2-25-2025']],'Houston Astros','http://www.ticketnetwork.com/en/search/?text=Houston%20Astros');