//
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-02A
TN_Widget.CreateTable([['Kashmir - The Led Zeppelin Experience','Flying Monkey Movie House & Performance Center','Plymouth, NH','Saturday','3/1/2025','7:30 PM','6932420','Kashmir---The-Led-Zeppelin-Experience-3-1-2025'],['Dervish - The Great Irish Songbook','Flying Monkey Movie House & Performance Center','Plymouth, NH','Monday','3/17/2025','7:30 PM','6932415','Dervish---The-Great-Irish-Songbook-3-17-2025'],['Sugar Mountain - Neil Young Tribute','Flying Monkey Movie House & Performance Center','Plymouth, NH','Friday','3/21/2025','7:30 PM','6932408','Sugar-Mountain---Neil-Young-Tribute-3-21-2025'],['Big Bad Voodoo Daddy','Flying Monkey Movie House & Performance Center','Plymouth, NH','Sunday','3/23/2025','7:30 PM','6962302','Big-Bad-Voodoo-Daddy-3-23-2025'],['Bob Marley - Comedian','Flying Monkey Movie House & Performance Center','Plymouth, NH','Thursday','3/27/2025','7:30 PM','6932222','Bob-Marley---Comedian-3-27-2025'],['The British Invasion Years','Flying Monkey Movie House & Performance Center','Plymouth, NH','Saturday','4/12/2025','7:30 PM','6932403','The-British-Invasion-Years-4-12-2025'],['Duane Betts','Flying Monkey Movie House & Performance Center','Plymouth, NH','Sunday','4/13/2025','7:30 PM','6932391','Duane-Betts-4-13-2025'],['1964 The Tribute','Flying Monkey Movie House & Performance Center','Plymouth, NH','Friday','4/18/2025','7:30 PM','6932390','1964-The-Tribute-4-18-2025'],['Queen Elizabeth II','Flying Monkey Movie House & Performance Center','Plymouth, NH','Friday','4/25/2025','7:30 PM','6932383','Queen-Elizabeth-II-4-25-2025'],['Rdmtion','Flying Monkey Movie House & Performance Center','Plymouth, NH','Friday','5/2/2025','7:30 PM','6932371','Rdmtion-5-2-2025']],'The Flying Monkey','https://www.ticketnetwork.com/ticket/The-Flying-Monkey-events.aspx');