//
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-03B
TN_Widget.CreateTable([['Members Only - 80s Tribute Band','Lava Cantina The Colony','The Colony, TX','Friday','6/14/2024','8:00 PM','6490223','Members-Only---80s-Tribute-Band-6-14-2024'],['The Molly Ringwalds','Lava Cantina The Colony','The Colony, TX','Saturday','6/15/2024','8:00 PM','6490277','The-Molly-Ringwalds-6-15-2024'],['Neo Soul Sundays','Lava Cantina The Colony','The Colony, TX','Sunday','6/16/2024','4:00 PM','6490729','Neo-Soul-Sundays-6-16-2024'],['Crueligans - Motley Crue Tribute','Lava Cantina The Colony','The Colony, TX','Friday','6/21/2024','8:00 PM','6490864','Crueligans---Motley-Crue-Tribute-6-21-2024'],['The Elton Johns','Lava Cantina The Colony','The Colony, TX','Saturday','6/22/2024','8:00 PM','6490961','The-Elton-Johns-6-22-2024'],['Ying Yang Twins','Lava Cantina The Colony','The Colony, TX','Wednesday','6/26/2024','7:00 PM','6491087','Ying-Yang-Twins-6-26-2024'],['William Beckmann','Lava Cantina The Colony','The Colony, TX','Thursday','6/27/2024','7:00 PM','6491296','William-Beckmann-6-27-2024'],['Infinite Journey ','Lava Cantina The Colony','The Colony, TX','Friday','6/28/2024','8:00 PM','6474036','Infinite-Journey--6-28-2024'],['Desperado - Tribute to The Eagles','Lava Cantina The Colony','The Colony, TX','Saturday','6/29/2024','8:00 PM','6491409','Desperado---Tribute-to-The-Eagles-6-29-2024'],['Powerman 5000','Lava Cantina The Colony','The Colony, TX','Tuesday','7/9/2024','6:00 PM','6393011','Powerman-5000-7-9-2024'],['Yachtley Crew','Lava Cantina The Colony','The Colony, TX','Friday','7/12/2024','8:00 PM','6321573','Yachtley-Crew-7-12-2024'],['MJ Live - Michael Jackson Tribute','Lava Cantina The Colony','The Colony, TX','Saturday','7/13/2024','8:00 PM','6356827','MJ-Live---Michael-Jackson-Tribute-7-13-2024'],['Afroman','Lava Cantina The Colony','The Colony, TX','Wednesday','7/17/2024','7:00 PM','6356825','Afroman-7-17-2024'],['Hot Lava','Stephen Talkhouse','Amagansett, NY','Thursday','7/25/2024','10:30 PM','6323235','Hot-Lava-7-25-2024'],['Winger & Lynch Mob','Lava Cantina The Colony','The Colony, TX','Wednesday','7/31/2024','7:00 PM','6362642','Winger---Lynch-Mob-7-31-2024'],['Hot Lava','Stephen Talkhouse','Amagansett, NY','Friday','8/9/2024','10:30 PM','6323236','Hot-Lava-8-9-2024'],['Them Dirty Roses','Lava Cantina The Colony','The Colony, TX','Thursday','8/22/2024','7:00 PM','6491469','Them-Dirty-Roses-8-22-2024'],['Ole 60','Lava Cantina The Colony','The Colony, TX','Wednesday','9/11/2024','7:00 PM','6492991','Ole-60-9-11-2024'],['Hot Lava','Stephen Talkhouse','Amagansett, NY','Saturday','9/21/2024','10:30 PM','6323237','Hot-Lava-9-21-2024'],['Everclear, Marcy Playground & Jimmie's Chicken Shack','Lava Cantina The Colony','The Colony, TX','Wednesday','9/25/2024','7:00 PM','6402890','Everclear--Marcy-Playground---Jimmie-s-Chicken-Shack-9-25-2024'],['Dokken','Lava Cantina The Colony','The Colony, TX','Thursday','9/26/2024','7:00 PM','6473895','Dokken-9-26-2024']],'Lava','http://www.ticketnetwork.com/ticket/Lava-events.aspx');