//
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-04A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Friday','12/6/2024','7:00 PM','6339793','Ballet-West--The-Nutcracker-12-6-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Saturday','12/7/2024','2:00 PM','6339794','Ballet-West--The-Nutcracker-12-7-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Saturday','12/7/2024','7:00 PM','6339795','Ballet-West--The-Nutcracker-12-7-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Sunday','12/8/2024','12:00 PM','6339796','Ballet-West--The-Nutcracker-12-8-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Friday','12/13/2024','7:00 PM','6339797','Ballet-West--The-Nutcracker-12-13-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Saturday','12/14/2024','2:00 PM','6339798','Ballet-West--The-Nutcracker-12-14-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Saturday','12/14/2024','7:00 PM','6682141','Ballet-West--The-Nutcracker-12-14-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Sunday','12/15/2024','12:00 PM','6339799','Ballet-West--The-Nutcracker-12-15-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Sunday','12/15/2024','5:00 PM','6339800','Ballet-West--The-Nutcracker-12-15-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Wednesday','12/18/2024','7:00 PM','6339801','Ballet-West--The-Nutcracker-12-18-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Thursday','12/19/2024','7:00 PM','6339802','Ballet-West--The-Nutcracker-12-19-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Friday','12/20/2024','7:00 PM','6339803','Ballet-West--The-Nutcracker-12-20-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Saturday','12/21/2024','2:00 PM','6339804','Ballet-West--The-Nutcracker-12-21-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Saturday','12/21/2024','7:00 PM','6339805','Ballet-West--The-Nutcracker-12-21-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Sunday','12/22/2024','12:00 PM','6339806','Ballet-West--The-Nutcracker-12-22-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Sunday','12/22/2024','5:00 PM','6339807','Ballet-West--The-Nutcracker-12-22-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Monday','12/23/2024','2:00 PM','6339808','Ballet-West--The-Nutcracker-12-23-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Monday','12/23/2024','7:00 PM','6339809','Ballet-West--The-Nutcracker-12-23-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Tuesday','12/24/2024','12:00 PM','6339810','Ballet-West--The-Nutcracker-12-24-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Thursday','12/26/2024','2:00 PM','6339811','Ballet-West--The-Nutcracker-12-26-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Thursday','12/26/2024','7:00 PM','6339812','Ballet-West--The-Nutcracker-12-26-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Friday','12/27/2024','2:00 PM','6339813','Ballet-West--The-Nutcracker-12-27-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Friday','12/27/2024','7:00 PM','6339814','Ballet-West--The-Nutcracker-12-27-2024'],['Ballet West: The Nutcracker','Janet Quinney Lawson Capitol Theatre','Salt Lake City, UT','Saturday','12/28/2024','2:00 PM','6339815','Ballet-West--The-Nutcracker-12-28-2024']],'nutcracker','https://www.ticketnetwork.com');