//
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([['Gypsy','Majestic Theatre - NY','New York, NY','Thursday','11/21/2024','8:00 PM','6485456','Gypsy-11-21-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Friday','11/22/2024','8:00 PM','6485457','Gypsy-11-22-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','11/23/2024','8:00 PM','6485458','Gypsy-11-23-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Monday','11/25/2024','8:00 PM','6485459','Gypsy-11-25-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Tuesday','11/26/2024','8:00 PM','6485460','Gypsy-11-26-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','11/27/2024','8:00 PM','6485461','Gypsy-11-27-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Friday','11/29/2024','8:00 PM','6485462','Gypsy-11-29-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','11/30/2024','8:00 PM','6485463','Gypsy-11-30-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Sunday','12/1/2024','2:00 PM','6485464','Gypsy-12-1-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Sunday','12/1/2024','7:30 PM','6485466','Gypsy-12-1-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Tuesday','12/3/2024','8:00 PM','6485467','Gypsy-12-3-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','12/4/2024','8:00 PM','6485468','Gypsy-12-4-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Thursday','12/5/2024','8:00 PM','6485469','Gypsy-12-5-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Friday','12/6/2024','8:00 PM','6485470','Gypsy-12-6-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','12/7/2024','2:00 PM','6485472','Gypsy-12-7-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','12/7/2024','8:00 PM','6485471','Gypsy-12-7-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Sunday','12/8/2024','3:00 PM','6485473','Gypsy-12-8-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Tuesday','12/10/2024','8:00 PM','6485474','Gypsy-12-10-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','12/11/2024','2:00 PM','6485479','Gypsy-12-11-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','12/11/2024','8:00 PM','6485476','Gypsy-12-11-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Thursday','12/12/2024','8:00 PM','6485477','Gypsy-12-12-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Friday','12/13/2024','8:00 PM','6485478','Gypsy-12-13-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','12/14/2024','2:00 PM','6485480','Gypsy-12-14-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','12/14/2024','8:00 PM','6485481','Gypsy-12-14-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Sunday','12/15/2024','3:00 PM','6485482','Gypsy-12-15-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Tuesday','12/17/2024','7:00 PM','6485483','Gypsy-12-17-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','12/18/2024','2:00 PM','6485486','Gypsy-12-18-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','12/18/2024','7:30 PM','6485485','Gypsy-12-18-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','12/21/2024','2:00 PM','6485487','Gypsy-12-21-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','12/21/2024','8:00 PM','6485489','Gypsy-12-21-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Sunday','12/22/2024','2:00 PM','6485488','Gypsy-12-22-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Sunday','12/22/2024','7:30 PM','6485490','Gypsy-12-22-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Monday','12/23/2024','7:00 PM','6485491','Gypsy-12-23-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','12/25/2024','7:00 PM','6485493','Gypsy-12-25-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Thursday','12/26/2024','2:00 PM','6485495','Gypsy-12-26-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Thursday','12/26/2024','7:30 PM','6485494','Gypsy-12-26-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Friday','12/27/2024','7:00 PM','6485496','Gypsy-12-27-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','12/28/2024','2:00 PM','6485497','Gypsy-12-28-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','12/28/2024','8:00 PM','6485498','Gypsy-12-28-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Sunday','12/29/2024','3:00 PM','6485499','Gypsy-12-29-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Monday','12/30/2024','7:00 PM','6485500','Gypsy-12-30-2024'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','1/1/2025','2:00 PM','6485502','Gypsy-1-1-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','1/1/2025','7:30 PM','6485503','Gypsy-1-1-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Thursday','1/2/2025','7:00 PM','6485504','Gypsy-1-2-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Friday','1/3/2025','7:00 PM','6485506','Gypsy-1-3-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','1/4/2025','2:00 PM','6485508','Gypsy-1-4-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','1/4/2025','8:00 PM','6485507','Gypsy-1-4-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Sunday','1/5/2025','3:00 PM','6485509','Gypsy-1-5-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Tuesday','1/7/2025','7:00 PM','6485510','Gypsy-1-7-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','1/8/2025','2:00 PM','6485511','Gypsy-1-8-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','1/8/2025','8:00 PM','6485512','Gypsy-1-8-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Thursday','1/9/2025','7:00 PM','6485513','Gypsy-1-9-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Friday','1/10/2025','7:00 PM','6485514','Gypsy-1-10-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','1/11/2025','2:00 PM','6485516','Gypsy-1-11-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','1/11/2025','8:00 PM','6485515','Gypsy-1-11-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Sunday','1/12/2025','3:00 PM','6485517','Gypsy-1-12-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Tuesday','1/14/2025','7:00 PM','6485518','Gypsy-1-14-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','1/15/2025','2:00 PM','6485519','Gypsy-1-15-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','1/15/2025','7:30 PM','6485520','Gypsy-1-15-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Thursday','1/16/2025','7:00 PM','6485521','Gypsy-1-16-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Friday','1/17/2025','7:00 PM','6485522','Gypsy-1-17-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','1/18/2025','2:00 PM','6485524','Gypsy-1-18-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','1/18/2025','8:00 PM','6485523','Gypsy-1-18-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Sunday','1/19/2025','3:00 PM','6485525','Gypsy-1-19-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Tuesday','1/21/2025','7:00 PM','6485526','Gypsy-1-21-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','1/22/2025','2:00 PM','6485528','Gypsy-1-22-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','1/22/2025','7:30 PM','6485527','Gypsy-1-22-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Thursday','1/23/2025','7:00 PM','6485529','Gypsy-1-23-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Friday','1/24/2025','7:00 PM','6485530','Gypsy-1-24-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','1/25/2025','2:00 PM','6485531','Gypsy-1-25-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','1/25/2025','8:00 PM','6485532','Gypsy-1-25-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Sunday','1/26/2025','3:00 PM','6485533','Gypsy-1-26-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Tuesday','1/28/2025','7:00 PM','6485534','Gypsy-1-28-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','1/29/2025','2:00 PM','6485536','Gypsy-1-29-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','1/29/2025','7:30 PM','6485535','Gypsy-1-29-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Thursday','1/30/2025','7:00 PM','6485537','Gypsy-1-30-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Friday','1/31/2025','7:00 PM','6485538','Gypsy-1-31-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','2/1/2025','2:00 PM','6485564','Gypsy-2-1-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','2/1/2025','8:00 PM','6485568','Gypsy-2-1-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Sunday','2/2/2025','3:00 PM','6485539','Gypsy-2-2-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Tuesday','2/4/2025','7:00 PM','6485543','Gypsy-2-4-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','2/5/2025','2:00 PM','6485547','Gypsy-2-5-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','2/5/2025','7:30 PM','6485552','Gypsy-2-5-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Thursday','2/6/2025','7:00 PM','6485556','Gypsy-2-6-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Friday','2/7/2025','7:00 PM','6485560','Gypsy-2-7-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','2/8/2025','2:00 PM','6485565','Gypsy-2-8-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','2/8/2025','8:00 PM','6485569','Gypsy-2-8-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Sunday','2/9/2025','2:00 PM','6485540','Gypsy-2-9-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Tuesday','2/11/2025','7:00 PM','6485544','Gypsy-2-11-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','2/12/2025','2:00 PM','6485548','Gypsy-2-12-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','2/12/2025','7:30 PM','6485553','Gypsy-2-12-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Thursday','2/13/2025','7:00 PM','6485557','Gypsy-2-13-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Friday','2/14/2025','7:00 PM','6485561','Gypsy-2-14-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','2/15/2025','2:00 PM','6485566','Gypsy-2-15-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Saturday','2/15/2025','8:00 PM','6485570','Gypsy-2-15-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Sunday','2/16/2025','3:00 PM','6485541','Gypsy-2-16-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Tuesday','2/18/2025','7:00 PM','6485545','Gypsy-2-18-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','2/19/2025','2:00 PM','6485549','Gypsy-2-19-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Wednesday','2/19/2025','7:30 PM','6485554','Gypsy-2-19-2025'],['Gypsy','Majestic Theatre - NY','New York, NY','Thursday','2/20/2025','7:00 PM','6485558','Gypsy-2-20-2025']],'Majestic Theatre New York','http://www.ticketnetwork.com/ticket/Majestic-Theatre-New-York-events.aspx');