//
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 + "" +
" |
";
},
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-03A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Ballet San Antonio: The Nutcracker','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Friday','12/6/2024','7:30 PM','6347243','Ballet-San-Antonio--The-Nutcracker-12-6-2024'],['Ballet San Antonio: The Nutcracker','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Saturday','12/7/2024','2:00 PM','6347244','Ballet-San-Antonio--The-Nutcracker-12-7-2024'],['Ballet San Antonio: The Nutcracker','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Saturday','12/7/2024','7:30 PM','6347245','Ballet-San-Antonio--The-Nutcracker-12-7-2024'],['Ballet San Antonio: The Nutcracker','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Sunday','12/8/2024','2:00 PM','6347246','Ballet-San-Antonio--The-Nutcracker-12-8-2024'],['Ballet San Antonio: The Nutcracker','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Friday','12/13/2024','7:30 PM','6347247','Ballet-San-Antonio--The-Nutcracker-12-13-2024'],['Ballet San Antonio: The Nutcracker','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Saturday','12/14/2024','2:00 PM','6347248','Ballet-San-Antonio--The-Nutcracker-12-14-2024'],['Ballet San Antonio: The Nutcracker','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Saturday','12/14/2024','7:30 PM','6347249','Ballet-San-Antonio--The-Nutcracker-12-14-2024'],['Ballet San Antonio: The Nutcracker','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Sunday','12/15/2024','2:00 PM','6347250','Ballet-San-Antonio--The-Nutcracker-12-15-2024'],['Ballet Folklorico de Mexico','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Friday','2/7/2025','8:00 PM','6434931','Ballet-Folklorico-de-Mexico-2-7-2025'],['Ballet San Antonio: Peter Pan','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Friday','2/21/2025','7:30 PM','6347948','Ballet-San-Antonio--Peter-Pan-2-21-2025'],['Ballet San Antonio: Peter Pan','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Saturday','2/22/2025','2:00 PM','6347949','Ballet-San-Antonio--Peter-Pan-2-22-2025'],['Ballet San Antonio: Peter Pan','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Saturday','2/22/2025','7:30 PM','6347952','Ballet-San-Antonio--Peter-Pan-2-22-2025'],['Ballet San Antonio: Peter Pan','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Sunday','2/23/2025','2:00 PM','6347953','Ballet-San-Antonio--Peter-Pan-2-23-2025'],['Momix: Alice','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Tuesday','2/25/2025','7:30 PM','6460409','Momix--Alice-2-25-2025'],['Momix: Alice','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Wednesday','2/26/2025','9:30 AM','6434934','Momix--Alice-2-26-2025'],['Momix: Alice','HEB Performance Hall At Tobin Center for the Performing Arts','San Antonio, TX','Wednesday','2/26/2025','12:00 PM','6434935','Momix--Alice-2-26-2025']],'ballet san antonio','https://www.ticketnetwork.com');