//
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 t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
"![](//s3.amazonaws.com/TNService/pl-widget/images/arrow.png) |
";
},
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 newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-01A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Disney On Ice: Mickey's Search Party','Wells Fargo Arena - IA','Des Moines, IA','Thursday','11/28/2024','6:00 PM','6542935','Disney-On-Ice--Mickey-s-Search-Party-11-28-2024'],['Disney On Ice: Mickey's Search Party','Wells Fargo Arena - IA','Des Moines, IA','Friday','11/29/2024','11:00 AM','6542938','Disney-On-Ice--Mickey-s-Search-Party-11-29-2024'],['Disney On Ice: Mickey's Search Party','Wells Fargo Arena - IA','Des Moines, IA','Friday','11/29/2024','3:00 PM','6542937','Disney-On-Ice--Mickey-s-Search-Party-11-29-2024'],['Disney On Ice: Mickey's Search Party','Wells Fargo Arena - IA','Des Moines, IA','Friday','11/29/2024','7:00 PM','6542936','Disney-On-Ice--Mickey-s-Search-Party-11-29-2024'],['Disney On Ice: Mickey's Search Party','Wells Fargo Arena - IA','Des Moines, IA','Saturday','11/30/2024','11:00 AM','6542939','Disney-On-Ice--Mickey-s-Search-Party-11-30-2024'],['Disney On Ice: Mickey's Search Party','Wells Fargo Arena - IA','Des Moines, IA','Saturday','11/30/2024','3:00 PM','6542940','Disney-On-Ice--Mickey-s-Search-Party-11-30-2024'],['Disney On Ice: Mickey's Search Party','Wells Fargo Arena - IA','Des Moines, IA','Saturday','11/30/2024','7:00 PM','6542941','Disney-On-Ice--Mickey-s-Search-Party-11-30-2024'],['Disney On Ice: Mickey's Search Party','Wells Fargo Arena - IA','Des Moines, IA','Sunday','12/1/2024','1:00 PM','6542943','Disney-On-Ice--Mickey-s-Search-Party-12-1-2024'],['Disney On Ice: Mickey's Search Party','Wells Fargo Arena - IA','Des Moines, IA','Sunday','12/1/2024','5:00 PM','6542944','Disney-On-Ice--Mickey-s-Search-Party-12-1-2024']],'disney on ice','https://www.ticketnetwork.com');