//
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-01A
TN_Widget.CreateTable([['Twin Cities Ballet of Minnesota: Coppelia','Masquerade Dance Theater at Ames Center','Burnsville, MN','Saturday','5/11/2024','2:00 PM','6273811','Twin-Cities-Ballet-of-Minnesota--Coppelia-5-11-2024'],['Twin Cities Ballet of Minnesota: Coppelia','Masquerade Dance Theater at Ames Center','Burnsville, MN','Saturday','5/11/2024','7:00 PM','6273812','Twin-Cities-Ballet-of-Minnesota--Coppelia-5-11-2024'],['Antelope Valley Ballet: Coppelia','Main Stage at Lancaster Performing Arts Center','Lancaster, CA','Saturday','5/11/2024','7:00 PM','6103863','Antelope-Valley-Ballet--Coppelia-5-11-2024'],['Twin Cities Ballet of Minnesota: Coppelia','Masquerade Dance Theater at Ames Center','Burnsville, MN','Sunday','5/12/2024','2:00 PM','6273813','Twin-Cities-Ballet-of-Minnesota--Coppelia-5-12-2024'],['Antelope Valley Ballet: Coppelia','Main Stage at Lancaster Performing Arts Center','Lancaster, CA','Sunday','5/12/2024','2:00 PM','6103864','Antelope-Valley-Ballet--Coppelia-5-12-2024'],['Idaho Ballet Theatre: Coppelia','Colonial Theatre - Idaho Falls','Idaho Falls, ID','Friday','5/17/2024','7:00 PM','6386432','Idaho-Ballet-Theatre--Coppelia-5-17-2024'],['Yen-Li Chen Ballet School: Coppelia','Mainstage at Chandler Center For The Arts - AZ','Chandler, AZ','Saturday','5/18/2024','6:30 PM','6278893','Yen-Li-Chen-Ballet-School--Coppelia-5-18-2024'],['Idaho Ballet Theatre: Coppelia','Colonial Theatre - Idaho Falls','Idaho Falls, ID','Saturday','5/18/2024','7:00 PM','6386433','Idaho-Ballet-Theatre--Coppelia-5-18-2024'],['Pacific Northwest Ballet: Coppelia','McCaw Hall','Seattle, WA','Friday','5/31/2024','7:30 PM','5887204','Pacific-Northwest-Ballet--Coppelia-5-31-2024'],['Pacific Northwest Ballet: Coppelia','McCaw Hall','Seattle, WA','Saturday','6/1/2024','2:00 PM','5887205','Pacific-Northwest-Ballet--Coppelia-6-1-2024'],['Pacific Northwest Ballet: Coppelia','McCaw Hall','Seattle, WA','Saturday','6/1/2024','7:30 PM','5887341','Pacific-Northwest-Ballet--Coppelia-6-1-2024'],['Pacific Northwest Ballet: Coppelia','McCaw Hall','Seattle, WA','Thursday','6/6/2024','7:30 PM','5887342','Pacific-Northwest-Ballet--Coppelia-6-6-2024'],['Pacific Northwest Ballet: Coppelia','McCaw Hall','Seattle, WA','Friday','6/7/2024','7:30 PM','5888995','Pacific-Northwest-Ballet--Coppelia-6-7-2024'],['Atlantic City Ballet; Coppelia','Caesars Atlantic City','Atlantic City, NJ','Saturday','6/8/2024','7:00 PM','6201914','Atlantic-City-Ballet--Coppelia-6-8-2024'],['Pacific Northwest Ballet: Coppelia','McCaw Hall','Seattle, WA','Saturday','6/8/2024','7:30 PM','5888996','Pacific-Northwest-Ballet--Coppelia-6-8-2024'],['Pacific Northwest Ballet: Coppelia','McCaw Hall','Seattle, WA','Sunday','6/9/2024','1:00 PM','5889091','Pacific-Northwest-Ballet--Coppelia-6-9-2024'],['New York City Ballet: Coppelia','David H. Koch Theater','New York, NY','Friday','9/27/2024','7:30 PM','6407393','New-York-City-Ballet--Coppelia-9-27-2024'],['New York City Ballet: Coppelia','David H. Koch Theater','New York, NY','Saturday','9/28/2024','2:00 PM','6407394','New-York-City-Ballet--Coppelia-9-28-2024'],['New York City Ballet: Coppelia','David H. Koch Theater','New York, NY','Saturday','9/28/2024','7:30 PM','6407504','New-York-City-Ballet--Coppelia-9-28-2024'],['New York City Ballet: Coppelia','David H. Koch Theater','New York, NY','Sunday','9/29/2024','3:00 PM','6407395','New-York-City-Ballet--Coppelia-9-29-2024'],['New York City Ballet: Coppelia','David H. Koch Theater','New York, NY','Saturday','10/5/2024','2:00 PM','6407396','New-York-City-Ballet--Coppelia-10-5-2024'],['New York City Ballet: Coppelia','David H. Koch Theater','New York, NY','Saturday','10/5/2024','7:30 PM','6407495','New-York-City-Ballet--Coppelia-10-5-2024'],['New York City Ballet: Coppelia','David H. Koch Theater','New York, NY','Sunday','10/6/2024','3:00 PM','6407397','New-York-City-Ballet--Coppelia-10-6-2024'],['Dayton Ballet: Coppelia','Victoria Theatre - Dayton','Dayton, OH','Friday','10/18/2024','7:30 PM','6295238','Dayton-Ballet--Coppelia-10-18-2024'],['Dayton Ballet: Coppelia','Victoria Theatre - Dayton','Dayton, OH','Saturday','10/19/2024','7:30 PM','6295239','Dayton-Ballet--Coppelia-10-19-2024'],['Dayton Ballet: Coppelia','Victoria Theatre - Dayton','Dayton, OH','Sunday','10/20/2024','2:30 PM','6295240','Dayton-Ballet--Coppelia-10-20-2024']],'Coppelia','http://www.ticketnetwork.com/ticket/Coppelia-events.aspx');