//
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-04A
TN_Widget.CreateTable([['Warren Zeiders','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Friday','5/16/2025','8:00 PM','6623532','Warren-Zeiders-5-16-2025'],['Teddy Swims','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Wednesday','5/21/2025','8:00 PM','6738258','Teddy-Swims-5-21-2025'],['Peach Pit & Briston Maroney','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Sunday','5/25/2025','7:00 PM','6837225','Peach-Pit---Briston-Maroney-5-25-2025'],['Riley Green & Vincent Mason','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Saturday','5/31/2025','7:00 PM','6728324','Riley-Green---Vincent-Mason-5-31-2025'],['Pierce The Veil, Sleeping with Sirens & Beach Weather','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Sunday','6/1/2025','7:00 PM','6861043','Pierce-The-Veil--Sleeping-with-Sirens---Beach-Weather-6-1-2025'],['The Driver Era','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Monday','6/2/2025','8:00 PM','6736359','The-Driver-Era-6-2-2025'],['Mt. Joy','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Friday','6/6/2025','8:30 PM','6859371','Mt--Joy-6-6-2025'],['Bailey Zimmerman, Dylan Marlowe & Drew Baldridge','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Saturday','6/7/2025','7:30 PM','6914845','Bailey-Zimmerman--Dylan-Marlowe---Drew-Baldridge-6-7-2025'],['Russell Dickerson','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Saturday','6/14/2025','7:00 PM','6927676','Russell-Dickerson-6-14-2025'],['Slightly Stoopid, Iration & Little Stranger','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Sunday','8/3/2025','6:00 PM','6972047','Slightly-Stoopid--Iration---Little-Stranger-8-3-2025'],['Goo Goo Dolls & Dashboard Confessional','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Saturday','8/16/2025','7:30 PM','6827524','Goo-Goo-Dolls---Dashboard-Confessional-8-16-2025'],['Coheed and Cambria & Taking Back Sunday','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Friday','8/22/2025','7:00 PM','6930672','Coheed-and-Cambria---Taking-Back-Sunday-8-22-2025'],['Melissa Etheridge & Indigo Girls','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Tuesday','8/26/2025','7:30 PM','6869778','Melissa-Etheridge---Indigo-Girls-8-26-2025'],['Alison Krauss and Union Station, Jerry Douglas & Willie Watson','Michigan Lottery Amphitheatre at Freedom Hill','Sterling Heights, MI','Saturday','9/6/2025','7:30 PM','6861516','Alison-Krauss-and-Union-Station--Jerry-Douglas---Willie-Watson-9-6-2025']],'Freedom Hill Amphitheatre','https://www.ticketnetwork.com/ticket/Freedom-Hill-Amphitheatre-events.aspx');