//
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-02A
TN_Widget.CreateTable([['Four Leaf Clover of Boston Comedy Show','Lynn Memorial Auditorium','Lynn, MA','Saturday','3/1/2025','8:00 PM','6886931','Four-Leaf-Clover-of-Boston-Comedy-Show-3-1-2025'],['Marlon Wayans','Lynn Memorial Auditorium','Lynn, MA','Friday','3/7/2025','8:00 PM','6951260','Marlon-Wayans-3-7-2025'],['Rush Tribute Project','Lynn Memorial Auditorium','Lynn, MA','Sunday','3/9/2025','8:00 PM','6623606','Rush-Tribute-Project-3-9-2025'],['El Blachy','Lynn Memorial Auditorium','Lynn, MA','Friday','3/14/2025','8:00 PM','6914808','El-Blachy-3-14-2025'],['Manny Papeleta','Lynn Memorial Auditorium','Lynn, MA','Saturday','3/22/2025','8:00 PM','6899613','Manny-Papeleta-3-22-2025'],['Experience Hendrix - Kenny Wayne Shepherd & Marcus King','Lynn Memorial Auditorium','Lynn, MA','Thursday','3/27/2025','8:00 PM','6821174','Experience-Hendrix---Kenny-Wayne-Shepherd---Marcus-King-3-27-2025'],['Get The Led Out - Tribute Band','Lynn Memorial Auditorium','Lynn, MA','Friday','4/11/2025','8:00 PM','6529883','Get-The-Led-Out---Tribute-Band-4-11-2025'],['Menopause - The Musical 2','Lynn Memorial Auditorium','Lynn, MA','Thursday','5/1/2025','7:30 PM','6494885','Menopause---The-Musical-2-5-1-2025'],['Rend Collective','Lynn Memorial Auditorium','Lynn, MA','Saturday','5/3/2025','7:00 PM','6968258','Rend-Collective-5-3-2025'],['Clutch','Lynn Memorial Auditorium','Lynn, MA','Thursday','6/12/2025','8:00 PM','6970698','Clutch-6-12-2025'],['Jimmy Cash','Lynn Memorial Auditorium','Lynn, MA','Saturday','6/21/2025','8:00 PM','7006795','Jimmy-Cash-6-21-2025'],['Happy Together Tour','Lynn Memorial Auditorium','Lynn, MA','Wednesday','7/30/2025','7:30 PM','6872732','Happy-Together-Tour-7-30-2025'],['Thomas Anders ','Lynn Memorial Auditorium','Lynn, MA','Sunday','8/17/2025','8:00 PM','6912245','Thomas-Anders--8-17-2025']],'Lynn Memorial Auditorium','https://www.ticketnetwork.com/ticket/Lynn-Memorial-Auditorium-events.aspx');