//
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-04A
TN_Widget.CreateTable([['Trans-Siberian Orchestra','SNHU Arena','Manchester, NH','Friday','11/27/2026','2:30 PM','8255047','Trans-Siberian-Orchestra-11-27-2026'],['Trans-Siberian Orchestra','SNHU Arena','Manchester, NH','Friday','11/27/2026','7:30 PM','8255048','Trans-Siberian-Orchestra-11-27-2026'],['PBR - Professional Bull Riders','SNHU Arena','Manchester, NH','Friday','12/11/2026','7:45 PM','8135871','PBR---Professional-Bull-Riders-12-11-2026'],['PBR - Professional Bull Riders','SNHU Arena','Manchester, NH','Saturday','12/12/2026','7:45 PM','8135872','PBR---Professional-Bull-Riders-12-12-2026'],['The Harlem Globetrotters','SNHU Arena','Manchester, NH','Monday','12/28/2026','2:00 PM','8294185','The-Harlem-Globetrotters-12-28-2026'],['The Harlem Globetrotters','SNHU Arena','Manchester, NH','Monday','12/28/2026','7:00 PM','8294186','The-Harlem-Globetrotters-12-28-2026'],['Disney On Ice: Find Your Hero','SNHU Arena','Manchester, NH','Thursday','1/7/2027','7:00 PM','8178146','Disney-On-Ice--Find-Your-Hero-1-7-2027'],['Disney On Ice: Find Your Hero','SNHU Arena','Manchester, NH','Friday','1/8/2027','7:00 PM','8178147','Disney-On-Ice--Find-Your-Hero-1-8-2027'],['Disney On Ice: Find Your Hero','SNHU Arena','Manchester, NH','Saturday','1/9/2027','10:30 AM','8178148','Disney-On-Ice--Find-Your-Hero-1-9-2027'],['Disney On Ice: Find Your Hero','SNHU Arena','Manchester, NH','Saturday','1/9/2027','2:30 PM','8178149','Disney-On-Ice--Find-Your-Hero-1-9-2027'],['Disney On Ice: Find Your Hero','SNHU Arena','Manchester, NH','Saturday','1/9/2027','6:30 PM','8178150','Disney-On-Ice--Find-Your-Hero-1-9-2027'],['Disney On Ice: Find Your Hero','SNHU Arena','Manchester, NH','Sunday','1/10/2027','11:00 AM','8178152','Disney-On-Ice--Find-Your-Hero-1-10-2027'],['Disney On Ice: Find Your Hero','SNHU Arena','Manchester, NH','Sunday','1/10/2027','3:00 PM','8178151','Disney-On-Ice--Find-Your-Hero-1-10-2027'],['Dancing With The Stars','SNHU Arena','Manchester, NH','Thursday','1/21/2027','7:30 PM','8310115','Dancing-With-The-Stars-1-21-2027'],['Staind, Seether, Hoobastank & Hinder','SNHU Arena','Manchester, NH','Thursday','3/4/2027','6:00 PM','8308766','Staind--Seether--Hoobastank---Hinder-3-4-2027'],['The Rock Orchestra By Candlelight','SNHU Arena','Manchester, NH','Saturday','3/20/2027','7:30 PM','8197837','The-Rock-Orchestra-By-Candlelight-3-20-2027'],['Monster Jam','SNHU Arena','Manchester, NH','Saturday','5/15/2027','12:00 PM','8354065','Monster-Jam-5-15-2027'],['Monster Jam','SNHU Arena','Manchester, NH','Saturday','5/15/2027','6:00 PM','8354066','Monster-Jam-5-15-2027'],['Monster Jam','SNHU Arena','Manchester, NH','Sunday','5/16/2027','1:00 PM','8354067','Monster-Jam-5-16-2027']],'Verizon Wireless Arena Manchester','http://www.ticketnetwork.com/ticket/Verizon-Wireless-Arena-Manchester-events.aspx');