//
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-01A
TN_Widget.CreateTable([['Bret Michaels','Sound Board at MotorCity Casino Hotel','Detroit, MI','Thursday','2/27/2025','8:00 PM','6711307','Bret-Michaels-2-27-2025'],['Classic Seger','Sound Board at MotorCity Casino Hotel','Detroit, MI','Sunday','3/2/2025','7:30 PM','6698829','Classic-Seger-3-2-2025'],['The Whispers','Sound Board at MotorCity Casino Hotel','Detroit, MI','Thursday','3/6/2025','8:00 PM','6760790','The-Whispers-3-6-2025'],['MotorCity Cage Night','Sound Board at MotorCity Casino Hotel','Detroit, MI','Saturday','3/15/2025','7:00 PM','6923819','MotorCity-Cage-Night-3-15-2025'],['Leela James','Sound Board at MotorCity Casino Hotel','Detroit, MI','Thursday','3/20/2025','8:00 PM','6825093','Leela-James-3-20-2025'],['Rickey Smiley','Sound Board at MotorCity Casino Hotel','Detroit, MI','Saturday','3/22/2025','8:00 PM','6698117','Rickey-Smiley-3-22-2025'],['Dwele','Sound Board at MotorCity Casino Hotel','Detroit, MI','Sunday','3/23/2025','7:30 PM','6698307','Dwele-3-23-2025'],['Todd Rundgren & Rob Shirakbari: What The World Needs Now - The Burt Bacharach Songbook In Concert','Sound Board at MotorCity Casino Hotel','Detroit, MI','Wednesday','4/2/2025','8:00 PM','6933302','Todd-Rundgren---Rob-Shirakbari--What-The-World-Needs-Now---The-Burt-Bacharach-Songbook-In-Concert-4-2-2025'],['Lyfe Jennings','Sound Board at MotorCity Casino Hotel','Detroit, MI','Thursday','4/3/2025','8:00 PM','6837995','Lyfe-Jennings-4-3-2025'],['Luenell','Sound Board at MotorCity Casino Hotel','Detroit, MI','Friday','4/11/2025','8:00 PM','6725709','Luenell-4-11-2025'],['The Dramatics & LJ Reynolds','Sound Board at MotorCity Casino Hotel','Detroit, MI','Saturday','4/12/2025','8:00 PM','6840366','The-Dramatics---LJ-Reynolds-4-12-2025'],['Bone Thugs N Harmony','Sound Board at MotorCity Casino Hotel','Detroit, MI','Thursday','5/1/2025','8:00 PM','7011105','Bone-Thugs-N-Harmony-5-1-2025'],['Dru Hill','Sound Board at MotorCity Casino Hotel','Detroit, MI','Thursday','5/15/2025','8:00 PM','6876590','Dru-Hill-5-15-2025'],['Jeffrey Osborne','Sound Board at MotorCity Casino Hotel','Detroit, MI','Friday','5/16/2025','8:00 PM','6836575','Jeffrey-Osborne-5-16-2025'],['Night of Knockouts XXXIV','Sound Board at MotorCity Casino Hotel','Detroit, MI','Saturday','5/17/2025','7:00 PM','7003991','Night-of-Knockouts-XXXIV-5-17-2025'],['Jon B.','Sound Board at MotorCity Casino Hotel','Detroit, MI','Thursday','5/22/2025','8:00 PM','6835507','Jon-B--5-22-2025'],['Gavin DeGraw','Sound Board at MotorCity Casino Hotel','Detroit, MI','Saturday','6/14/2025','8:00 PM','7007030','Gavin-DeGraw-6-14-2025'],['Eddie Griffin','Sound Board at MotorCity Casino Hotel','Detroit, MI','Friday','10/3/2025','8:00 PM','6874463','Eddie-Griffin-10-3-2025']],'Sound Board at Motor City Casino','https://www.ticketnetwork.com/ticket/Sound-Board-at-Motor-City-Casino-events.aspx');