//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "Tickets",
tixUrl : "https://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[3] +" "+"" +
row[4] + " "+"" +
row[5] + " | "+"" +
row[0] +" | " +
row[1] +" " +
row[2] +" | "+""+ 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-04A
TN_Widget.CreateTable([['The Stepcrew','Hutchins Concert Hall At Collins Center for the Arts','Orono, ME','Friday','2/28/2025','7:00 PM','6480276','The-Stepcrew-2-28-2025'],['Cirque Eloize','Hutchins Concert Hall At Collins Center for the Arts','Orono, ME','Sunday','3/9/2025','3:00 PM','6480277','Cirque-Eloize-3-9-2025'],['Pacific Symphony: Stuart Chafetz - The Music of Phil Collins & Genesis','Segerstrom Center For The Arts - Renee and Henry Segerstrom Concert Hall','Costa Mesa, CA','Friday','3/14/2025','8:00 PM','6645460','Pacific-Symphony--Stuart-Chafetz---The-Music-of-Phil-Collins---Genesis-3-14-2025'],['Judy Collins','Muriel Kauffman Theatre - Kauffman Center for the Performing Arts','Kansas City, MO','Saturday','3/15/2025','7:30 PM','6305576','Judy-Collins-3-15-2025'],['Pacific Symphony: Stuart Chafetz - The Music of Phil Collins & Genesis','Segerstrom Center For The Arts - Renee and Henry Segerstrom Concert Hall','Costa Mesa, CA','Saturday','3/15/2025','8:00 PM','6645461','Pacific-Symphony--Stuart-Chafetz---The-Music-of-Phil-Collins---Genesis-3-15-2025'],['Tyrus - Comedian','J. Everett Collins Center for the Performing Arts','Andover, MA','Thursday','3/27/2025','7:30 PM','6597525','Tyrus---Comedian-3-27-2025'],['Paul Taylor Dance Company','Hutchins Concert Hall At Collins Center for the Arts','Orono, ME','Friday','3/28/2025','7:00 PM','6480278','Paul-Taylor-Dance-Company-3-28-2025'],['Moon Mouse: A Space Odyssey','Hutchins Concert Hall At Collins Center for the Arts','Orono, ME','Sunday','3/30/2025','3:00 PM','6480279','Moon-Mouse--A-Space-Odyssey-3-30-2025'],['The Phil Collins Experience - Tribute','Bloomington Center For The Performing Arts','Bloomington, IL','Friday','4/4/2025','7:00 PM','6718505','The-Phil-Collins-Experience---Tribute-4-4-2025'],['Judy Collins','Pikes Peak Center','Colorado Springs, CO','Monday','4/7/2025','7:00 PM','6805962','Judy-Collins-4-7-2025'],['Joe Gatto','Hutchins Concert Hall At Collins Center for the Arts','Orono, ME','Friday','4/18/2025','7:00 PM','6820400','Joe-Gatto-4-18-2025'],['In The Air Tonight - Phil Collins Tribute','Hofmann Theatre at Lesher Center for the Arts','Walnut Creek, CA','Saturday','7/12/2025','7:30 PM','6996899','In-The-Air-Tonight---Phil-Collins-Tribute-7-12-2025']],'Collins Center for the Arts','https://www.ticketnetwork.com/ticket/Collins-Center-for-the-Arts-events.aspx');