//
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-01A
TN_Widget.CreateTable([['North Carolina Tar Heels Women's Basketball vs. North Carolina Central Eagles','Carmichael Arena','Chapel Hill, NC','Monday','11/3/2025','TBD','7308410','North-Carolina-Tar-Heels-Women-s-Basketball-vs--North-Carolina-Central-Eagles-11-3-2025'],['North Carolina Tar Heels Women's Basketball vs. Elon Phoenix','Carmichael Arena','Chapel Hill, NC','Thursday','11/6/2025','TBD','7308413','North-Carolina-Tar-Heels-Women-s-Basketball-vs--Elon-Phoenix-11-6-2025'],['North Carolina Tar Heels Women's Basketball vs. North Carolina Greensboro Spartans','Carmichael Arena','Chapel Hill, NC','Sunday','11/23/2025','TBD','7308417','North-Carolina-Tar-Heels-Women-s-Basketball-vs--North-Carolina-Greensboro-Spartans-11-23-2025'],['North Carolina Tar Heels Women's Basketball vs. Boston University Terriers','Carmichael Arena','Chapel Hill, NC','Sunday','12/7/2025','TBD','7308420','North-Carolina-Tar-Heels-Women-s-Basketball-vs--Boston-University-Terriers-12-7-2025'],['North Carolina Tar Heels Women's Basketball vs. North Carolina Wilmington Seahawks','Carmichael Arena','Chapel Hill, NC','Wednesday','12/17/2025','TBD','7308421','North-Carolina-Tar-Heels-Women-s-Basketball-vs--North-Carolina-Wilmington-Seahawks-12-17-2025'],['North Carolina Tar Heels Women's Basketball vs. Charleston Southern Buccaneers','Carmichael Arena','Chapel Hill, NC','Sunday','12/21/2025','TBD','7308422','North-Carolina-Tar-Heels-Women-s-Basketball-vs--Charleston-Southern-Buccaneers-12-21-2025'],['North Carolina Tar Heels Wrestling vs. Pittsburgh Panthers','Carmichael Arena','Chapel Hill, NC','Friday','1/30/2026','TBD','7299672','North-Carolina-Tar-Heels-Wrestling-vs--Pittsburgh-Panthers-1-30-2026'],['North Carolina Tar Heels Wrestling vs. Duke Blue Devils','Carmichael Arena','Chapel Hill, NC','Friday','2/6/2026','TBD','7299674','North-Carolina-Tar-Heels-Wrestling-vs--Duke-Blue-Devils-2-6-2026'],['North Carolina Tar Heels Wrestling vs. Stanford Cardinal','Carmichael Arena','Chapel Hill, NC','Friday','2/20/2026','TBD','7299675','North-Carolina-Tar-Heels-Wrestling-vs--Stanford-Cardinal-2-20-2026']],'Carmichael Arena','https://www.ticketnetwork.com/ticket/Carmichael-Arena-events.aspx');