//
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-01B
TN_Widget.CreateTable([['Patriots','Barrymore Theatre - NY','New York, NY','Tuesday','5/21/2024','7:00 PM','6230159','Patriots-5-21-2024'],['Moulin Rouge - The Musical','Al Hirschfeld Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','5996644','Moulin-Rouge---The-Musical-5-21-2024'],['Stand Up Comedy In New York City','Broadway Comedy Club','New York, NY','Tuesday','5/21/2024','7:00 PM','6311134','Stand-Up-Comedy-In-New-York-City-5-21-2024'],['Mary Jane','Samuel J. Friedman Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','6126475','Mary-Jane-5-21-2024'],['Harry Potter and The Cursed Child','Lyric Theatre - New York','New York, NY','Tuesday','5/21/2024','7:00 PM','5953314','Harry-Potter-and-The-Cursed-Child-5-21-2024'],['Stereophonic','John Golden Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','6230322','Stereophonic-5-21-2024'],['Back To The Future - Theatrical Production','Winter Garden Theatre - New York','New York, NY','Tuesday','5/21/2024','7:00 PM','5936914','Back-To-The-Future---Theatrical-Production-5-21-2024'],['The Who's Tommy','Nederlander Theatre - NY','New York, NY','Tuesday','5/21/2024','7:00 PM','6045797','The-Who-s-Tommy-5-21-2024'],['The Heart of Rock and Roll','James Earl Jones Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','6063100','The-Heart-of-Rock-and-Roll-5-21-2024'],['& Juliet','Stephen Sondheim Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','6039323','--Juliet-5-21-2024'],['The Lion King','Minskoff Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','6034703','The-Lion-King-5-21-2024'],['Aladdin','New Amsterdam Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','5963707','Aladdin-5-21-2024'],['The Great Gatsby - A New Musical','Broadway Theatre - New York','New York, NY','Tuesday','5/21/2024','7:00 PM','6229737','The-Great-Gatsby---A-New-Musical-5-21-2024'],['Chicago - The Musical','Ambassador Theatre - NY','New York, NY','Tuesday','5/21/2024','7:00 PM','5939773','Chicago---The-Musical-5-21-2024'],['Wicked','Gershwin Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','6062520','Wicked-5-21-2024'],['Illinoise','St. James Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','6332501','Illinoise-5-21-2024'],['Hadestown','Walter Kerr Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','5922821','Hadestown-5-21-2024'],['Hell's Kitchen - The Musical','Shubert Theatre - NY','New York, NY','Tuesday','5/21/2024','7:00 PM','6150002','Hell-s-Kitchen---The-Musical-5-21-2024'],['Suffs','Music Box Theatre - NY','New York, NY','Tuesday','5/21/2024','7:00 PM','6113187','Suffs-5-21-2024'],['Hamilton','Richard Rodgers Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','5931809','Hamilton-5-21-2024'],['The Wiz','Marquis Theatre - NY','New York, NY','Tuesday','5/21/2024','7:00 PM','6062920','The-Wiz-5-21-2024'],['MJ - The Musical','Neil Simon Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','5940262','MJ---The-Musical-5-21-2024'],['The Book Of Mormon','Eugene O'Neill Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','6128371','The-Book-Of-Mormon-5-21-2024'],['A Beautiful Noise - The Neil Diamond Musical','Broadhurst Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','5747188','A-Beautiful-Noise---The-Neil-Diamond-Musical-5-21-2024'],['The Notebook - The Musical','Gerald Schoenfeld Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','5937250','The-Notebook---The-Musical-5-21-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Tuesday','5/21/2024','7:00 PM','6089206','An-Enemy-of-the-People-5-21-2024'],['Golden Girls: The Laughs Continue','Broadway Playhouse at Water Tower Place','Chicago, IL','Tuesday','5/21/2024','7:00 PM','6253646','Golden-Girls--The-Laughs-Continue-5-21-2024'],['Shrek The Musical','EKU Center For The Arts','Richmond, KY','Tuesday','5/21/2024','7:30 PM','5777122','Shrek-The-Musical-5-21-2024'],['Home - A Play','Todd Haimes Theatre','New York, NY','Tuesday','5/21/2024','8:00 PM','6089755','Home---A-Play-5-21-2024'],['Stand Up Comedy In New York City','Broadway Comedy Club','New York, NY','Tuesday','5/21/2024','9:00 PM','6311135','Stand-Up-Comedy-In-New-York-City-5-21-2024'],['Stand Up Comedy In New York City','Broadway Comedy Club','New York, NY','Tuesday','5/21/2024','11:00 PM','6311136','Stand-Up-Comedy-In-New-York-City-5-21-2024'],['The Gazillion Bubble Show','New World Stages: Stage 2','New York, NY','Wednesday','5/22/2024','11:00 AM','6287360','The-Gazillion-Bubble-Show-5-22-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','5/22/2024','1:00 PM','6230170','Patriots-5-22-2024'],['MJ - The Musical','Neil Simon Theatre','New York, NY','Wednesday','5/22/2024','1:00 PM','5940266','MJ---The-Musical-5-22-2024'],['Aladdin','New Amsterdam Theatre','New York, NY','Wednesday','5/22/2024','1:00 PM','5963708','Aladdin-5-22-2024'],['Appropriate','Belasco Theatre - NY','New York, NY','Wednesday','5/22/2024','1:00 PM','6269404','Appropriate-5-22-2024'],['Merrily We Roll Along','Millennium Hudson Theatre','New York, NY','Wednesday','5/22/2024','1:00 PM','6143095','Merrily-We-Roll-Along-5-22-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','5/22/2024','1:00 PM','6230332','Stereophonic-5-22-2024'],['Golden Girls: The Laughs Continue','Broadway Playhouse at Water Tower Place','Chicago, IL','Wednesday','5/22/2024','1:00 PM','6253647','Golden-Girls--The-Laughs-Continue-5-22-2024'],['Mother Play','Helen Hayes Theatre','New York, NY','Wednesday','5/22/2024','2:00 PM','6053463','Mother-Play-5-22-2024'],['The Gazillion Bubble Show','New World Stages: Stage 2','New York, NY','Wednesday','5/22/2024','2:00 PM','6287365','The-Gazillion-Bubble-Show-5-22-2024'],['The Notebook - The Musical','Gerald Schoenfeld Theatre','New York, NY','Wednesday','5/22/2024','2:00 PM','5937328','The-Notebook---The-Musical-5-22-2024'],['A Beautiful Noise - The Neil Diamond Musical','Broadhurst Theatre','New York, NY','Wednesday','5/22/2024','2:00 PM','5747193','A-Beautiful-Noise---The-Neil-Diamond-Musical-5-22-2024'],['Suffs','Music Box Theatre - NY','New York, NY','Wednesday','5/22/2024','2:00 PM','6113281','Suffs-5-22-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Wednesday','5/22/2024','2:00 PM','6134121','Uncle-Vanya-5-22-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Wednesday','5/22/2024','2:00 PM','6089236','An-Enemy-of-the-People-5-22-2024'],['Wicked','Gershwin Theatre','New York, NY','Wednesday','5/22/2024','2:00 PM','6062531','Wicked-5-22-2024'],['The Lion King','Minskoff Theatre','New York, NY','Wednesday','5/22/2024','2:00 PM','6034713','The-Lion-King-5-22-2024'],['Water For Elephants - The Musical','Imperial Theatre - NY','New York, NY','Wednesday','5/22/2024','2:00 PM','5940518','Water-For-Elephants---The-Musical-5-22-2024'],['The Who's Tommy','Nederlander Theatre - NY','New York, NY','Wednesday','5/22/2024','2:00 PM','6045798','The-Who-s-Tommy-5-22-2024'],['Mary Jane','Samuel J. Friedman Theatre','New York, NY','Wednesday','5/22/2024','2:00 PM','6127877','Mary-Jane-5-22-2024'],['Cabaret at the Kit Kat Club','Virginia/August Wilson Theatre - NY','New York, NY','Wednesday','5/22/2024','2:00 PM','6036839','Cabaret-at-the-Kit-Kat-Club-5-22-2024'],['The Heart of Rock and Roll','James Earl Jones Theatre','New York, NY','Wednesday','5/22/2024','2:00 PM','6063101','The-Heart-of-Rock-and-Roll-5-22-2024'],['The Outsiders','Bernard B. Jacobs Theater','New York, NY','Wednesday','5/22/2024','2:00 PM','6064678','The-Outsiders-5-22-2024'],['Hell's Kitchen - The Musical','Shubert Theatre - NY','New York, NY','Wednesday','5/22/2024','7:00 PM','6150003','Hell-s-Kitchen---The-Musical-5-22-2024'],['A Sign of the Times','New World Stages: Stage 1','New York, NY','Wednesday','5/22/2024','7:00 PM','6182097','A-Sign-of-the-Times-5-22-2024'],['Little Shop Of Horrors','Westside Theatre Upstairs','New York, NY','Wednesday','5/22/2024','7:00 PM','5694054','Little-Shop-Of-Horrors-5-22-2024'],['Merrily We Roll Along','Millennium Hudson Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','6143045','Merrily-We-Roll-Along-5-22-2024'],['Illinoise','St. James Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','6332502','Illinoise-5-22-2024'],['Moulin Rouge - The Musical','Al Hirschfeld Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','5996645','Moulin-Rouge---The-Musical-5-22-2024'],['Patriots','Barrymore Theatre - NY','New York, NY','Wednesday','5/22/2024','7:00 PM','6230165','Patriots-5-22-2024'],['Mother Play','Helen Hayes Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','6053435','Mother-Play-5-22-2024'],['The Life and Slimes of Marc Summers','New World Stages: Stage 5','New York, NY','Wednesday','5/22/2024','7:00 PM','6181582','The-Life-and-Slimes-of-Marc-Summers-5-22-2024'],['Hamilton','Richard Rodgers Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','5931810','Hamilton-5-22-2024'],['Blue Man Group','Astor Place Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','5945337','Blue-Man-Group-5-22-2024'],['The Book Of Mormon','Eugene O'Neill Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','6124683','The-Book-Of-Mormon-5-22-2024'],['Harry Potter and The Cursed Child','Lyric Theatre - New York','New York, NY','Wednesday','5/22/2024','7:00 PM','5953318','Harry-Potter-and-The-Cursed-Child-5-22-2024'],['Back To The Future - Theatrical Production','Winter Garden Theatre - New York','New York, NY','Wednesday','5/22/2024','7:00 PM','5936915','Back-To-The-Future---Theatrical-Production-5-22-2024'],['Stereophonic','John Golden Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','6230327','Stereophonic-5-22-2024'],['Wicked','Gershwin Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','6062530','Wicked-5-22-2024'],['The Great Gatsby - A New Musical','Broadway Theatre - New York','New York, NY','Wednesday','5/22/2024','7:00 PM','6229744','The-Great-Gatsby---A-New-Musical-5-22-2024'],['Hadestown','Walter Kerr Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','5922822','Hadestown-5-22-2024'],['Appropriate','Belasco Theatre - NY','New York, NY','Wednesday','5/22/2024','7:00 PM','6269381','Appropriate-5-22-2024'],['Stalker','New World Stages: Stage 3','New York, NY','Wednesday','5/22/2024','7:00 PM','6256828','Stalker-5-22-2024'],['The Lion King','Minskoff Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','6034708','The-Lion-King-5-22-2024'],['Six The Musical','Lena Horne Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','6090542','Six-The-Musical-5-22-2024'],['The Wiz','Marquis Theatre - NY','New York, NY','Wednesday','5/22/2024','7:00 PM','6062921','The-Wiz-5-22-2024'],['Mary Jane','Samuel J. Friedman Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','6126931','Mary-Jane-5-22-2024'],['Titanique - Musical','Daryl Roth Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','6052047','Titanique---Musical-5-22-2024'],['Aladdin','New Amsterdam Theatre','New York, NY','Wednesday','5/22/2024','7:00 PM','5963709','Aladdin-5-22-2024'],['Golden Girls: The Laughs Continue','Broadway Playhouse at Water Tower Place','Chicago, IL','Wednesday','5/22/2024','7:00 PM','6253648','Golden-Girls--The-Laughs-Continue-5-22-2024'],['& Juliet','Stephen Sondheim Theatre','New York, NY','Wednesday','5/22/2024','7:30 PM','6039361','--Juliet-5-22-2024'],['Suffs','Music Box Theatre - NY','New York, NY','Wednesday','5/22/2024','7:30 PM','6113257','Suffs-5-22-2024'],['Water For Elephants - The Musical','Imperial Theatre - NY','New York, NY','Wednesday','5/22/2024','8:00 PM','5940523','Water-For-Elephants---The-Musical-5-22-2024'],['The Play That Goes Wrong ','New World Stages: Stage 4','New York, NY','Wednesday','5/22/2024','8:00 PM','6214215','The-Play-That-Goes-Wrong--5-22-2024'],['An Enemy of the People','Circle In The Square Theatre','New York, NY','Wednesday','5/22/2024','8:00 PM','6089262','An-Enemy-of-the-People-5-22-2024'],['Home - A Play','Todd Haimes Theatre','New York, NY','Wednesday','5/22/2024','8:00 PM','6089756','Home---A-Play-5-22-2024'],['Cabaret at the Kit Kat Club','Virginia/August Wilson Theatre - NY','New York, NY','Wednesday','5/22/2024','8:00 PM','6036840','Cabaret-at-the-Kit-Kat-Club-5-22-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Wednesday','5/22/2024','8:00 PM','6134106','Uncle-Vanya-5-22-2024'],['The Outsiders','Bernard B. Jacobs Theater','New York, NY','Wednesday','5/22/2024','8:00 PM','6064679','The-Outsiders-5-22-2024'],['The Notebook - The Musical','Gerald Schoenfeld Theatre','New York, NY','Wednesday','5/22/2024','8:00 PM','5937291','The-Notebook---The-Musical-5-22-2024'],['Stand Up Comedy In New York City','Broadway Comedy Club','New York, NY','Wednesday','5/22/2024','11:00 PM','6311139','Stand-Up-Comedy-In-New-York-City-5-22-2024'],['Broadway to Buble: George Dyer','Americana Theatre','Branson, MO','Thursday','5/23/2024','10:00 AM','6370947','Broadway-to-Buble--George-Dyer-5-23-2024'],['The Great Gatsby - A New Musical','Broadway Theatre - New York','New York, NY','Thursday','5/23/2024','2:00 PM','6229749','The-Great-Gatsby---A-New-Musical-5-23-2024'],['A Beautiful Noise - The Neil Diamond Musical','Broadhurst Theatre','New York, NY','Thursday','5/23/2024','2:00 PM','5747198','A-Beautiful-Noise---The-Neil-Diamond-Musical-5-23-2024'],['Blue Man Group','Astor Place Theatre','New York, NY','Thursday','5/23/2024','3:00 PM','6232235','Blue-Man-Group-5-23-2024'],['Uncle Vanya','Vivian Beaumont Theatre at Lincoln Center','New York, NY','Thursday','5/23/2024','7:00 PM','6134128','Uncle-Vanya-5-23-2024'],['Titanique - Musical','Daryl Roth Theatre','New York, NY','Thursday','5/23/2024','7:00 PM','6052048','Titanique---Musical-5-23-2024'],['Illinoise','St. James Theatre','New York, NY','Thursday','5/23/2024','7:00 PM','6332503','Illinoise-5-23-2024']],'broadway','http://www.ticketnetwork.com/ticket/broadway-events.aspx');