//
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-01A
TN_Widget.CreateTable([['A Year With Frog And Toad','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Tuesday','3/4/2025','10:30 AM','6790213','A-Year-With-Frog-And-Toad-3-4-2025'],['A Year With Frog And Toad','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Wednesday','3/5/2025','10:00 AM','6790216','A-Year-With-Frog-And-Toad-3-5-2025'],['Great Night Moon and The Runaway Bunny','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Friday','3/7/2025','10:00 AM','6821774','Great-Night-Moon-and-The-Runaway-Bunny-3-7-2025'],['Goodnight Moon','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Friday','3/7/2025','12:30 PM','6790217','Goodnight-Moon-3-7-2025'],['Southbound Writers Round','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Saturday','3/8/2025','8:00 PM','6937375','Southbound-Writers-Round-3-8-2025'],['The Infamous Stringdusters','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Saturday','3/15/2025','8:00 PM','6870023','The-Infamous-Stringdusters-3-15-2025'],['Moon Mouse: A Space Odyssey','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Tuesday','3/18/2025','10:00 AM','6790221','Moon-Mouse--A-Space-Odyssey-3-18-2025'],['Moon Mouse: A Space Odyssey','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Tuesday','3/18/2025','12:30 PM','6790223','Moon-Mouse--A-Space-Odyssey-3-18-2025'],['Moon Mouse: A Space Odyssey','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Wednesday','3/19/2025','10:00 AM','6790224','Moon-Mouse--A-Space-Odyssey-3-19-2025'],['Moon Mouse: A Space Odyssey','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Wednesday','3/19/2025','12:30 PM','6790225','Moon-Mouse--A-Space-Odyssey-3-19-2025'],['Moon Mouse: A Space Odyssey','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Thursday','3/20/2025','10:00 AM','6790227','Moon-Mouse--A-Space-Odyssey-3-20-2025'],['Creedence Revived - Creedence Clearwater Revisited Tribute','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Saturday','4/5/2025','8:00 PM','6927413','Creedence-Revived---Creedence-Clearwater-Revisited-Tribute-4-5-2025'],['Macbeth - Play','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Thursday','4/10/2025','10:00 AM','6821773','Macbeth---Play-4-10-2025'],['Mariachi Herencia De Mexico','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Sunday','5/18/2025','8:00 PM','6991408','Mariachi-Herencia-De-Mexico-5-18-2025'],['Don't Let the Pigeon Drive the Bus','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Wednesday','5/28/2025','10:00 AM','6821770','Don-t-Let-the-Pigeon-Drive-the-Bus-5-28-2025'],['Don't Let the Pigeon Drive the Bus','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Wednesday','5/28/2025','12:30 PM','6821769','Don-t-Let-the-Pigeon-Drive-the-Bus-5-28-2025'],['Colin Quinn','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Friday','6/20/2025','8:00 PM','6977097','Colin-Quinn-6-20-2025'],['Randy Rainbow','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Saturday','6/21/2025','8:00 PM','6876751','Randy-Rainbow-6-21-2025']],'Westhampton Beach Performing Arts','https://www.ticketnetwork.com/ticket/Westhampton-Beach-Performing-Arts-events.aspx');