//
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-03A
TN_Widget.CreateTable([['Silversun Pickups','Wellmont Theatre','Montclair, NJ','Thursday','9/12/2024','8:00 PM','6585774','Silversun-Pickups-9-12-2024'],['Kashmir - The Led Zeppelin Experience','Wellmont Theatre','Montclair, NJ','Friday','9/13/2024','8:00 PM','6491207','Kashmir---The-Led-Zeppelin-Experience-9-13-2024'],['Dylan Scott','Wellmont Theatre','Montclair, NJ','Saturday','9/21/2024','8:00 PM','6459470','Dylan-Scott-9-21-2024'],['Yes Epics and Classics: Jon Anderson and the Band Geeks','Wellmont Theatre','Montclair, NJ','Sunday','9/22/2024','8:00 PM','6486466','Yes-Epics-and-Classics--Jon-Anderson-and-the-Band-Geeks-9-22-2024'],['Sleepy Hallow & Sheff G','Wellmont Theatre','Montclair, NJ','Thursday','9/26/2024','8:00 PM','6612628','Sleepy-Hallow---Sheff-G-9-26-2024'],['The Warped Tour Band','Wellmont Theatre','Montclair, NJ','Saturday','9/28/2024','8:00 PM','6568030','The-Warped-Tour-Band-9-28-2024'],['Wage War','Wellmont Theatre','Montclair, NJ','Saturday','10/5/2024','6:30 PM','6529887','Wage-War-10-5-2024'],['Max Amini','Wellmont Theatre','Montclair, NJ','Sunday','10/6/2024','8:00 PM','6670716','Max-Amini-10-6-2024'],['Testament & Kreator','Wellmont Theatre','Montclair, NJ','Thursday','10/10/2024','6:50 PM','6414257','Testament---Kreator-10-10-2024'],['Countess Luann','Wellmont Theatre','Montclair, NJ','Saturday','10/12/2024','8:00 PM','6587251','Countess-Luann-10-12-2024'],['Junior Marvin & The Legendary Wailers','Wellmont Theatre','Montclair, NJ','Thursday','10/17/2024','8:00 PM','6459001','Junior-Marvin---The-Legendary-Wailers-10-17-2024'],['Ken Carson','Wellmont Theatre','Montclair, NJ','Monday','10/21/2024','8:00 PM','6568469','Ken-Carson-10-21-2024'],['The Best of The Eagles','Wellmont Theatre','Montclair, NJ','Thursday','10/24/2024','8:00 PM','6573324','The-Best-of-The-Eagles-10-24-2024'],['Jimmy Kenny and The Pirate Beach Band','Wellmont Theatre','Montclair, NJ','Friday','10/25/2024','8:00 PM','6611998','Jimmy-Kenny-and-The-Pirate-Beach-Band-10-25-2024'],['Set It Off','Wellmont Theatre','Montclair, NJ','Saturday','10/26/2024','6:30 PM','6488182','Set-It-Off-10-26-2024'],['Matt Mathews','Wellmont Theatre','Montclair, NJ','Sunday','10/27/2024','8:00 PM','6624122','Matt-Mathews-10-27-2024'],['Gipsy Kings','Wellmont Theatre','Montclair, NJ','Wednesday','10/30/2024','8:00 PM','6556655','Gipsy-Kings-10-30-2024'],['Polo G','Wellmont Theatre','Montclair, NJ','Sunday','11/10/2024','8:00 PM','6652860','Polo-G-11-10-2024'],['Senses Fail','Wellmont Theatre','Montclair, NJ','Thursday','11/14/2024','7:30 PM','6495023','Senses-Fail-11-14-2024'],['Senses Fail & Saves The Day','Wellmont Theatre','Montclair, NJ','Friday','11/15/2024','7:30 PM','6460912','Senses-Fail---Saves-The-Day-11-15-2024'],['Bored Teachers Comedy Tour','Wellmont Theatre','Montclair, NJ','Saturday','11/16/2024','7:00 PM','6390135','Bored-Teachers-Comedy-Tour-11-16-2024'],['Candace Bushnell','Wellmont Theatre','Montclair, NJ','Thursday','11/21/2024','8:00 PM','6612001','Candace-Bushnell-11-21-2024'],['Chelsea Handler','Wellmont Theatre','Montclair, NJ','Saturday','11/23/2024','7:00 PM','6414210','Chelsea-Handler-11-23-2024'],['Chelsea Handler','Wellmont Theatre','Montclair, NJ','Saturday','11/23/2024','9:30 PM','6414213','Chelsea-Handler-11-23-2024'],['In Conversation with The Sopranos','Wellmont Theatre','Montclair, NJ','Saturday','11/30/2024','8:00 PM','6425827','In-Conversation-with-The-Sopranos-11-30-2024'],['Juvenile & The 400 Degreez Band','Wellmont Theatre','Montclair, NJ','Wednesday','12/4/2024','8:00 PM','6502363','Juvenile---The-400-Degreez-Band-12-4-2024'],['Jason Bonham's Led Zeppelin Evening','Wellmont Theatre','Montclair, NJ','Sunday','12/8/2024','8:00 PM','6655987','Jason-Bonham-s-Led-Zeppelin-Evening-12-8-2024'],['Hot Tuna','Wellmont Theatre','Montclair, NJ','Saturday','12/14/2024','8:00 PM','6596539','Hot-Tuna-12-14-2024'],['Celtic Woman','Wellmont Theatre','Montclair, NJ','Sunday','12/15/2024','8:00 PM','6503148','Celtic-Woman-12-15-2024'],['Elvis In Concert - Elvis Tribute','Wellmont Theatre','Montclair, NJ','Thursday','12/11/2070','8:00 PM','4122477','Elvis-In-Concert---Elvis-Tribute-12-11-2070']],'The Wellmont Theatre','http://www.ticketnetwork.com/ticket/The-Wellmont-Theatre-events.aspx');