//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "Tickets",
tixUrl : "https://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[3] +" "+"" +
row[4] + " "+"" +
row[5] + " | "+"" +
row[0] +" | " +
row[1] +" " +
row[2] +" | "+""+ 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-03A
TN_Widget.CreateTable([['Yellowcard','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Wednesday','5/13/2026','7:00 PM','7609781','Yellowcard-5-13-2026'],['Khalid & Lauv','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Thursday','5/21/2026','7:30 PM','7614805','Khalid---Lauv-5-21-2026'],['The Kid Laroi','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Saturday','5/23/2026','7:30 PM','7741519','The-Kid-Laroi-5-23-2026'],['Triumph','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Saturday','5/30/2026','8:00 PM','7615602','Triumph-5-30-2026'],['Parker McCollum','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Friday','6/5/2026','7:30 PM','7561668','Parker-McCollum-6-5-2026'],['Mt. Joy','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Tuesday','6/9/2026','8:00 PM','7596666','Mt--Joy-6-9-2026'],['Jimmy Eat World, Sunny Day Real Estate & The Get Up Kids','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Friday','6/12/2026','7:00 PM','7731286','Jimmy-Eat-World--Sunny-Day-Real-Estate---The-Get-Up-Kids-6-12-2026'],['Turnpike Troubadours','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Saturday','6/13/2026','7:00 PM','7828545','Turnpike-Troubadours-6-13-2026'],['Young The Giant, Cold War Kids & Almost Monday','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Thursday','6/25/2026','6:30 PM','7741914','Young-The-Giant--Cold-War-Kids---Almost-Monday-6-25-2026'],['Freedom Fest: Brett Young','Catholic Health Amphitheater At Bald Hill','Farmingville, NY','Friday','7/3/2026','6:00 PM','7868689','Freedom-Fest--Brett-Young-7-3-2026'],['Ted Nugent','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Friday','7/10/2026','7:30 PM','7841222','Ted-Nugent-7-10-2026'],['Sarah McLachlan & Allison Russell','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Wednesday','7/15/2026','7:30 PM','7735160','Sarah-McLachlan---Allison-Russell-7-15-2026'],['Motionless In White','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Saturday','8/15/2026','6:30 PM','7718017','Motionless-In-White-8-15-2026'],['Lindsey Stirling','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Wednesday','8/19/2026','8:00 PM','7703877','Lindsey-Stirling-8-19-2026'],['Empire of the Sun','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Thursday','8/20/2026','7:30 PM','7797613','Empire-of-the-Sun-8-20-2026'],['Billy Currington & Kip Moore','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Saturday','8/22/2026','7:00 PM','7741952','Billy-Currington---Kip-Moore-8-22-2026'],['The Fray & Dashboard Confessional','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Friday','8/28/2026','7:00 PM','7703332','The-Fray---Dashboard-Confessional-8-28-2026'],['The Rock Orchestra','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Saturday','8/29/2026','8:00 PM','7745400','The-Rock-Orchestra-8-29-2026'],['O.A.R., Gavin DeGraw & KT Tunstall','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Saturday','9/5/2026','6:30 PM','7530030','O-A-R---Gavin-DeGraw---KT-Tunstall-9-5-2026'],['Dermot Kennedy','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Saturday','9/12/2026','8:00 PM','7833403','Dermot-Kennedy-9-12-2026'],['Bleachers','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Tuesday','9/29/2026','7:30 PM','7803241','Bleachers-9-29-2026'],['Foster The People','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Friday','10/2/2026','8:00 PM','7919590','Foster-The-People-10-2-2026']],'Freedom Hill Amphitheatre','https://www.ticketnetwork.com/ticket/Freedom-Hill-Amphitheatre-events.aspx');