//
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([['Bleecker Street','Avalon Theatre - MD','Easton, MD','Saturday','3/1/2025','7:00 PM','6871399','Bleecker-Street-3-1-2025'],['The Steel Wheels','Avalon Theatre - MD','Easton, MD','Wednesday','3/5/2025','7:00 PM','6860544','The-Steel-Wheels-3-5-2025'],['The Swamp Donkeys','Avalon Theatre - MD','Easton, MD','Saturday','3/8/2025','7:00 PM','6900284','The-Swamp-Donkeys-3-8-2025'],['The Met Live In HD: Fidelio','Avalon Theatre - MD','Easton, MD','Saturday','3/15/2025','1:00 PM','6616502','The-Met-Live-In-HD--Fidelio-3-15-2025'],['The Amish Outlaws','Avalon Theatre - MD','Easton, MD','Saturday','3/22/2025','7:00 PM','6871460','The-Amish-Outlaws-3-22-2025'],['George Porter Jr. & Runnin Pardners','Avalon Theatre - MD','Easton, MD','Thursday','3/27/2025','7:00 PM','6900285','George-Porter-Jr----Runnin-Pardners-3-27-2025'],['Graham Nash','Avalon Theatre - MD','Easton, MD','Sunday','3/30/2025','7:00 PM','6755477','Graham-Nash-3-30-2025'],['Tom Rush','Avalon Theatre - MD','Easton, MD','Friday','4/4/2025','7:00 PM','6678436','Tom-Rush-4-4-2025'],['Capitol Fools','Avalon Theatre - MD','Easton, MD','Thursday','4/10/2025','7:30 PM','6941685','Capitol-Fools-4-10-2025'],['The Jersey Tenors','Avalon Theatre - MD','Easton, MD','Saturday','4/12/2025','7:00 PM','6995321','The-Jersey-Tenors-4-12-2025'],['The Met Live In HD: Le Nozze di Figaro','Avalon Theatre - MD','Easton, MD','Saturday','4/26/2025','1:00 PM','6616504','The-Met-Live-In-HD--Le-Nozze-di-Figaro-4-26-2025'],['Jim Brickman','Avalon Theatre - MD','Easton, MD','Saturday','4/26/2025','7:00 PM','6860542','Jim-Brickman-4-26-2025'],['Alaina Stacey & Madeleine Kelson','Stoltz Listening Room at Avalon Theatre','Easton, MD','Thursday','5/1/2025','7:00 PM','6917629','Alaina-Stacey---Madeleine-Kelson-5-1-2025'],['Fran Lebowitz','Avalon Theatre - MD','Easton, MD','Friday','5/2/2025','7:00 PM','6860541','Fran-Lebowitz-5-2-2025'],['The Boneshakers','Avalon Theatre - MD','Easton, MD','Sunday','5/4/2025','7:00 PM','6900291','The-Boneshakers-5-4-2025'],['Madeleine Peyroux','Avalon Theatre - MD','Easton, MD','Thursday','5/8/2025','7:00 PM','6827484','Madeleine-Peyroux-5-8-2025'],['The Met Live In HD: Salome','Avalon Theatre - MD','Easton, MD','Saturday','5/17/2025','1:00 PM','6616506','The-Met-Live-In-HD--Salome-5-17-2025'],['The Martin Sexton Abbey Road Show','Avalon Theatre - MD','Easton, MD','Friday','5/30/2025','7:00 PM','6871537','The-Martin-Sexton-Abbey-Road-Show-5-30-2025'],['The Met Live In HD: Il Barbiere di Siviglia','Avalon Theatre - MD','Easton, MD','Saturday','5/31/2025','1:00 PM','6616509','The-Met-Live-In-HD--Il-Barbiere-di-Siviglia-5-31-2025'],['BeauSoleil avec Michael Doucet','Avalon Theatre - MD','Easton, MD','Saturday','5/31/2025','8:00 PM','6871574','BeauSoleil-avec-Michael-Doucet-5-31-2025'],['Karla Bonoff','Avalon Theatre - MD','Easton, MD','Saturday','6/7/2025','8:00 PM','6995325','Karla-Bonoff-6-7-2025']],'Avalon Theatre Easton','https://www.ticketnetwork.com/ticket/Avalon-Theatre-Easton-events.aspx');