//
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-04A
TN_Widget.CreateTable([['Steve Martin & Martin Short','Grand Ole Opry House','Nashville, TN','Thursday','9/19/2024','7:30 PM','6424368','Steve-Martin---Martin-Short-9-19-2024'],['Steve Martin & Martin Short','Louisville Palace','Louisville, KY','Friday','9/20/2024','8:00 PM','6424352','Steve-Martin---Martin-Short-9-20-2024'],['Steve Martin & Martin Short','The Theater at Spartanburg Memorial Auditorium','Spartanburg, SC','Saturday','9/21/2024','8:00 PM','6424353','Steve-Martin---Martin-Short-9-21-2024'],['Steve Martin & Martin Short','Temple Theatre Saginaw','Saginaw, MI','Friday','10/4/2024','8:00 PM','6429516','Steve-Martin---Martin-Short-10-4-2024'],['Steve Martin & Martin Short','Rosemont Theatre','Rosemont, IL','Saturday','10/5/2024','8:00 PM','6424354','Steve-Martin---Martin-Short-10-5-2024'],['Steve Martin & Martin Short','Overture Hall At Overture Center for the Arts','Madison, WI','Sunday','10/6/2024','7:30 PM','6602886','Steve-Martin---Martin-Short-10-6-2024'],['Steve Martin & Martin Short','The Theater at MGM National Harbor','Oxon Hill, MD','Friday','10/18/2024','8:00 PM','6424355','Steve-Martin---Martin-Short-10-18-2024'],['Steve Martin & Martin Short','Concert Hall At Tilles Center for the Performing Arts','Brookville, NY','Saturday','10/19/2024','8:30 PM','6424356','Steve-Martin---Martin-Short-10-19-2024'],['Steve Martin & Martin Short','Mershon Auditorium At Wexner Center For The Arts','Columbus, OH','Friday','11/1/2024','8:00 PM','6424360','Steve-Martin---Martin-Short-11-1-2024'],['Steve Martin & Martin Short','Fox Theatre - Detroit','Detroit, MI','Saturday','11/2/2024','8:00 PM','6424364','Steve-Martin---Martin-Short-11-2-2024'],['Steve Martin & Martin Short','Premier Theater At Foxwoods','Ledyard, CT','Friday','11/15/2024','8:00 PM','6424367','Steve-Martin---Martin-Short-11-15-2024'],['Steve Martin & Martin Short','Premier Theater At Foxwoods','Ledyard, CT','Saturday','11/16/2024','8:00 PM','6457421','Steve-Martin---Martin-Short-11-16-2024'],['Steve Martin & Martin Short','Fabulous Fox Theatre - Atlanta','Atlanta, GA','Friday','1/24/2025','8:00 PM','6674696','Steve-Martin---Martin-Short-1-24-2025']],'Martin Short','http://www.ticketnetwork.com/ticket/Martin-Short-events.aspx');