//
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-03A
TN_Widget.CreateTable([['Kathy Griffin','Garde Arts Center','New London, CT','Wednesday','3/12/2025','7:30 PM','6713252','Kathy-Griffin-3-12-2025'],['A Taste of Ireland','Garde Arts Center','New London, CT','Thursday','3/13/2025','7:30 PM','6954402','A-Taste-of-Ireland-3-13-2025'],['Emerson, Lake & Palmer','Garde Arts Center','New London, CT','Friday','3/14/2025','8:00 PM','6825051','Emerson--Lake---Palmer-3-14-2025'],['Natalie MacMaster & Donnell Leahy','Garde Arts Center','New London, CT','Saturday','3/15/2025','8:00 PM','6563852','Natalie-MacMaster---Donnell-Leahy-3-15-2025'],['The Moth','Garde Arts Center','New London, CT','Friday','3/21/2025','8:00 PM','6563851','The-Moth-3-21-2025'],['Stomp','Garde Arts Center','New London, CT','Tuesday','4/1/2025','7:30 PM','6578323','Stomp-4-1-2025'],['Another Tequila Sunrise - Eagles Tribute','Garde Arts Center','New London, CT','Saturday','4/5/2025','8:00 PM','6681758','Another-Tequila-Sunrise---Eagles-Tribute-4-5-2025'],['Black Violin','Garde Arts Center','New London, CT','Saturday','4/12/2025','8:00 PM','6594265','Black-Violin-4-12-2025'],['iLuminate','Garde Arts Center','New London, CT','Friday','4/18/2025','8:00 PM','6578322','iLuminate-4-18-2025'],['The Simon & Garfunkel Story','Garde Arts Center','New London, CT','Saturday','4/19/2025','8:00 PM','6578324','The-Simon---Garfunkel-Story-4-19-2025'],['Colin Mochrie & Brad Sherwood','Garde Arts Center','New London, CT','Sunday','4/27/2025','7:30 PM','6497956','Colin-Mochrie---Brad-Sherwood-4-27-2025'],['One Night of Queen - Gary Mullen and The Works','Garde Arts Center','New London, CT','Tuesday','4/29/2025','7:30 PM','6594269','One-Night-of-Queen---Gary-Mullen-and-The-Works-4-29-2025'],['Menopause - The Musical 2','Garde Arts Center','New London, CT','Wednesday','4/30/2025','7:30 PM','6497957','Menopause---The-Musical-2-4-30-2025'],['Gillian Welch & David Rawlings','Garde Arts Center','New London, CT','Sunday','5/11/2025','7:00 PM','6817976','Gillian-Welch---David-Rawlings-5-11-2025'],['World Ballet Company: The Great Gatsby','Garde Arts Center','New London, CT','Saturday','5/17/2025','7:00 PM','6784511','World-Ballet-Company--The-Great-Gatsby-5-17-2025']],'Garde Arts Center','https://www.ticketnetwork.com/ticket/Garde-Arts-Center-events.aspx');