//
var TN_Widget = function() {
return {
CreateEventRow : function(row, isAlt) {
return "
" +
row[3] + " " +
row[4] + " " +
row[5] + " | " +
row[0] + " | " +
row[1] + " " +
row[2] + " | Tickets |
";
},
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,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
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 && kwds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['Brenn!','Mercury Lounge - NY','New York, NY','Monday','4/29/2024','6:00 PM','6267001','Brenn--4-29-2024'],['The Life and Slimes of Marc Summers','New World Stages: Stage 5','New York, NY','Monday','4/29/2024','7:00 PM','6181540','The-Life-and-Slimes-of-Marc-Summers-4-29-2024'],['Six The Musical','Lena Horne Theatre','New York, NY','Monday','4/29/2024','7:00 PM','6090511','Six-The-Musical-4-29-2024'],['The Play That Goes Wrong ','New World Stages: Stage 4','New York, NY','Monday','4/29/2024','7:00 PM','6214198','The-Play-That-Goes-Wrong--4-29-2024'],['Stephen Day','Gramercy Theatre','New York, NY','Monday','4/29/2024','7:00 PM','6269481','Stephen-Day-4-29-2024'],['Blue Man Group','Astor Place Theatre','New York, NY','Monday','4/29/2024','7:00 PM','5945307','Blue-Man-Group-4-29-2024'],['Chicago - The Musical','Ambassador Theatre - NY','New York, NY','Monday','4/29/2024','7:00 PM','5939737','Chicago---The-Musical-4-29-2024'],['The New York Pops 41st Birthday Gala: The Soundtrack To Our Lives - A Tribute to the Legendary Clive Davis','Carnegie Hall - Isaac Stern Auditorium','New York, NY','Monday','4/29/2024','7:00 PM','6217080','The-New-York-Pops-41st-Birthday-Gala--The-Soundtrack-To-Our-Lives---A-Tribute-to-the-Legendary-Clive-Davis-4-29-2024'],['Wisp','Bowery Ballroom','New York, NY','Monday','4/29/2024','7:00 PM','6316405','Wisp-4-29-2024'],['The Great Gatsby - A New Musical','Broadway Theatre - New York','New York, NY','Monday','4/29/2024','7:00 PM','6229697','The-Great-Gatsby---A-New-Musical-4-29-2024']],'New York, NY','http://www.ticketnetwork.com/local/usa/NY/New-York-tickets.aspx');