//
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-02A
TN_Widget.CreateTable([['Spring Appalachian Dance Ensemble','Valborg Theatre','Boone, NC','Wednesday','3/25/2026','7:00 PM','7685973','Spring-Appalachian-Dance-Ensemble-3-25-2026'],['Martha Graham Dance Company: Graham100 - The Centennial Celebration','Memorial Hall At Chapel Hill','Chapel Hill, NC','Wednesday','3/25/2026','7:30 PM','7377070','Martha-Graham-Dance-Company--Graham100---The-Centennial-Celebration-3-25-2026'],['Spring Appalachian Dance Ensemble','Valborg Theatre','Boone, NC','Thursday','3/26/2026','7:00 PM','7685974','Spring-Appalachian-Dance-Ensemble-3-26-2026'],['Spring Appalachian Dance Ensemble','Valborg Theatre','Boone, NC','Friday','3/27/2026','7:00 PM','7685975','Spring-Appalachian-Dance-Ensemble-3-27-2026'],['Spring Appalachian Dance Ensemble','Valborg Theatre','Boone, NC','Saturday','3/28/2026','7:00 PM','7685976','Spring-Appalachian-Dance-Ensemble-3-28-2026'],['Nouveau Now','The Carolina Theatre At Belk Place','Charlotte, NC','Saturday','3/28/2026','7:30 PM','7716260','Nouveau-Now-3-28-2026'],['Party Iconic: Heated Rivalry Dance Party','Neighborhood Theatre','Charlotte, NC','Saturday','3/28/2026','8:30 PM','7727359','Party-Iconic--Heated-Rivalry-Dance-Party-3-28-2026'],['Spring Appalachian Dance Ensemble','Valborg Theatre','Boone, NC','Sunday','3/29/2026','2:00 PM','7685977','Spring-Appalachian-Dance-Ensemble-3-29-2026'],['Nouveau Now','The Carolina Theatre At Belk Place','Charlotte, NC','Sunday','3/29/2026','2:00 PM','7716410','Nouveau-Now-3-29-2026'],['Rainbow Dance Company','Garner Performing Arts Center','Garner, NC','Friday','4/10/2026','7:00 PM','7784434','Rainbow-Dance-Company-4-10-2026'],['Rainbow Dance Company','Garner Performing Arts Center','Garner, NC','Saturday','4/11/2026','2:00 PM','7784436','Rainbow-Dance-Company-4-11-2026'],['Dancing with the Stars of Charlotte','The Carolina Theatre At Belk Place','Charlotte, NC','Friday','4/24/2026','7:30 PM','7727634','Dancing-with-the-Stars-of-Charlotte-4-24-2026'],['Gail Bliss and The Nashville Barn Dance','Greg Rowles Legacy Theatre','North Myrtle Beach, SC','Friday','5/29/2026','7:00 PM','7536319','Gail-Bliss-and-The-Nashville-Barn-Dance-5-29-2026'],['Wilmington Conservatory of Fine Arts: America250 - Stars and Stripes','Cape Fear Community College's Wilson Center','Wilmington, NC','Saturday','6/6/2026','1:00 PM','7769235','Wilmington-Conservatory-of-Fine-Arts--America250---Stars-and-Stripes-6-6-2026'],['Wilmington Conservatory of Fine Arts: America250 - Stars and Stripes','Cape Fear Community College's Wilson Center','Wilmington, NC','Saturday','6/6/2026','6:00 PM','7769236','Wilmington-Conservatory-of-Fine-Arts--America250---Stars-and-Stripes-6-6-2026'],['Terpsicorps Theatre of Dance','Diana Wortham Theatre At Wortham Center','Asheville, NC','Thursday','7/23/2026','7:30 PM','7784407','Terpsicorps-Theatre-of-Dance-7-23-2026'],['Terpsicorps Theatre of Dance','Diana Wortham Theatre At Wortham Center','Asheville, NC','Friday','7/24/2026','7:30 PM','7784462','Terpsicorps-Theatre-of-Dance-7-24-2026'],['Terpsicorps Theatre of Dance','Diana Wortham Theatre At Wortham Center','Asheville, NC','Saturday','7/25/2026','7:30 PM','7784463','Terpsicorps-Theatre-of-Dance-7-25-2026'],['Derek Hough','Durham Performing Arts Center','Durham, NC','Sunday','8/2/2026','8:00 PM','7556176','Derek-Hough-8-2-2026']],'North Carolina Dance Theatre','https://www.ticketnetwork.com/ticket/North-Carolina-Dance-Theatre-events.aspx');