//
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-02B
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Thursday','7/11/2024','1:00 PM','5581005','The-Lion-King-7-11-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Thursday','7/11/2024','7:30 PM','5580975','The-Lion-King-7-11-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Friday','7/12/2024','8:00 PM','5580985','The-Lion-King-7-12-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Saturday','7/13/2024','2:00 PM','5580993','The-Lion-King-7-13-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Saturday','7/13/2024','8:00 PM','5580986','The-Lion-King-7-13-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Sunday','7/14/2024','1:00 PM','5582913','The-Lion-King-7-14-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Sunday','7/14/2024','6:30 PM','5582914','The-Lion-King-7-14-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Tuesday','7/16/2024','7:30 PM','5580976','The-Lion-King-7-16-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Wednesday','7/17/2024','7:30 PM','5580977','The-Lion-King-7-17-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Thursday','7/18/2024','7:30 PM','5580978','The-Lion-King-7-18-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Friday','7/19/2024','8:00 PM','5580987','The-Lion-King-7-19-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Saturday','7/20/2024','2:00 PM','5580994','The-Lion-King-7-20-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Saturday','7/20/2024','8:00 PM','5580988','The-Lion-King-7-20-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Sunday','7/21/2024','1:00 PM','5582916','The-Lion-King-7-21-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Sunday','7/21/2024','6:30 PM','5582915','The-Lion-King-7-21-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Tuesday','7/23/2024','7:30 PM','5580979','The-Lion-King-7-23-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Wednesday','7/24/2024','7:30 PM','5580980','The-Lion-King-7-24-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Thursday','7/25/2024','7:30 PM','5580981','The-Lion-King-7-25-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Friday','7/26/2024','8:00 PM','5580989','The-Lion-King-7-26-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Saturday','7/27/2024','8:00 PM','5580990','The-Lion-King-7-27-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Sunday','7/28/2024','1:00 PM','5582917','The-Lion-King-7-28-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Sunday','7/28/2024','6:30 PM','5582918','The-Lion-King-7-28-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Tuesday','7/30/2024','7:30 PM','5580982','The-Lion-King-7-30-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Wednesday','7/31/2024','7:30 PM','5580983','The-Lion-King-7-31-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Thursday','8/1/2024','7:30 PM','5580984','The-Lion-King-8-1-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Friday','8/2/2024','8:00 PM','5580991','The-Lion-King-8-2-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Saturday','8/3/2024','2:00 PM','5580996','The-Lion-King-8-3-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Saturday','8/3/2024','8:00 PM','5580992','The-Lion-King-8-3-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Sunday','8/4/2024','1:00 PM','5581006','The-Lion-King-8-4-2024'],['The Lion King','Sarofim Hall - Hobby Center','Houston, TX','Sunday','8/4/2024','6:30 PM','5581007','The-Lion-King-8-4-2024']],'lion king','https://www.ticketnetwork.com');