//
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([['Michael Franti & Spearhead','Asheville Yards Amphitheater','Asheville, NC','Thursday','5/8/2025','7:00 PM','6959866','Michael-Franti---Spearhead-5-8-2025'],['Michael Franti & Spearhead','Live Oak Bank Pavilion At Riverfront Park','Wilmington, NC','Friday','5/9/2025','8:00 PM','6959867','Michael-Franti---Spearhead-5-9-2025'],['Michael Franti & Spearhead','The Amp Ballantyne','Charlotte, NC','Saturday','5/10/2025','7:00 PM','6961696','Michael-Franti---Spearhead-5-10-2025'],['Michael Franti & Spearhead','Firefly Distillery','North Charleston, SC','Sunday','5/11/2025','7:00 PM','6959868','Michael-Franti---Spearhead-5-11-2025'],['Michael Franti & Spearhead','The Eastern - GA','Atlanta, GA','Tuesday','5/13/2025','8:00 PM','6963688','Michael-Franti---Spearhead-5-13-2025'],['Michael Franti & Spearhead','St. Augustine Amphitheatre','St. Augustine, FL','Thursday','5/15/2025','6:30 PM','6959208','Michael-Franti---Spearhead-5-15-2025'],['Michael Franti & Spearhead','The BayCare Sound','Clearwater, FL','Friday','5/16/2025','7:00 PM','6959209','Michael-Franti---Spearhead-5-16-2025'],['Michael Franti & Spearhead','ACL Live At The Moody Theater','Austin, TX','Thursday','5/22/2025','8:00 PM','6965393','Michael-Franti---Spearhead-5-22-2025'],['Michael Franti & Spearhead','Longhorn Ballroom','Dallas, TX','Friday','5/23/2025','8:00 PM','6962056','Michael-Franti---Spearhead-5-23-2025'],['Michael Franti & Spearhead','Gerald R. Ford Amphitheater','Vail, CO','Thursday','5/29/2025','7:30 PM','6837074','Michael-Franti---Spearhead-5-29-2025'],['Michael Franti & Spearhead','Red Rocks Amphitheatre','Morrison, CO','Friday','5/30/2025','7:00 PM','6838621','Michael-Franti---Spearhead-5-30-2025'],['Mountain Jam: Khruangbin & Mt. Joy - 3 Day Pass','Belleayre Mountain','Highmount, NY','Friday','6/20/2025','TBD','6792701','Mountain-Jam--Khruangbin---Mt--Joy---3-Day-Pass-6-20-2025'],['Michael Franti & Spearhead','Hensville Park','Toledo, OH','Thursday','8/14/2070','TBD','4387283','Michael-Franti---Spearhead-8-14-2070']],'Michael Franti','http://www.ticketnetwork.com/ticket/Michael-Franti-events.aspx');