//
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([['Spring Training: San Diego Padres vs. Seattle Mariners','Peoria Stadium','Peoria, AZ','Friday','2/21/2025','1:10 PM','6634971','Spring-Training--San-Diego-Padres-vs--Seattle-Mariners-2-21-2025'],['Spring Training: San Diego Padres vs. The Athletics','Peoria Stadium','Peoria, AZ','Saturday','2/22/2025','1:10 PM','6634974','Spring-Training--San-Diego-Padres-vs--The-Athletics-2-22-2025'],['Spring Training: Los Angeles Dodgers vs. San Diego Padres','Camelback Ranch Stadium','Phoenix, AZ','Sunday','2/23/2025','1:05 PM','6633215','Spring-Training--Los-Angeles-Dodgers-vs--San-Diego-Padres-2-23-2025'],['Spring Training: San Diego Padres vs. Chicago Cubs','Peoria Stadium','Peoria, AZ','Monday','2/24/2025','1:10 PM','6634977','Spring-Training--San-Diego-Padres-vs--Chicago-Cubs-2-24-2025'],['Spring Training: San Diego Padres vs. Los Angeles Angels','Peoria Stadium','Peoria, AZ','Tuesday','2/25/2025','1:10 PM','6634979','Spring-Training--San-Diego-Padres-vs--Los-Angeles-Angels-2-25-2025']],'san diego padres','http://www.ticketnetwork.com/en/search/?text=san%20diego%20padres');