//
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([['Tom Marker','FitzGerald's Nightclub','Berwyn, IL','Tuesday','3/4/2025','7:00 PM','6937658','Tom-Marker-3-4-2025'],['Louis Michot','FitzGerald's Nightclub','Berwyn, IL','Wednesday','3/5/2025','8:30 PM','6937646','Louis-Michot-3-5-2025'],['Peter Case','FitzGerald's Nightclub','Berwyn, IL','Thursday','3/6/2025','8:30 PM','6937655','Peter-Case-3-6-2025'],['Marcia Ball','FitzGerald's Nightclub','Berwyn, IL','Thursday','3/13/2025','8:30 PM','6937638','Marcia-Ball-3-13-2025'],['St Patrick's Day Celebration','FitzGerald's Nightclub','Berwyn, IL','Saturday','3/15/2025','12:00 PM','6937643','St-Patrick-s-Day-Celebration-3-15-2025'],['Backyard Tire Fire','FitzGerald's Nightclub','Berwyn, IL','Friday','3/21/2025','8:30 PM','6937648','Backyard-Tire-Fire-3-21-2025'],['Mr. Dave Music','FitzGerald's Nightclub','Berwyn, IL','Saturday','3/22/2025','10:15 AM','6937645','Mr--Dave-Music-3-22-2025'],['Lilly Hiatt','FitzGerald's Nightclub','Berwyn, IL','Saturday','3/22/2025','8:30 PM','6937635','Lilly-Hiatt-3-22-2025'],['Little Miss Ann','FitzGerald's Nightclub','Berwyn, IL','Sunday','3/23/2025','10:00 AM','6938806','Little-Miss-Ann-3-23-2025'],['Sarah Shook and The Disarmers','FitzGerald's Nightclub','Berwyn, IL','Friday','3/28/2025','8:30 PM','6937632','Sarah-Shook-and-The-Disarmers-3-28-2025'],['Amy Lavere','FitzGerald's Nightclub','Berwyn, IL','Sunday','3/30/2025','7:00 PM','6937628','Amy-Lavere-3-30-2025'],['Grateful - Grateful Dead Tribute','FitzGerald's Nightclub','Berwyn, IL','Thursday','4/3/2025','8:30 PM','6937652','Grateful---Grateful-Dead-Tribute-4-3-2025'],['The Suitcase Junket','FitzGerald's Nightclub','Berwyn, IL','Saturday','4/5/2025','8:30 PM','6938805','The-Suitcase-Junket-4-5-2025'],['Donna the Buffalo','FitzGerald's Nightclub','Berwyn, IL','Thursday','4/10/2025','8:30 PM','6833215','Donna-the-Buffalo-4-10-2025'],['Jackie Venson','FitzGerald's Nightclub','Berwyn, IL','Thursday','5/1/2025','8:30 PM','6937639','Jackie-Venson-5-1-2025'],['Jackie Venson','FitzGerald's Nightclub','Berwyn, IL','Thursday','5/8/2025','8:30 PM','6937640','Jackie-Venson-5-8-2025'],['Jackie Venson','FitzGerald's Nightclub','Berwyn, IL','Thursday','5/22/2025','8:30 PM','6937641','Jackie-Venson-5-22-2025'],['Jackie Venson','FitzGerald's Nightclub','Berwyn, IL','Thursday','5/29/2025','8:30 PM','6937636','Jackie-Venson-5-29-2025']],'FitzGeralds Berwyn','https://www.ticketnetwork.com/ticket/FitzGeralds-Berwyn-events.aspx');