//
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([['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'],['The Runarounds','The National - VA','Richmond, VA','Tuesday','4/14/2026','7:30 PM','7708419','The-Runarounds-4-14-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'],['Steel Panther','The National - VA','Richmond, VA','Friday','4/24/2026','8:00 PM','7706485','Steel-Panther-4-24-2026'],['Railroad Earth','The National - VA','Richmond, VA','Sunday','4/26/2026','7:30 PM','7669321','Railroad-Earth-4-26-2026'],['Kathy Griffin','The National - VA','Richmond, VA','Friday','5/1/2026','8:00 PM','7480436','Kathy-Griffin-5-1-2026'],['Free Throw','The National - VA','Richmond, VA','Sunday','5/3/2026','7:00 PM','7690136','Free-Throw-5-3-2026'],['Nettspend','The National - VA','Richmond, VA','Monday','5/4/2026','7:30 PM','7739657','Nettspend-5-4-2026'],['Courtney Barnett','The National - VA','Richmond, VA','Friday','5/8/2026','8:00 PM','7759955','Courtney-Barnett-5-8-2026'],['Fleshwater & Julie','The National - VA','Richmond, VA','Sunday','5/10/2026','8:00 PM','7677242','Fleshwater---Julie-5-10-2026'],['Avatar, Fleshgod Apocalypse. & Frozen Soul','The National - VA','Richmond, VA','Tuesday','5/12/2026','7:30 PM','7677004','Avatar--Fleshgod-Apocalypse----Frozen-Soul-5-12-2026'],['Between The Buried and Me','The National - VA','Richmond, VA','Friday','5/15/2026','7:30 PM','7757149','Between-The-Buried-and-Me-5-15-2026'],['Wage War','The National - VA','Richmond, VA','Tuesday','5/26/2026','6:30 PM','7759373','Wage-War-5-26-2026'],['Cowboy Junkies','The National - VA','Richmond, VA','Thursday','6/11/2026','7:30 PM','7744732','Cowboy-Junkies-6-11-2026'],['Ryan Bingham & The Texas Gentlemen','The National - VA','Richmond, VA','Friday','6/12/2026','8:00 PM','7745712','Ryan-Bingham---The-Texas-Gentlemen-6-12-2026'],['Sidepiece','The National - VA','Richmond, VA','Saturday','6/13/2026','8:00 PM','7798187','Sidepiece-6-13-2026'],['Wednesday - Band','The National - VA','Richmond, VA','Monday','6/15/2026','7:30 PM','7723609','Wednesday---Band-6-15-2026'],['Black Country, New Road','The National - VA','Richmond, VA','Thursday','7/2/2026','7:00 PM','7715708','Black-Country--New-Road-7-2-2026'],['Earl Sweatshirt & MIKE','The National - VA','Richmond, VA','Monday','7/13/2026','7:30 PM','7795240','Earl-Sweatshirt---MIKE-7-13-2026'],['American Football - Band','The National - VA','Richmond, VA','Tuesday','7/14/2026','7:30 PM','7718256','American-Football---Band-7-14-2026'],['Pavement','The National - VA','Richmond, VA','Saturday','7/25/2026','8:00 PM','7677042','Pavement-7-25-2026'],['Qveen Herby','The National - VA','Richmond, VA','Thursday','7/30/2026','8:00 PM','7711659','Qveen-Herby-7-30-2026'],['Dogstar','The National - VA','Richmond, VA','Saturday','8/8/2026','8:00 PM','7787160','Dogstar-8-8-2026'],['The Buena Vista Orchestra','The National - VA','Richmond, VA','Wednesday','9/30/2026','7:30 PM','7797839','The-Buena-Vista-Orchestra-9-30-2026'],['The Living Tombstone','The National - VA','Richmond, VA','Tuesday','10/20/2026','7:30 PM','7775793','The-Living-Tombstone-10-20-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');