//
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-03A
TN_Widget.CreateTable([['Chicago Transit','The Theater at North ','Scranton, PA','Friday','9/13/2024','7:00 PM','6390311','Chicago-Transit-9-13-2024'],['Brass Transit - Chicago Tribute','Riviera Theatre - NY','North Tonawanda, NY','Friday','9/13/2024','7:30 PM','6299790','Brass-Transit---Chicago-Tribute-9-13-2024'],['Brass Transit - Chicago Tribute','Riviera Theatre - NY','North Tonawanda, NY','Saturday','9/14/2024','7:30 PM','6299791','Brass-Transit---Chicago-Tribute-9-14-2024'],['Brass Transit - Chicago Tribute','Blue Gate Performing Arts Center','Shipshewana, IN','Thursday','10/3/2024','8:00 PM','6322112','Brass-Transit---Chicago-Tribute-10-3-2024'],['Brass Transit','The Showroom at Turning Stone Resort & Casino','Verona, NY','Friday','10/11/2024','8:00 PM','6682044','Brass-Transit-10-11-2024'],['Brass Transit - Chicago Tribute','Artis-Naples','Naples, FL','Thursday','10/17/2024','7:30 PM','6610282','Brass-Transit---Chicago-Tribute-10-17-2024'],['Chi-Town Transit Authority - Tribute to Chicago','Newberry Opera House','Newberry, SC','Friday','10/25/2024','8:00 PM','6580548','Chi-Town-Transit-Authority---Tribute-to-Chicago-10-25-2024'],['Chicago Transit','FLATO Academy Theatre','Lindsay, Canada','Saturday','10/26/2024','7:30 PM','6429729','Chicago-Transit-10-26-2024'],['San Antonio Transit - A Tribute to Chicago','Sam's Burger Joint','San Antonio, TX','Saturday','10/26/2024','8:30 PM','6687117','San-Antonio-Transit---A-Tribute-to-Chicago-10-26-2024'],['Orlando Transit Authority - A Chicago Tribute','Odell Williamson Auditorium - Brunswick Community College','Bolivia, NC','Friday','11/8/2024','7:00 PM','6369657','Orlando-Transit-Authority---A-Chicago-Tribute-11-8-2024'],['Chicago Transit','Hart Theatre At The Egg','Albany, NY','Friday','11/15/2024','7:30 PM','6387332','Chicago-Transit-11-15-2024'],['Brass Transit','Brauntex Performing Arts Theatre','New Braunfels, TX','Thursday','11/21/2024','7:30 PM','6474850','Brass-Transit-11-21-2024'],['North Carolina Symphony: Brass Transit - Chicago Tribute','Meymandi Concert Hall At Martin Marietta Center for the Performing Arts','Raleigh, NC','Friday','5/2/2025','12:00 PM','6632676','North-Carolina-Symphony--Brass-Transit---Chicago-Tribute-5-2-2025'],['North Carolina Symphony: Brass Transit - Chicago Tribute','Meymandi Concert Hall At Martin Marietta Center for the Performing Arts','Raleigh, NC','Friday','5/2/2025','8:00 PM','6632677','North-Carolina-Symphony--Brass-Transit---Chicago-Tribute-5-2-2025'],['North Carolina Symphony: Brass Transit - Chicago Tribute','Meymandi Concert Hall At Martin Marietta Center for the Performing Arts','Raleigh, NC','Saturday','5/3/2025','8:00 PM','6632678','North-Carolina-Symphony--Brass-Transit---Chicago-Tribute-5-3-2025'],['Brass Transit','Miller Symphony Hall','Allentown, PA','Saturday','7/12/2025','7:30 PM','6607080','Brass-Transit-7-12-2025'],['Chicago Transit','Jergel's Rhythm Grille','Warrendale, PA','Friday','12/5/2025','8:00 PM','6554105','Chicago-Transit-12-5-2025'],['Chi-Town Transit Authority - Tribute to Chicago','Madlife Stage & Studios','Woodstock, GA','Friday','5/30/2070','TBD','4400541','Chi-Town-Transit-Authority---Tribute-to-Chicago-5-30-2070']],'Transit','http://www.ticketnetwork.com/ticket/Transit-events.aspx');