//
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([['Kansas City Ballet: Jewels','Muriel Kauffman Theatre - Kauffman Center for the Performing Arts','Kansas City, MO','Friday','5/10/2024','7:30 PM','5937454','Kansas-City-Ballet--Jewels-5-10-2024'],['Kansas City Ballet: Jewels','Muriel Kauffman Theatre - Kauffman Center for the Performing Arts','Kansas City, MO','Saturday','5/11/2024','7:30 PM','5911550','Kansas-City-Ballet--Jewels-5-11-2024'],['Kansas City Ballet: Jewels','Muriel Kauffman Theatre - Kauffman Center for the Performing Arts','Kansas City, MO','Sunday','5/12/2024','1:30 PM','5911551','Kansas-City-Ballet--Jewels-5-12-2024'],['Kansas City Ballet: Jewels','Muriel Kauffman Theatre - Kauffman Center for the Performing Arts','Kansas City, MO','Friday','5/17/2024','7:30 PM','5883674','Kansas-City-Ballet--Jewels-5-17-2024'],['Kansas City Ballet: Jewels','Muriel Kauffman Theatre - Kauffman Center for the Performing Arts','Kansas City, MO','Saturday','5/18/2024','7:30 PM','5911552','Kansas-City-Ballet--Jewels-5-18-2024'],['Kansas City Ballet: Jewels','Muriel Kauffman Theatre - Kauffman Center for the Performing Arts','Kansas City, MO','Sunday','5/19/2024','1:30 PM','5911553','Kansas-City-Ballet--Jewels-5-19-2024'],['Killer Mike & The Mighty Midnight Revival','Kennedy Center Concert Hall','Washington, DC','Tuesday','5/21/2024','8:00 PM','6331591','Killer-Mike---The-Mighty-Midnight-Revival-5-21-2024'],['New York City Ballet: Jewels','Kennedy Center Opera House','Washington, DC','Tuesday','6/4/2024','7:30 PM','6265740','New-York-City-Ballet--Jewels-6-4-2024'],['New York City Ballet: Jewels','Kennedy Center Opera House','Washington, DC','Wednesday','6/5/2024','7:30 PM','6265741','New-York-City-Ballet--Jewels-6-5-2024'],['New York City Ballet: Jewels','Kennedy Center Opera House','Washington, DC','Thursday','6/6/2024','7:30 PM','6265742','New-York-City-Ballet--Jewels-6-6-2024'],['New York City Ballet: Jewels','Kennedy Center Opera House','Washington, DC','Friday','6/7/2024','7:30 PM','6265743','New-York-City-Ballet--Jewels-6-7-2024'],['New York City Ballet: Jewels','Kennedy Center Opera House','Washington, DC','Saturday','6/8/2024','1:30 PM','6265744','New-York-City-Ballet--Jewels-6-8-2024'],['New York City Ballet: Jewels','Kennedy Center Opera House','Washington, DC','Saturday','6/8/2024','7:30 PM','6265745','New-York-City-Ballet--Jewels-6-8-2024'],['New York City Ballet: Jewels','Kennedy Center Opera House','Washington, DC','Sunday','6/9/2024','1:30 PM','6265746','New-York-City-Ballet--Jewels-6-9-2024'],['Killer Mike & The Mighty Midnight Revival','MTelus','Montreal, Canada','Wednesday','7/3/2024','8:30 PM','6357641','Killer-Mike---The-Mighty-Midnight-Revival-7-3-2024'],['Killer Mike & The Mighty Midnight Revival','Danforth Music Hall Theatre','Toronto, Canada','Sunday','7/7/2024','7:00 PM','6357640','Killer-Mike---The-Mighty-Midnight-Revival-7-7-2024'],['Killer Mike & The Mighty Midnight Revival','Blue Note - NY','New York, NY','Monday','7/29/2024','8:00 PM','6357617','Killer-Mike---The-Mighty-Midnight-Revival-7-29-2024'],['Killer Mike & The Mighty Midnight Revival','Blue Note - NY','New York, NY','Tuesday','7/30/2024','8:00 PM','6357624','Killer-Mike---The-Mighty-Midnight-Revival-7-30-2024'],['Killer Mike & The Mighty Midnight Revival','Blue Note - NY','New York, NY','Wednesday','7/31/2024','8:00 PM','6357626','Killer-Mike---The-Mighty-Midnight-Revival-7-31-2024'],['Killer Mike & The Mighty Midnight Revival','Majestic Theatre - MI','Detroit, MI','Friday','8/2/2024','9:00 PM','6357642','Killer-Mike---The-Mighty-Midnight-Revival-8-2-2024'],['Killer Mike & The Mighty Midnight Revival','First Avenue','Minneapolis, MN','Monday','8/5/2024','8:00 PM','6357643','Killer-Mike---The-Mighty-Midnight-Revival-8-5-2024'],['Killer Mike & The Mighty Midnight Revival','Ogden Theatre','Denver, CO','Wednesday','8/7/2024','8:00 PM','6357644','Killer-Mike---The-Mighty-Midnight-Revival-8-7-2024'],['Killer Mike & The Mighty Midnight Revival','Ogden Amphitheater','Ogden, UT','Thursday','8/8/2024','5:00 PM','6354728','Killer-Mike---The-Mighty-Midnight-Revival-8-8-2024'],['Outside Lands Music & Arts Festival: Tyler The Creator, The Killers, Sturgill Simpson & The Postal Service - 3 Day Pass','Golden Gate Park','San Francisco, CA','Friday','8/9/2024','TBD','6267170','Outside-Lands-Music---Arts-Festival--Tyler-The-Creator--The-Killers--Sturgill-Simpson---The-Postal-Service---3-Day-Pass-8-9-2024'],['Killer Mike','The Novo','Los Angeles, CA','Tuesday','10/15/2024','8:00 PM','6357645','Killer-Mike-10-15-2024']],'Jewels','http://www.ticketnetwork.com/ticket/Jewels-events.aspx');