//
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([['Outside Lands Music & Arts Festival: Tyler The Creator, Vampire Weekend, & Gracie Abrams - Saturday','Golden Gate Park','San Francisco, CA','Saturday','8/9/2025','11:00 AM','6738748','Outside-Lands-Music---Arts-Festival--Tyler-The-Creator--Vampire-Weekend----Gracie-Abrams---Saturday-8-9-2025'],['Vampire Weekend','Wellmont Theatre','Montclair, NJ','Monday','9/15/2025','8:00 PM','7233949','Vampire-Weekend-9-15-2025'],['Vampire Weekend','Wellmont Theatre','Montclair, NJ','Tuesday','9/16/2025','8:00 PM','7233951','Vampire-Weekend-9-16-2025'],['Vampire Weekend','Wellmont Theatre','Montclair, NJ','Wednesday','9/17/2025','8:00 PM','7239825','Vampire-Weekend-9-17-2025'],['Vampire Weekend','Wellmont Theatre','Montclair, NJ','Thursday','9/18/2025','8:00 PM','7243645','Vampire-Weekend-9-18-2025'],['Shaky Knees Music Festival: Deftones, My Chemical Romance & Blink 182 - 3 Day Pass','Piedmont Park','Atlanta, GA','Friday','9/19/2025','TBD','6849683','Shaky-Knees-Music-Festival--Deftones--My-Chemical-Romance---Blink-182---3-Day-Pass-9-19-2025'],['Iron Blossom Music Festival: The Lumineers, Vampire Weekend & Khruangbin - 2 Day Pass','Midtown Green','Richmond, VA','Saturday','9/20/2025','TBD','6951116','Iron-Blossom-Music-Festival--The-Lumineers--Vampire-Weekend---Khruangbin---2-Day-Pass-9-20-2025'],['Iron Blossom Music Festival: Vampire Weekend, Khruangbin & The Teskey Brothers - Saturday','Midtown Green','Richmond, VA','Saturday','9/20/2025','12:00 PM','7184272','Iron-Blossom-Music-Festival--Vampire-Weekend--Khruangbin---The-Teskey-Brothers---Saturday-9-20-2025'],['Shaky Knees Music Festival: Blink 182, Vampire Weekend & Alabama Shakes - Sunday (Time: TBD)','Piedmont Park','Atlanta, GA','Sunday','9/21/2025','12:00 PM','6852990','Shaky-Knees-Music-Festival--Blink-182--Vampire-Weekend---Alabama-Shakes---Sunday--Time--TBD--9-21-2025'],['Vampire Weekend','Saenger Theatre - New Orleans','New Orleans, LA','Wednesday','9/24/2025','8:00 PM','7235321','Vampire-Weekend-9-24-2025'],['Soundside Music Festival: The Killers, Weezer, Hozier & Vampire Weekend - 2 Day Pass','Seaside Park - CT','Bridgeport, CT','Saturday','9/27/2025','TBD','7068783','Soundside-Music-Festival--The-Killers--Weezer--Hozier---Vampire-Weekend---2-Day-Pass-9-27-2025'],['Oceans Calling Festival: Noah Kahan, Vampire Weekend & Good Charlotte - Saturday','Ocean City Inlet','Ocean City, MD','Saturday','9/27/2025','12:00 PM','6972662','Oceans-Calling-Festival--Noah-Kahan--Vampire-Weekend---Good-Charlotte---Saturday-9-27-2025'],['Soundside Music Festival: Hozier & Vampire Weekend - Sunday','Seaside Park - CT','Bridgeport, CT','Sunday','9/28/2025','10:00 AM','7068801','Soundside-Music-Festival--Hozier---Vampire-Weekend---Sunday-9-28-2025'],['Vampire Weekend','BleauLive Theater At Fontainebleau Las Vegas','Las Vegas, NV','Friday','11/7/2025','8:00 PM','7233956','Vampire-Weekend-11-7-2025']],'Vampire Weekend','https://www.ticketnetwork.com/ticket/Vampire-Weekend-events.aspx');