//
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-02A
TN_Widget.CreateTable([['The Vaccines','Union Transfer','Philadelphia, PA','Thursday','1/16/2025','8:00 PM','6686504','The-Vaccines-1-16-2025'],['The Vaccines','Brooklyn Steel','Brooklyn, NY','Friday','1/17/2025','8:00 PM','6685724','The-Vaccines-1-17-2025'],['The Vaccines','Royale Boston','Boston, MA','Saturday','1/18/2025','7:00 PM','6685721','The-Vaccines-1-18-2025'],['The Vaccines','Le Studio TD','Montreal, Canada','Monday','1/20/2025','8:00 PM','6686505','The-Vaccines-1-20-2025'],['The Vaccines','The Concert Hall at Toronto Masonic Temple','Toronto, Canada','Tuesday','1/21/2025','7:00 PM','6686506','The-Vaccines-1-21-2025'],['The Vaccines','El Club','Detroit, MI','Thursday','1/23/2025','7:00 PM','6686507','The-Vaccines-1-23-2025'],['The Vaccines','Vic Theatre','Chicago, IL','Friday','1/24/2025','7:30 PM','6684815','The-Vaccines-1-24-2025'],['The Vaccines','Fine Line Music Cafe','Minneapolis, MN','Saturday','1/25/2025','8:30 PM','6685720','The-Vaccines-1-25-2025'],['The Vaccines','The Summit Music Hall','Denver, CO','Tuesday','1/28/2025','8:00 PM','6686508','The-Vaccines-1-28-2025'],['The Vaccines','Hollywood Theatre - Vancouver','Vancouver, Canada','Friday','1/31/2025','6:00 PM','6684686','The-Vaccines-1-31-2025'],['The Vaccines','The Showbox','Seattle, WA','Saturday','2/1/2025','8:30 PM','6686032','The-Vaccines-2-1-2025'],['The Vaccines','Wonder Ballroom','Portland, OR','Sunday','2/2/2025','8:00 PM','6684597','The-Vaccines-2-2-2025'],['The Vaccines','The Fillmore - San Francisco','San Francisco, CA','Tuesday','2/4/2025','8:00 PM','6685051','The-Vaccines-2-4-2025'],['The Vaccines','The Wiltern','Los Angeles, CA','Thursday','2/6/2025','7:00 PM','6685050','The-Vaccines-2-6-2025']],'The Vaccines','http://www.ticketnetwork.com/ticket/The-Vaccines-events.aspx');