//
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([['IMomSoHard','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Saturday','3/1/2025','7:30 PM','6818560','IMomSoHard-3-1-2025'],['An Enchanting Evening','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Saturday','3/8/2025','7:30 PM','6700878','An-Enchanting-Evening-3-8-2025'],['Timbalooloo Live','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Sunday','3/9/2025','4:00 PM','6700879','Timbalooloo-Live-3-9-2025'],['Dear Evan Hansen','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Tuesday','3/18/2025','7:30 PM','6700880','Dear-Evan-Hansen-3-18-2025'],['Dear Evan Hansen','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Wednesday','3/19/2025','7:30 PM','6700881','Dear-Evan-Hansen-3-19-2025'],['Dear Evan Hansen','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Thursday','3/20/2025','7:30 PM','6700882','Dear-Evan-Hansen-3-20-2025'],['One Night of Queen','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Thursday','4/3/2025','7:30 PM','6947136','One-Night-of-Queen-4-3-2025'],['Rhapsody In Blue','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Saturday','4/5/2025','7:30 PM','6700884','Rhapsody-In-Blue-4-5-2025'],['Men of Music Spring Show','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Friday','4/11/2025','7:00 PM','6799490','Men-of-Music-Spring-Show-4-11-2025'],['Men of Music Spring Show','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Saturday','4/12/2025','2:00 PM','6700886','Men-of-Music-Spring-Show-4-12-2025'],['Men of Music Spring Show','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Saturday','4/12/2025','7:00 PM','6700887','Men-of-Music-Spring-Show-4-12-2025'],['Dragons and Mythical Beasts','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Saturday','4/19/2025','6:30 PM','6700893','Dragons-and-Mythical-Beasts-4-19-2025'],['Step Afrika','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Friday','4/25/2025','7:30 PM','6700895','Step-Afrika-4-25-2025'],['iLuminate','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Wednesday','4/30/2025','6:30 PM','6700896','iLuminate-4-30-2025'],['Rain - A Tribute to The Beatles','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Thursday','5/8/2025','7:30 PM','6947138','Rain---A-Tribute-to-The-Beatles-5-8-2025'],['Stomp','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Saturday','5/10/2025','7:30 PM','6700899','Stomp-5-10-2025'],['Stomp','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Sunday','5/11/2025','2:00 PM','6700900','Stomp-5-11-2025'],['Ain't Too Proud: The Life and Times of The Temptations','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Tuesday','5/20/2025','7:30 PM','6700901','Ain-t-Too-Proud--The-Life-and-Times-of-The-Temptations-5-20-2025'],['Ain't Too Proud: The Life and Times of The Temptations','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Wednesday','5/21/2025','7:30 PM','6700902','Ain-t-Too-Proud--The-Life-and-Times-of-The-Temptations-5-21-2025'],['Ain't Too Proud: The Life and Times of The Temptations','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Thursday','5/22/2025','7:30 PM','6700903','Ain-t-Too-Proud--The-Life-and-Times-of-The-Temptations-5-22-2025'],['TINA - The Tina Turner Musical','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Friday','6/20/2025','7:30 PM','6833126','TINA---The-Tina-Turner-Musical-6-20-2025'],['TINA - The Tina Turner Musical','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Saturday','6/21/2025','2:00 PM','6833128','TINA---The-Tina-Turner-Musical-6-21-2025'],['TINA - The Tina Turner Musical','Auditorium Theatre At Midland Center For The Arts','Midland, MI','Saturday','6/21/2025','7:30 PM','6833127','TINA---The-Tina-Turner-Musical-6-21-2025']],'Midland Center For The Arts','https://www.ticketnetwork.com/ticket/Midland-Center-For-The-Arts-events.aspx');