//
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([['2025 Dance Concert','Power Center For The Performing Arts - University Of Michigan','Ann Arbor, MI','Thursday','2/6/2025','7:30 PM','6677892','2025-Dance-Concert-2-6-2025'],['2025 Dance Concert','Power Center For The Performing Arts - University Of Michigan','Ann Arbor, MI','Friday','2/7/2025','8:00 PM','6677893','2025-Dance-Concert-2-7-2025'],['2025 Dance Concert','Power Center For The Performing Arts - University Of Michigan','Ann Arbor, MI','Saturday','2/8/2025','8:00 PM','6677894','2025-Dance-Concert-2-8-2025'],['2025 Dance Concert','Power Center For The Performing Arts - University Of Michigan','Ann Arbor, MI','Sunday','2/9/2025','2:00 PM','6677895','2025-Dance-Concert-2-9-2025'],['A Few Good Men','Power Center For The Performing Arts - University Of Michigan','Ann Arbor, MI','Thursday','2/20/2025','7:30 PM','6677888','A-Few-Good-Men-2-20-2025'],['A Few Good Men','Power Center For The Performing Arts - University Of Michigan','Ann Arbor, MI','Friday','2/21/2025','8:00 PM','6677889','A-Few-Good-Men-2-21-2025'],['A Few Good Men','Power Center For The Performing Arts - University Of Michigan','Ann Arbor, MI','Saturday','2/22/2025','8:00 PM','6677890','A-Few-Good-Men-2-22-2025'],['Orlando Salsa Festival: Willie Colon, El Gran Combo & Tito Nieves','Kia Center','Orlando, FL','Saturday','2/22/2025','8:00 PM','6515325','Orlando-Salsa-Festival--Willie-Colon--El-Gran-Combo---Tito-Nieves-2-22-2025'],['A Few Good Men','Power Center For The Performing Arts - University Of Michigan','Ann Arbor, MI','Sunday','2/23/2025','2:00 PM','6677891','A-Few-Good-Men-2-23-2025'],['Cat Power','The Magnolia Performing Arts Center','El Cajon, CA','Thursday','2/27/2025','8:00 PM','6918997','Cat-Power-2-27-2025'],['Tower of Power','Berklee Performance Center - Boston','Boston, MA','Tuesday','3/25/2025','8:00 PM','6940668','Tower-of-Power-3-25-2025'],['Titanic - The Musical','Power Center For The Performing Arts - University Of Michigan','Ann Arbor, MI','Thursday','4/17/2025','7:30 PM','6677884','Titanic---The-Musical-4-17-2025'],['Titanic - The Musical','Power Center For The Performing Arts - University Of Michigan','Ann Arbor, MI','Friday','4/18/2025','8:00 PM','6677885','Titanic---The-Musical-4-18-2025'],['Titanic - The Musical','Power Center For The Performing Arts - University Of Michigan','Ann Arbor, MI','Saturday','4/19/2025','8:00 PM','6677886','Titanic---The-Musical-4-19-2025'],['Titanic - The Musical','Power Center For The Performing Arts - University Of Michigan','Ann Arbor, MI','Sunday','4/20/2025','2:00 PM','6677887','Titanic---The-Musical-4-20-2025'],['80s Arena Rock - Power Ballads & Rock Anthems','Williamsport Community Arts Center','Williamsport, PA','Friday','4/25/2025','7:30 PM','6732723','80s-Arena-Rock---Power-Ballads---Rock-Anthems-4-25-2025'],['80s Arena Rock - Power Ballads & Rock Anthems','Williamsport Community Arts Center','Williamsport, PA','Saturday','4/26/2025','7:30 PM','6732724','80s-Arena-Rock---Power-Ballads---Rock-Anthems-4-26-2025']],'Power Center','https://www.ticketnetwork.com/ticket/Power-Center-events.aspx');