//
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-02A
TN_Widget.CreateTable([['Ve Neill's Vampire Weekend (Time: TBD) - Friday','Los Angeles Marriott Burbank Airport Hotel','Burbank, CA','Friday','3/14/2025','4:00 PM','6714760','Ve-Neill-s-Vampire-Weekend--Time--TBD----Friday-3-14-2025'],['Ve Neill's Vampire Weekend (Time: TBD) - Saturday','Los Angeles Marriott Burbank Airport Hotel','Burbank, CA','Saturday','3/15/2025','4:00 PM','6714763','Ve-Neill-s-Vampire-Weekend--Time--TBD----Saturday-3-15-2025'],['Ve Neill's Vampire Weekend (Time: TBD) - Sunday','Los Angeles Marriott Burbank Airport Hotel','Burbank, CA','Sunday','3/16/2025','4:00 PM','6714765','Ve-Neill-s-Vampire-Weekend--Time--TBD----Sunday-3-16-2025'],['Boston Calling Music Festival: Dave Matthews Band, Luke Combs, Fall Out Boy & Avril Lavigne - 3 Day Pass','Harvard Athletic Complex','Cambridge, MA','Friday','5/23/2025','TBD','6820475','Boston-Calling-Music-Festival--Dave-Matthews-Band--Luke-Combs--Fall-Out-Boy---Avril-Lavigne---3-Day-Pass-5-23-2025'],['Boston Calling Music Festival: Dave Matthews Band, Vampire Weekend, Sublime & Public Enemy - Sunday','Harvard Athletic Complex','Cambridge, MA','Sunday','5/25/2025','1:00 PM','6820479','Boston-Calling-Music-Festival--Dave-Matthews-Band--Vampire-Weekend--Sublime---Public-Enemy---Sunday-5-25-2025'],['Bonnaroo Music & Arts Festival: Hozier, Vampire Weekend & Queens of the Stone Age - Sunday','The Bonnaroo Farm','Manchester, TN','Sunday','6/15/2025','12:00 PM','6549315','Bonnaroo-Music---Arts-Festival--Hozier--Vampire-Weekend---Queens-of-the-Stone-Age---Sunday-6-15-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']],'Vampire Weekend','https://www.ticketnetwork.com/ticket/Vampire-Weekend-events.aspx');