//
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([['The Wailers','3rd & Lindsley','Nashville, TN','Wednesday','9/11/2024','7:30 PM','6541335','The-Wailers-9-11-2024'],['The Wailers','Harvester Performance Center','Rocky Mount, VA','Thursday','9/12/2024','8:00 PM','6557283','The-Wailers-9-12-2024'],['Borderland Festival: The Black Crowes, CAAMP & Marcus King - 3 Day Pass','Knox Farm State Park','East Aurora, NY','Friday','9/13/2024','TBD','6556267','Borderland-Festival--The-Black-Crowes--CAAMP---Marcus-King---3-Day-Pass-9-13-2024'],['The Wailers','Scottish Rite Auditorium - Collingswood','Collingswood, NJ','Friday','9/13/2024','8:00 PM','6539688','The-Wailers-9-13-2024'],['Borderland Festival: Marcus King, Dark Star Orchestra, The Wailers & Sumbuck - Sunday','Knox Farm State Park','East Aurora, NY','Sunday','9/15/2024','12:00 PM','6556272','Borderland-Festival--Marcus-King--Dark-Star-Orchestra--The-Wailers---Sumbuck---Sunday-9-15-2024'],['The Wailers','City Winery - Boston','Boston, MA','Tuesday','9/17/2024','7:30 PM','6615574','The-Wailers-9-17-2024'],['The Wailers','Arcada Theatre','Saint Charles, IL','Sunday','9/22/2024','5:00 PM','6511184','The-Wailers-9-22-2024'],['The Original Wailers','Tipitinas','New Orleans, LA','Saturday','10/12/2024','8:30 PM','6689661','The-Original-Wailers-10-12-2024'],['Junior Marvin & The Legendary Wailers','Wellmont Theatre','Montclair, NJ','Thursday','10/17/2024','8:00 PM','6459001','Junior-Marvin---The-Legendary-Wailers-10-17-2024'],['The Legendary Wailers','Penns Peak','Jim Thorpe, PA','Friday','10/18/2024','8:00 PM','6436691','The-Legendary-Wailers-10-18-2024'],['Junior Marvin & The Legendary Wailers','Paramount Theatre - Huntington','Huntington, NY','Sunday','10/20/2024','7:00 PM','6458964','Junior-Marvin---The-Legendary-Wailers-10-20-2024'],['The Legendary Wailers','Daryl's House','Pawling, NY','Friday','11/1/2024','8:00 PM','6636657','The-Legendary-Wailers-11-1-2024'],['The Wailers','O2 Academy Leeds','Leeds, United Kingdom','Tuesday','11/19/2024','7:00 PM','6280702','The-Wailers-11-19-2024'],['The Wailers','O2 Academy Oxford','Oxford, United Kingdom','Saturday','11/23/2024','6:30 PM','6280703','The-Wailers-11-23-2024'],['The Wailers','O2 Academy Bournemouth','Bournemouth, United Kingdom','Sunday','11/24/2024','7:00 PM','6280704','The-Wailers-11-24-2024'],['The Wailers','O2 Academy Bristol','Bristol, United Kingdom','Monday','11/25/2024','7:00 PM','6280705','The-Wailers-11-25-2024'],['The Wailers','Culture Room','Fort Lauderdale, FL','Friday','1/10/2025','7:30 PM','6637662','The-Wailers-1-10-2025'],['The Wailers','The District','Sioux Falls, SD','Monday','9/15/2070','8:00 PM','4470783','The-Wailers-9-15-2070'],['The Wailers','Infinity Hall - Norfolk','Norfolk, CT','Wednesday','10/1/2070','8:00 PM','4428549','The-Wailers-10-1-2070'],['The Wailers','Newberry Opera House','Newberry, SC','Tuesday','5/19/2071','8:00 PM','4555603','The-Wailers-5-19-2071']],'The Wailers','http://www.ticketnetwork.com/ticket/The-Wailers-events.aspx');