//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://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[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ 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([['Bright Eyes','Forest Hills Stadium','Forest Hills, NY','Saturday','6/6/2026','6:00 PM','7612898','Bright-Eyes-6-6-2026'],['Dave Matthews Band','Forest Hills Stadium','Forest Hills, NY','Wednesday','6/10/2026','7:00 PM','7705610','Dave-Matthews-Band-6-10-2026'],['The Black Crowes, Whiskey Myers & Southall','Forest Hills Stadium','Forest Hills, NY','Saturday','6/13/2026','5:30 PM','7708951','The-Black-Crowes--Whiskey-Myers---Southall-6-13-2026'],['Wilco','Forest Hills Stadium','Forest Hills, NY','Saturday','6/20/2026','6:00 PM','7775494','Wilco-6-20-2026'],['Paul Simon','Forest Hills Stadium','Forest Hills, NY','Wednesday','7/8/2026','7:00 PM','7719619','Paul-Simon-7-8-2026'],['Sarah McLachlan & Allison Russell','Forest Hills Stadium','Forest Hills, NY','Saturday','7/11/2026','7:00 PM','7735154','Sarah-McLachlan---Allison-Russell-7-11-2026'],['Caamp','Forest Hills Stadium','Forest Hills, NY','Thursday','7/23/2026','6:00 PM','7737052','Caamp-7-23-2026'],['King Gizzard and The Lizard Wizard - 3 Day Pass','Forest Hills Stadium','Forest Hills, NY','Thursday','8/20/2026','TBD','7604379','King-Gizzard-and-The-Lizard-Wizard---3-Day-Pass-8-20-2026'],['King Gizzard and The Lizard Wizard','Forest Hills Stadium','Forest Hills, NY','Thursday','8/20/2026','5:30 PM','7603247','King-Gizzard-and-The-Lizard-Wizard-8-20-2026'],['King Gizzard and The Lizard Wizard','Forest Hills Stadium','Forest Hills, NY','Friday','8/21/2026','5:30 PM','7603248','King-Gizzard-and-The-Lizard-Wizard-8-21-2026'],['King Gizzard and The Lizard Wizard','Forest Hills Stadium','Forest Hills, NY','Saturday','8/22/2026','5:30 PM','7603249','King-Gizzard-and-The-Lizard-Wizard-8-22-2026'],['Zac Brown Band','Forest Hills Stadium','Forest Hills, NY','Thursday','8/27/2026','6:30 PM','7703266','Zac-Brown-Band-8-27-2026'],['Zac Brown Band','Forest Hills Stadium','Forest Hills, NY','Friday','8/28/2026','6:30 PM','7703267','Zac-Brown-Band-8-28-2026']],'Forest Hills Stadium','http://www.ticketnetwork.com/ticket/Forest-Hills-Stadium-events.aspx');