//
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-03A
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([['Anaheim Ducks vs. Los Angeles Kings','Honda Center','Anaheim, CA','Friday','11/29/2024','12:30 PM','6545669','Anaheim-Ducks-vs--Los-Angeles-Kings-11-29-2024'],['Los Angeles Kings vs. Anaheim Ducks','Crypto.com Arena','Los Angeles, CA','Saturday','2/8/2025','7:00 PM','6545813','Los-Angeles-Kings-vs--Anaheim-Ducks-2-8-2025'],['Spring Training: Los Angeles Angels vs. Seattle Mariners','Tempe Diablo Stadium','Tempe, AZ','Saturday','2/22/2025','1:10 PM','6633278','Spring-Training--Los-Angeles-Angels-vs--Seattle-Mariners-2-22-2025']],'Los Angeles Angels of Anaheim','http://www.ticketnetwork.com/en/search/?text=Los%20Angeles%20Angels%20of%20Anaheim');