//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "Tickets",
tixUrl : "https://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[3] +" "+"" +
row[4] + " "+"" +
row[5] + " | "+"" +
row[0] +" | " +
row[1] +" " +
row[2] +" | "+""+ this.linkText+ " |
";
},
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,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['Willy Wonka And The Chocolate Factory','Woodstock Opera House','Woodstock, IL','Wednesday','10/15/2025','1:00 PM','7247836','Willy-Wonka-And-The-Chocolate-Factory-10-15-2025'],['Willy Wonka and The Chocolate Factory: The Taste-A-Long Experience','Chevalier Theatre','Medford, MA','Friday','10/24/2025','7:30 PM','7353478','Willy-Wonka-and-The-Chocolate-Factory--The-Taste-A-Long-Experience-10-24-2025'],['Willy Wonka Taste-a-Long','SHU Community Theatre','Fairfield, CT','Sunday','10/26/2025','1:00 PM','7366770','Willy-Wonka-Taste-a-Long-10-26-2025'],['Willy Wonka and the Chocolate Factory Taste-A-Long','Kodak Center Theater','Rochester, NY','Saturday','11/22/2025','7:00 PM','7353539','Willy-Wonka-and-the-Chocolate-Factory-Taste-A-Long-11-22-2025'],['Willy Wonka Kids','TECO Theater - The Straz Center','Tampa, FL','Thursday','2/19/2026','7:00 PM','7371741','Willy-Wonka-Kids-2-19-2026'],['Willy Wonka Kids','TECO Theater - The Straz Center','Tampa, FL','Friday','2/20/2026','7:00 PM','7371742','Willy-Wonka-Kids-2-20-2026'],['Willy Wonka Kids','TECO Theater - The Straz Center','Tampa, FL','Saturday','2/21/2026','1:00 PM','7371743','Willy-Wonka-Kids-2-21-2026'],['Willy Wonka Kids','TECO Theater - The Straz Center','Tampa, FL','Saturday','2/21/2026','4:00 PM','7371745','Willy-Wonka-Kids-2-21-2026'],['Willy Wonka Kids - Sensory Friendly Performance','TECO Theater - The Straz Center','Tampa, FL','Sunday','2/22/2026','1:00 PM','7371744','Willy-Wonka-Kids---Sensory-Friendly-Performance-2-22-2026'],['Willy Wonka Kids','TECO Theater - The Straz Center','Tampa, FL','Sunday','2/22/2026','4:00 PM','7371746','Willy-Wonka-Kids-2-22-2026']],'Willy Wonka','https://www.ticketnetwork.com/ticket/Willy-Wonka-events.aspx');