//
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-01A
TN_Widget.CreateTable([['Saved By The 90s','The National - VA','Richmond, VA','Friday','1/16/2026','8:00 PM','7566379','Saved-By-The-90s-1-16-2026'],['Del Water Gap','The National - VA','Richmond, VA','Saturday','1/17/2026','8:00 PM','7498403','Del-Water-Gap-1-17-2026'],['Adam Ray','The National - VA','Richmond, VA','Thursday','1/22/2026','8:00 PM','7433362','Adam-Ray-1-22-2026'],['The Wombats','The National - VA','Richmond, VA','Saturday','2/7/2026','7:00 PM','7552756','The-Wombats-2-7-2026'],['Black Violin','The National - VA','Richmond, VA','Thursday','2/19/2026','7:30 PM','7384492','Black-Violin-2-19-2026'],['Lotus','The National - VA','Richmond, VA','Wednesday','2/25/2026','7:30 PM','7542099','Lotus-2-25-2026'],['INZO','The National - VA','Richmond, VA','Thursday','2/26/2026','7:30 PM','7425552','INZO-2-26-2026'],['Andrew Callaghan','The National - VA','Richmond, VA','Friday','2/27/2026','8:00 PM','7306555','Andrew-Callaghan-2-27-2026'],['Rumours ATL - A Fleetwood Mac Tribute','The National - VA','Richmond, VA','Saturday','2/28/2026','8:00 PM','7503326','Rumours-ATL---A-Fleetwood-Mac-Tribute-2-28-2026'],['Michael Shannon & Jason Narducy','The National - VA','Richmond, VA','Monday','3/2/2026','7:30 PM','7416783','Michael-Shannon---Jason-Narducy-3-2-2026'],['Dexter and The Moonrocks','The National - VA','Richmond, VA','Saturday','3/7/2026','8:00 PM','7554131','Dexter-and-The-Moonrocks-3-7-2026'],['GWAR, Soulfly & King Parrot','The National - VA','Richmond, VA','Thursday','3/19/2026','7:30 PM','7629211','GWAR--Soulfly---King-Parrot-3-19-2026'],['Pat Metheny','The National - VA','Richmond, VA','Friday','3/20/2026','8:00 PM','7525657','Pat-Metheny-3-20-2026'],['Gogol Bordello','The National - VA','Richmond, VA','Saturday','3/21/2026','8:00 PM','7573063','Gogol-Bordello-3-21-2026'],['Rick Wakeman','The National - VA','Richmond, VA','Tuesday','3/24/2026','8:00 PM','7107491','Rick-Wakeman-3-24-2026'],['Danae Hays','The National - VA','Richmond, VA','Saturday','3/28/2026','8:00 PM','7618230','Danae-Hays-3-28-2026'],['Snow Tha Product','The National - VA','Richmond, VA','Friday','4/3/2026','8:00 PM','7603268','Snow-Tha-Product-4-3-2026'],['Sons of Legion','The National - VA','Richmond, VA','Saturday','4/4/2026','8:00 PM','7510649','Sons-of-Legion-4-4-2026'],['Moonchild','The National - VA','Richmond, VA','Sunday','4/5/2026','8:00 PM','7506326','Moonchild-4-5-2026'],['Whitney','The National - VA','Richmond, VA','Thursday','4/16/2026','8:00 PM','7160381','Whitney-4-16-2026'],['Two Feet','The National - VA','Richmond, VA','Saturday','4/18/2026','8:00 PM','7566301','Two-Feet-4-18-2026'],['Microwave','The National - VA','Richmond, VA','Wednesday','4/22/2026','7:00 PM','7615574','Microwave-4-22-2026'],['Vincent Mason','The National - VA','Richmond, VA','Thursday','4/23/2026','7:30 PM','7519112','Vincent-Mason-4-23-2026'],['Kathy Griffin','The National - VA','Richmond, VA','Friday','5/1/2026','8:00 PM','7480436','Kathy-Griffin-5-1-2026'],['Jonathan McReynolds','The National - VA','Richmond, VA','Tuesday','4/10/2074','8:00 PM','5761723','Jonathan-McReynolds-4-10-2074'],['The Alarm','The National - VA','Richmond, VA','Saturday','5/19/2074','7:30 PM','6221063','The-Alarm-5-19-2074']],'The National Richmond','https://www.ticketnetwork.com/ticket/The-National-Richmond-events.aspx');