//
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([['Jazz at Lincoln Center Orchestra with Wynton Marsalis','Orchestra Hall - MN','Minneapolis, MN','Tuesday','1/28/2025','7:00 PM','6600919','Jazz-at-Lincoln-Center-Orchestra-with-Wynton-Marsalis-1-28-2025'],['Jazz At Lincoln Center Orchestra & Wynton Marsalis','Overture Hall At Overture Center for the Arts','Madison, WI','Wednesday','1/29/2025','7:30 PM','6672654','Jazz-At-Lincoln-Center-Orchestra---Wynton-Marsalis-1-29-2025'],['Jazz At Lincoln Center Orchestra & Wynton Marsalis','Hill Auditorium - Ann Arbor','Ann Arbor, MI','Saturday','2/1/2025','7:30 PM','6414564','Jazz-At-Lincoln-Center-Orchestra---Wynton-Marsalis-2-1-2025'],['Wynton Marsalis','Concert Hall At Tilles Center for the Performing Arts','Brookville, NY','Thursday','4/24/2025','7:30 PM','6478548','Wynton-Marsalis-4-24-2025'],['Wynton Marsalis Ensemble','Arlington Theatre','Santa Barbara, CA','Saturday','5/17/2025','7:30 PM','6504422','Wynton-Marsalis-Ensemble-5-17-2025'],['Eugene Symphony: Francesco Lecce-Chong - Wynton Marsalis' Swing SYmphony','Silva Concert Hall at Hult Center For The Performing Arts','Eugene, OR','Thursday','5/22/2025','7:30 PM','6414799','Eugene-Symphony--Francesco-Lecce-Chong---Wynton-Marsalis--Swing-SYmphony-5-22-2025'],['Louis: A Silent Movie With Live Accompaniment By Wynton Marsalis','Paramount Theatre - Oakland','Oakland, CA','Saturday','5/24/2025','8:00 PM','6654494','Louis--A-Silent-Movie-With-Live-Accompaniment-By-Wynton-Marsalis-5-24-2025']],'Wynton Marsalis','http://www.ticketnetwork.com/ticket/Wynton-Marsalis-events.aspx');