//
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([['Judy Collins','Westbury Music Fair','Westbury, NY','Friday','2/28/2025','8:00 PM','6723353','Judy-Collins-2-28-2025'],['Dionne Warwick','Westbury Music Fair','Westbury, NY','Saturday','3/8/2025','8:00 PM','6502087','Dionne-Warwick-3-8-2025'],['Chris Janson','Westbury Music Fair','Westbury, NY','Thursday','3/13/2025','8:00 PM','6835683','Chris-Janson-3-13-2025'],['Burton Cummings','Westbury Music Fair','Westbury, NY','Saturday','3/15/2025','8:00 PM','6570452','Burton-Cummings-3-15-2025'],['Experience Hendrix - Kenny Wayne Shepherd & Marcus King','Westbury Music Fair','Westbury, NY','Friday','3/28/2025','8:00 PM','6821175','Experience-Hendrix---Kenny-Wayne-Shepherd---Marcus-King-3-28-2025'],['Gary Owen','Westbury Music Fair','Westbury, NY','Saturday','3/29/2025','8:00 PM','6888763','Gary-Owen-3-29-2025'],['Three Americans Live: Stephen A. Smith, Chris Cuomo & Bill O'Reilly','Westbury Music Fair','Westbury, NY','Sunday','3/30/2025','3:00 PM','7003185','Three-Americans-Live--Stephen-A--Smith--Chris-Cuomo---Bill-O-Reilly-3-30-2025'],['Louder Than Love: TKA, Judy Torres & Cynthia','Westbury Music Fair','Westbury, NY','Saturday','4/5/2025','7:30 PM','6938671','Louder-Than-Love--TKA--Judy-Torres---Cynthia-4-5-2025'],['The Simon & Garfunkel Story','Westbury Music Fair','Westbury, NY','Friday','4/25/2025','8:00 PM','6975651','The-Simon---Garfunkel-Story-4-25-2025'],['Weekend Salsa Fest','Westbury Music Fair','Westbury, NY','Saturday','4/26/2025','8:00 PM','6975652','Weekend-Salsa-Fest-4-26-2025'],['Jon Anderson','Westbury Music Fair','Westbury, NY','Friday','5/16/2025','8:00 PM','6918255','Jon-Anderson-5-16-2025'],['Zebra','Westbury Music Fair','Westbury, NY','Saturday','5/17/2025','8:00 PM','6891560','Zebra-5-17-2025'],['Happy Together Tour','Westbury Music Fair','Westbury, NY','Saturday','6/14/2025','8:00 PM','6804852','Happy-Together-Tour-6-14-2025'],['I Want My 80s Tour: Rick Springfield, Wang Chung & Paul Young','Westbury Music Fair','Westbury, NY','Wednesday','7/9/2025','7:00 PM','6983288','I-Want-My-80s-Tour--Rick-Springfield--Wang-Chung---Paul-Young-7-9-2025'],['KEM','Westbury Music Fair','Westbury, NY','Thursday','7/17/2025','8:00 PM','6980807','KEM-7-17-2025'],['Killer Queen','Westbury Music Fair','Westbury, NY','Sunday','9/21/2025','7:30 PM','6938421','Killer-Queen-9-21-2025']],'NYCB Theatre at Westbury','https://www.ticketnetwork.com/ticket/NYCB-Theatre-at-Westbury-events.aspx');