//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://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[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ 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-02A
TN_Widget.CreateTable([['Cheap Trick','Sound Board at MotorCity Casino Hotel','Detroit, MI','Sunday','11/22/2026','7:30 PM','8156160','Cheap-Trick-11-22-2026'],['Night of Knockouts XLIV','Sound Board at MotorCity Casino Hotel','Detroit, MI','Saturday','11/28/2026','7:00 PM','8276261','Night-of-Knockouts-XLIV-11-28-2026'],['Eric Benet','Sound Board at MotorCity Casino Hotel','Detroit, MI','Wednesday','12/9/2026','8:00 PM','8256246','Eric-Benet-12-9-2026'],['Lalah Hathaway','Sound Board at MotorCity Casino Hotel','Detroit, MI','Thursday','12/10/2026','8:00 PM','8271092','Lalah-Hathaway-12-10-2026'],['Rick Springfield','Sound Board at MotorCity Casino Hotel','Detroit, MI','Friday','12/11/2026','8:00 PM','8178022','Rick-Springfield-12-11-2026'],['MotorCity Cage Night XXVII','Sound Board at MotorCity Casino Hotel','Detroit, MI','Wednesday','12/30/2026','7:00 PM','8326951','MotorCity-Cage-Night-XXVII-12-30-2026'],['Chante Moore','Sound Board at MotorCity Casino Hotel','Detroit, MI','Wednesday','1/6/2027','8:00 PM','8220676','Chante-Moore-1-6-2027'],['Johnny Gill','Sound Board at MotorCity Casino Hotel','Detroit, MI','Thursday','1/14/2027','8:00 PM','8284807','Johnny-Gill-1-14-2027'],['Thunder From Down Under','Sound Board at MotorCity Casino Hotel','Detroit, MI','Friday','1/22/2027','8:00 PM','8318012','Thunder-From-Down-Under-1-22-2027'],['Umphrey's McGee','Sound Board at MotorCity Casino Hotel','Detroit, MI','Wednesday','2/3/2027','8:00 PM','8320174','Umphrey-s-McGee-2-3-2027'],['The Pop 2000s Tour: Chris Kirkpatrick, O-Town, Ryan Cabrera & LFO','Sound Board at MotorCity Casino Hotel','Detroit, MI','Thursday','2/11/2027','8:00 PM','8335096','The-Pop-2000s-Tour--Chris-Kirkpatrick--O-Town--Ryan-Cabrera---LFO-2-11-2027'],['Spin Doctors','Sound Board at MotorCity Casino Hotel','Detroit, MI','Friday','2/19/2027','8:00 PM','8264109','Spin-Doctors-2-19-2027'],['$hort Stories by Too $hort & The Legendary Soul Rebels Brass Band','Sound Board at MotorCity Casino Hotel','Detroit, MI','Sunday','2/21/2027','7:30 PM','8273992','-hort-Stories-by-Too--hort---The-Legendary-Soul-Rebels-Brass-Band-2-21-2027'],['Tyler Henry','Sound Board at MotorCity Casino Hotel','Detroit, MI','Thursday','2/25/2027','8:00 PM','8343829','Tyler-Henry-2-25-2027'],['Bow Wow','Sound Board at MotorCity Casino Hotel','Detroit, MI','Sunday','2/28/2027','7:30 PM','8359337','Bow-Wow-2-28-2027'],['The History of R&B: Dru Hill','Sound Board at MotorCity Casino Hotel','Detroit, MI','Sunday','3/21/2027','7:30 PM','8363119','The-History-of-R-B--Dru-Hill-3-21-2027'],['Expose','Sound Board at MotorCity Casino Hotel','Detroit, MI','Saturday','4/10/2027','8:00 PM','8081202','Expose-4-10-2027'],['Brian Culbertson','Sound Board at MotorCity Casino Hotel','Detroit, MI','Thursday','4/29/2027','8:00 PM','8329422','Brian-Culbertson-4-29-2027']],'Sound Board at Motor City Casino','http://www.ticketnetwork.com/ticket/Sound-Board-at-Motor-City-Casino-events.aspx');