//
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([['Yelawolf','Toads Place CT','New Haven, CT','Sunday','7/13/2025','7:30 PM','7074152','Yelawolf-7-13-2025'],['Kurt Vile and The Violators','Toads Place CT','New Haven, CT','Sunday','7/20/2025','8:00 PM','7035319','Kurt-Vile-and-The-Violators-7-20-2025'],['Anberlin','Toads Place CT','New Haven, CT','Tuesday','8/5/2025','7:30 PM','7094811','Anberlin-8-5-2025'],['Violent Vira','Toads Place CT','New Haven, CT','Thursday','8/7/2025','8:00 PM','7173277','Violent-Vira-8-7-2025'],['Silversun Pickups','Toads Place CT','New Haven, CT','Wednesday','8/20/2025','8:00 PM','7045024','Silversun-Pickups-8-20-2025'],['Boundaries','Toads Place CT','New Haven, CT','Sunday','8/24/2025','6:30 PM','7122195','Boundaries-8-24-2025'],['Traveling Wilburys Revue','Toads Place CT','New Haven, CT','Tuesday','8/26/2025','8:30 PM','7200365','Traveling-Wilburys-Revue-8-26-2025'],['The 30+ Party','Toads Place CT','New Haven, CT','Friday','8/29/2025','6:00 PM','7226483','The-30--Party-8-29-2025'],['Jerry Cantrell','Toads Place CT','New Haven, CT','Wednesday','9/3/2025','8:00 PM','7166568','Jerry-Cantrell-9-3-2025'],['DJ Pauly D','Toads Place CT','New Haven, CT','Thursday','9/4/2025','8:00 PM','7104541','DJ-Pauly-D-9-4-2025'],['Allen Stone','Toads Place CT','New Haven, CT','Sunday','9/7/2025','7:00 PM','7209712','Allen-Stone-9-7-2025'],['Dragonforce','Toads Place CT','New Haven, CT','Friday','9/12/2025','8:00 PM','7223616','Dragonforce-9-12-2025'],['Babytron','Toads Place CT','New Haven, CT','Sunday','9/21/2025','8:00 PM','7198286','Babytron-9-21-2025'],['Natasha Bedingfield','Toads Place CT','New Haven, CT','Sunday','9/28/2025','8:00 PM','7235967','Natasha-Bedingfield-9-28-2025'],['Matt Maltese','Toads Place CT','New Haven, CT','Tuesday','9/30/2025','8:00 PM','7047436','Matt-Maltese-9-30-2025'],['Marianas Trench','Toads Place CT','New Haven, CT','Wednesday','10/1/2025','7:00 PM','7138735','Marianas-Trench-10-1-2025'],['Chase Rice','Toads Place CT','New Haven, CT','Saturday','10/4/2025','6:00 PM','7180539','Chase-Rice-10-4-2025'],['Cash Cobain','Toads Place CT','New Haven, CT','Thursday','10/9/2025','9:00 PM','7234435','Cash-Cobain-10-9-2025'],['John Cafferty','Toads Place CT','New Haven, CT','Friday','10/10/2025','8:00 PM','7243998','John-Cafferty-10-10-2025'],['Borns','Toads Place CT','New Haven, CT','Sunday','10/12/2025','7:30 PM','7194593','Borns-10-12-2025'],['Everclear','Toads Place CT','New Haven, CT','Thursday','10/23/2025','7:00 PM','7021551','Everclear-10-23-2025'],['Saint Motel','Toads Place CT','New Haven, CT','Friday','10/24/2025','8:00 PM','7120118','Saint-Motel-10-24-2025'],['Matt Maeson','Toads Place CT','New Haven, CT','Saturday','10/25/2025','7:00 PM','7200034','Matt-Maeson-10-25-2025'],['Whitechapel','Toads Place CT','New Haven, CT','Sunday','11/16/2025','6:55 PM','7180318','Whitechapel-11-16-2025'],['Streetlight Manifesto','Toads Place CT','New Haven, CT','Thursday','12/18/2025','8:00 PM','7106946','Streetlight-Manifesto-12-18-2025'],['Lord of the Lost & The Birthday Massacre','Toads Place CT','New Haven, CT','Wednesday','1/21/2026','7:00 PM','7182640','Lord-of-the-Lost---The-Birthday-Massacre-1-21-2026'],['TEST EVENT - Walk In','Toads Place CT','New Haven, CT','Wednesday','9/9/2026','12:00 PM','7091072','TEST-EVENT---Walk-In-9-9-2026']],'Toads Place New Haven','https://www.ticketnetwork.com/ticket/Toads-Place-New-Haven-events.aspx');