//
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 t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
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 newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-03A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Cody Jinks & The Tonedeaf Hippies','Hard Rock Live At The Seminole Hard Rock Hotel & Casino - Hollywood','Hollywood, FL','Wednesday','2/3/2027','8:00 PM','8363060','Cody-Jinks---The-Tonedeaf-Hippies-2-3-2027'],['Cody Jinks','Riverfront Park - Cocoa Village','Cocoa, FL','Friday','2/5/2027','6:00 PM','8363632','Cody-Jinks-2-5-2027'],['Cody Jinks','Apopka Amphitheater','Apopka, FL','Saturday','2/6/2027','6:00 PM','8363633','Cody-Jinks-2-6-2027'],['Cody Jinks & The Tonedeaf Hippies','Macon City Auditorium','Macon, GA','Sunday','2/7/2027','8:00 PM','8363061','Cody-Jinks---The-Tonedeaf-Hippies-2-7-2027'],['Cody Jinks','Billy Bobs','Fort Worth, TX','Thursday','4/1/2027','9:00 PM','8363545','Cody-Jinks-4-1-2027'],['Cody Jinks','Billy Bobs','Fort Worth, TX','Friday','4/2/2027','10:00 PM','8363308','Cody-Jinks-4-2-2027'],['Cody Jinks & The Tonedeaf Hippies','BleauLive Theater At Fontainebleau Las Vegas','Las Vegas, NV','Sunday','4/25/2027','8:00 PM','8363062','Cody-Jinks---The-Tonedeaf-Hippies-4-25-2027'],['Cody Jinks & The Tonedeaf Hippies','The Fruit Yard Amphitheater','Modesto, CA','Friday','6/11/2027','7:00 PM','8363063','Cody-Jinks---The-Tonedeaf-Hippies-6-11-2027'],['Cody Jinks & The Tonedeaf Hippies','Lake Tahoe Amphitheatre at Caesars Republic','Stateline, NV','Saturday','6/12/2027','7:00 PM','8363064','Cody-Jinks---The-Tonedeaf-Hippies-6-12-2027'],['Cody Jinks & The Tonedeaf Hippies','Bi-Mart Amphitheater','Central Point, OR','Tuesday','6/15/2027','7:00 PM','8363065','Cody-Jinks---The-Tonedeaf-Hippies-6-15-2027']],'Cody Jinks','https://www.ticketnetwork.com');