//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var dateArray = row[4].split('/');
var date = months[dateArray[0]] + " " + dateArray[1];
var parking = row[0].split(':')[0]
if (parking !== "PARKING") {
return "
";
}
},
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,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newResults = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newResults.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newResults.join('') + '
';
} else
document.write('' + newResults.join('') + '
');
if(eventData.length >= 101 && kwds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.AddCss('//tn-widget.seatics.com/widget2Css/results-style-1.css');
TN_Widget.AddCss('//s3.amazonaws.com/ticketnetwork/fonts/TTNorms/TTNorms.css');
TN_Widget.CreateTable([['The American Ride - Toby Keith Tribute','Cross Insurance Center','Bangor, ME','Saturday','11/9/2024','7:30 PM','6705510','The-American-Ride---Toby-Keith-Tribute-11-9-2024'],['The American Ride - Toby Keith Tribute','Riviera Theatre - NY','North Tonawanda, NY','Monday','11/11/2024','7:30 PM','6694898','The-American-Ride---Toby-Keith-Tribute-11-11-2024'],['Beer For My Horses - Toby Keith Tribute','House Of Blues - Myrtle Beach','North Myrtle Beach, SC','Sunday','12/15/2024','7:00 PM','6655019','Beer-For-My-Horses---Toby-Keith-Tribute-12-15-2024'],['Toby - A Tribute to Toby Keith','Bing Crosby Theater','Spokane, WA','Saturday','1/11/2025','8:00 PM','6774643','Toby---A-Tribute-to-Toby-Keith-1-11-2025']],'Toby Keith','http://www.ticketnetwork.com/en/search/?text=Toby%20Keith');