//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://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[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ 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([['Stan Society: Chappell Roan Night','Gramercy Theatre','New York, NY','Friday','9/19/2025','9:30 PM','7409558','Stan-Society--Chappell-Roan-Night-9-19-2025'],['Ladies Night - Tribute to Kool & The Gang','Aliante Casino and Hotel','North Las Vegas, NV','Saturday','9/20/2025','8:00 PM','7255782','Ladies-Night---Tribute-to-Kool---The-Gang-9-20-2025'],['Coco & Friends Comedy Night','Amnesia at MotorCity Casino Hotel','Detroit, MI','Friday','9/26/2025','8:00 PM','7377103','Coco---Friends-Comedy-Night-9-26-2025'],['The Black Parade Halloween Emo Night','Wicket Hall At The Strathcona Hotel','Victoria, Canada','Friday','10/10/2025','10:00 PM','7370061','The-Black-Parade-Halloween-Emo-Night-10-10-2025'],['Louie Devito's Temptations Reunion Classics Night','Sound Waves at Hard Rock Hotel & Casino - Atlantic City','Atlantic City, NJ','Saturday','10/18/2025','11:00 PM','7377865','Louie-Devito-s-Temptations-Reunion-Classics-Night-10-18-2025'],['Coco & Friends Comedy Night','Amnesia at MotorCity Casino Hotel','Detroit, MI','Thursday','10/23/2025','8:00 PM','7377143','Coco---Friends-Comedy-Night-10-23-2025'],['MotorCity Night of Knockouts','Sound Board at MotorCity Casino Hotel','Detroit, MI','Friday','10/24/2025','7:00 PM','7408734','MotorCity-Night-of-Knockouts-10-24-2025'],['Three Dog Night','The Showroom At the Golden Nugget','Las Vegas, NV','Friday','10/24/2025','8:00 PM','7253769','Three-Dog-Night-10-24-2025'],['Stayin Alive - One Night Of The Bee Gees','Showroom at South Point Hotel And Casino','Las Vegas, NV','Friday','11/7/2025','7:30 PM','7224312','Stayin-Alive---One-Night-Of-The-Bee-Gees-11-7-2025'],['Fight Night XIII','Legends Casino Event Center','Toppenish, WA','Saturday','11/8/2025','7:00 PM','7303489','Fight-Night-XIII-11-8-2025'],['Stayin Alive - One Night Of The Bee Gees','Showroom at South Point Hotel And Casino','Las Vegas, NV','Saturday','11/8/2025','7:30 PM','7224320','Stayin-Alive---One-Night-Of-The-Bee-Gees-11-8-2025'],['Stayin Alive - One Night Of The Bee Gees','Showroom at South Point Hotel And Casino','Las Vegas, NV','Sunday','11/9/2025','7:30 PM','7224321','Stayin-Alive---One-Night-Of-The-Bee-Gees-11-9-2025'],['One Night In Memphis','Deadwood Mountain Grand Hotel & Casino','Deadwood, SD','Saturday','12/13/2025','7:00 PM','7093094','One-Night-In-Memphis-12-13-2025'],['Disco Night Tribute Mania','Sound Waves at Hard Rock Hotel & Casino - Atlantic City','Atlantic City, NJ','Saturday','1/10/2026','8:00 PM','7363200','Disco-Night-Tribute-Mania-1-10-2026'],['North Carolina Jazz Festival - Friday Night','Hotel Ballast Wilmington By Hilton','Wilmington, NC','Friday','2/6/2026','7:30 PM','6982923','North-Carolina-Jazz-Festival---Friday-Night-2-6-2026'],['North Carolina Jazz Festival - Saturday Night','Hotel Ballast Wilmington By Hilton','Wilmington, NC','Saturday','2/7/2026','7:30 PM','6982924','North-Carolina-Jazz-Festival---Saturday-Night-2-7-2026']],'The Night Hotel','http://www.ticketnetwork.com/ticket/The-Night-Hotel-events.aspx');