//
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([['East Nash Grass','The Westcott Theatre','Syracuse, NY','Friday','3/7/2025','8:00 PM','6927805','East-Nash-Grass-3-7-2025'],['Back In Black - A Tribute To AC/DC','The Westcott Theatre','Syracuse, NY','Saturday','3/8/2025','8:00 PM','6861539','Back-In-Black---A-Tribute-To-AC-DC-3-8-2025'],['Eggy','The Westcott Theatre','Syracuse, NY','Friday','3/14/2025','8:00 PM','6874663','Eggy-3-14-2025'],['Hurricane - Scorpions Tribute ','The Westcott Theatre','Syracuse, NY','Saturday','3/15/2025','8:00 PM','6859236','Hurricane---Scorpions-Tribute--3-15-2025'],['Dirtwire','The Westcott Theatre','Syracuse, NY','Friday','3/21/2025','8:00 PM','6841064','Dirtwire-3-21-2025'],['American Pie Emo Night','The Westcott Theatre','Syracuse, NY','Saturday','3/22/2025','7:00 PM','6935055','American-Pie-Emo-Night-3-22-2025'],['Tim Reynolds','The Westcott Theatre','Syracuse, NY','Sunday','3/23/2025','8:00 PM','6913799','Tim-Reynolds-3-23-2025'],['Jaenga','The Westcott Theatre','Syracuse, NY','Friday','3/28/2025','8:00 PM','6964094','Jaenga-3-28-2025'],['HyperGlow Tour','The Westcott Theatre','Syracuse, NY','Saturday','3/29/2025','9:00 PM','6935057','HyperGlow-Tour-3-29-2025'],['Yoko','The Westcott Theatre','Syracuse, NY','Friday','4/4/2025','8:00 PM','6936603','Yoko-4-4-2025'],['United We Dance - EDM Dance Party','The Westcott Theatre','Syracuse, NY','Saturday','4/5/2025','9:00 PM','6949824','United-We-Dance---EDM-Dance-Party-4-5-2025'],['The Band Feel','The Westcott Theatre','Syracuse, NY','Sunday','4/6/2025','8:00 PM','6991631','The-Band-Feel-4-6-2025'],['Sleaze Freaks - Indie Sleaze Dance Party','The Westcott Theatre','Syracuse, NY','Saturday','4/19/2025','10:00 PM','6952482','Sleaze-Freaks---Indie-Sleaze-Dance-Party-4-19-2025'],['Masta Killa','The Westcott Theatre','Syracuse, NY','Sunday','4/20/2025','5:00 PM','6938811','Masta-Killa-4-20-2025'],['RivetSkull','The Westcott Theatre','Syracuse, NY','Friday','5/9/2025','8:00 PM','6861544','RivetSkull-5-9-2025'],['Don Jovi - Bon Jovi Tribute','The Westcott Theatre','Syracuse, NY','Saturday','5/10/2025','8:00 PM','6843451','Don-Jovi---Bon-Jovi-Tribute-5-10-2025'],['Donna the Buffalo','The Westcott Theatre','Syracuse, NY','Saturday','5/17/2025','8:00 PM','6869144','Donna-the-Buffalo-5-17-2025'],['Pigeons Playing Ping Pong','The Westcott Theatre','Syracuse, NY','Saturday','5/31/2025','3:00 PM','6980290','Pigeons-Playing-Ping-Pong-5-31-2025'],['Drown - Smashing Pumpkins Tribute','The Westcott Theatre','Syracuse, NY','Saturday','6/7/2025','7:00 PM','6952496','Drown---Smashing-Pumpkins-Tribute-6-7-2025'],['Rusko','The Westcott Theatre','Syracuse, NY','Friday','6/13/2025','8:00 PM','6987352','Rusko-6-13-2025'],['Appetite for Destruction','The Westcott Theatre','Syracuse, NY','Saturday','6/14/2025','8:00 PM','6927800','Appetite-for-Destruction-6-14-2025'],['Sleep Theory','The Westcott Theatre','Syracuse, NY','Wednesday','6/18/2025','7:00 PM','6985266','Sleep-Theory-6-18-2025'],['Wildside - Motley Crue Tribute','The Westcott Theatre','Syracuse, NY','Friday','6/27/2025','8:00 PM','6952498','Wildside---Motley-Crue-Tribute-6-27-2025'],['Philadelphia Freedom - Tribute To Elton John','The Westcott Theatre','Syracuse, NY','Saturday','6/28/2025','8:00 PM','6977145','Philadelphia-Freedom---Tribute-To-Elton-John-6-28-2025'],['Completely Unchained','The Westcott Theatre','Syracuse, NY','Friday','8/8/2025','8:00 PM','6970411','Completely-Unchained-8-8-2025']],'Westcott Theatre','https://www.ticketnetwork.com/ticket/Westcott-Theatre-events.aspx');