//
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-04A
TN_Widget.CreateTable([['Cirque: Frost','Glass Cactus','Grapevine, TX','Saturday','12/20/2025','12:00 PM','7366096','Cirque--Frost-12-20-2025'],['Cirque: Frost','Glass Cactus','Grapevine, TX','Saturday','12/20/2025','3:00 PM','7366097','Cirque--Frost-12-20-2025'],['Bingo Loco','The Strand Theatre - RI','Providence, RI','Saturday','12/20/2025','6:00 PM','7505011','Bingo-Loco-12-20-2025'],['Cirque: Frost','Glass Cactus','Grapevine, TX','Saturday','12/20/2025','6:00 PM','7366098','Cirque--Frost-12-20-2025'],['Headstones','Elements Night Club - Kitchener','Kitchener, Canada','Saturday','12/20/2025','7:00 PM','7410836','Headstones-12-20-2025'],['Kris Kringle & The Jolly Jingles','Off Broadway','St. Louis, MO','Saturday','12/20/2025','8:00 PM','7542868','Kris-Kringle---The-Jolly-Jingles-12-20-2025'],['System of a Clown - System Of a Down Tribute','Harlow's Night Club','Sacramento, CA','Saturday','12/20/2025','8:00 PM','7565889','System-of-a-Clown---System-Of-a-Down-Tribute-12-20-2025'],['Andy Frasco & The U.N.','Antone's Nightclub','Austin, TX','Saturday','12/20/2025','9:00 PM','7417843','Andy-Frasco---The-U-N--12-20-2025'],['Luci','The Church','Denver, CO','Saturday','12/20/2025','10:00 PM','7558208','Luci-12-20-2025'],['Danny Avila','Time Nightclub - CA','Costa Mesa, CA','Saturday','12/20/2025','10:00 PM','7462012','Danny-Avila-12-20-2025'],['Bingo Loco','The Strand Theatre - RI','Providence, RI','Saturday','12/20/2025','10:30 PM','7505010','Bingo-Loco-12-20-2025'],['DJ Mondo','Hakkasan - MGM Casino','Las Vegas, NV','Saturday','12/20/2025','10:30 PM','7547770','DJ-Mondo-12-20-2025'],['Escobar','Marquee Nightclub at Cosmopolitan Hotel','Las Vegas, NV','Saturday','12/20/2025','10:30 PM','7489732','Escobar-12-20-2025'],['Los Lonely Boys','Antone's Nightclub','Austin, TX','Friday','2/20/2026','8:00 PM','7579745','Los-Lonely-Boys-2-20-2026'],['DJ Pauly D','Q Nightclub','Seattle, WA','Friday','2/20/2026','10:00 PM','7577023','DJ-Pauly-D-2-20-2026'],['Hakkasan Friday','Hakkasan - MGM Casino','Las Vegas, NV','Friday','2/20/2026','10:30 PM','7547789','Hakkasan-Friday-2-20-2026'],['Lost Frequencies','Marquee Nightclub at Cosmopolitan Hotel','Las Vegas, NV','Friday','2/20/2026','10:30 PM','7537650','Lost-Frequencies-2-20-2026'],['The Menzingers','Peabody's Nightclub - Virginia Beach','Virginia Beach, VA','Friday','3/20/2026','TBD','7566976','The-Menzingers-3-20-2026'],['What So Not','Bloom Nightclub - CA','San Diego, CA','Friday','3/20/2026','10:00 PM','7560717','What-So-Not-3-20-2026'],['Benny Benassi','Q Nightclub','Seattle, WA','Friday','3/20/2026','10:00 PM','7577960','Benny-Benassi-3-20-2026'],['Sam Greenfield','Off Broadway','St. Louis, MO','Sunday','9/20/2026','8:00 PM','7312382','Sam-Greenfield-9-20-2026']],'20 20 Nightclub','http://www.ticketnetwork.com/ticket/20-20-Nightclub-events.aspx');