//
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([['Yung Gravy','The National - VA','Richmond, VA','Thursday','11/12/2026','7:30 PM','8232358','Yung-Gravy-11-12-2026'],['George Clanton','The National - VA','Richmond, VA','Friday','11/13/2026','7:30 PM','8182632','George-Clanton-11-13-2026'],['Lenny Pearce','The National - VA','Richmond, VA','Wednesday','11/18/2026','6:00 PM','8048843','Lenny-Pearce-11-18-2026'],['Streetlight Manifesto','The National - VA','Richmond, VA','Friday','11/20/2026','8:00 PM','7902049','Streetlight-Manifesto-11-20-2026'],['Please Don't Destroy','The National - VA','Richmond, VA','Saturday','11/21/2026','8:00 PM','8247784','Please-Don-t-Destroy-11-21-2026'],['STS9 - Sound Tribe Sector 9','The National - VA','Richmond, VA','Sunday','11/22/2026','7:30 PM','8159447','STS9---Sound-Tribe-Sector-9-11-22-2026'],['Kurt Vile and The Violators','The National - VA','Richmond, VA','Monday','11/23/2026','7:30 PM','7862633','Kurt-Vile-and-The-Violators-11-23-2026'],['J Roddy Walston and The Automatic Band','The National - VA','Richmond, VA','Saturday','11/28/2026','8:00 PM','8014682','J-Roddy-Walston-and-The-Automatic-Band-11-28-2026'],['State Champs','The National - VA','Richmond, VA','Tuesday','12/1/2026','7:30 PM','8055391','State-Champs-12-1-2026'],['Turnover','The National - VA','Richmond, VA','Saturday','12/5/2026','7:30 PM','8075249','Turnover-12-5-2026'],['Eli Young Band','The National - VA','Richmond, VA','Thursday','12/10/2026','7:30 PM','8334888','Eli-Young-Band-12-10-2026'],['Daily Bread','The National - VA','Richmond, VA','Sunday','12/13/2026','7:30 PM','8134077','Daily-Bread-12-13-2026'],['Matisyahu','The National - VA','Richmond, VA','Tuesday','12/15/2026','8:00 PM','8267326','Matisyahu-12-15-2026'],['Thievery Corporation','The National - VA','Richmond, VA','Friday','12/18/2026','8:00 PM','8270572','Thievery-Corporation-12-18-2026'],['Carbon Leaf','The National - VA','Richmond, VA','Saturday','12/19/2026','8:00 PM','8118632','Carbon-Leaf-12-19-2026'],['Zingara','The National - VA','Richmond, VA','Friday','2/12/2027','8:00 PM','8342035','Zingara-2-12-2027'],['Daniel Donato','The National - VA','Richmond, VA','Thursday','2/18/2027','7:00 PM','8335103','Daniel-Donato-2-18-2027'],['Effin','The National - VA','Richmond, VA','Saturday','2/20/2027','7:00 PM','8334389','Effin-2-20-2027'],['Pepper','The National - VA','Richmond, VA','Friday','2/26/2027','8:00 PM','8353308','Pepper-2-26-2027'],['Mersiv','The National - VA','Richmond, VA','Thursday','3/4/2027','7:30 PM','8346791','Mersiv-3-4-2027'],['LSDREAM','The National - VA','Richmond, VA','Wednesday','3/10/2027','7:30 PM','8356997','LSDREAM-3-10-2027'],['Emily Ann Roberts','The National - VA','Richmond, VA','Sunday','3/21/2027','7:30 PM','8334311','Emily-Ann-Roberts-3-21-2027'],['Scott Bradlee's Postmodern Jukebox','The National - VA','Richmond, VA','Tuesday','3/30/2027','7:30 PM','8343944','Scott-Bradlee-s-Postmodern-Jukebox-3-30-2027'],['Clutch, Corrosion of Conformity, Agnostic Front & Chuck Ragan','The National - VA','Richmond, VA','Wednesday','3/31/2027','7:00 PM','8363876','Clutch--Corrosion-of-Conformity--Agnostic-Front---Chuck-Ragan-3-31-2027'],['From Ashes To New','The National - VA','Richmond, VA','Wednesday','4/14/2027','7:00 PM','8308869','From-Ashes-To-New-4-14-2027'],['Wheeler Walker Jr.','The National - VA','Richmond, VA','Thursday','4/22/2027','7:30 PM','8034937','Wheeler-Walker-Jr--4-22-2027'],['Ari Matti','The National - VA','Richmond, VA','Friday','5/14/2027','8:00 PM','8308623','Ari-Matti-5-14-2027'],['Michael Shannon & Jason Narducy','The National - VA','Richmond, VA','Saturday','5/15/2027','7:00 PM','8299686','Michael-Shannon---Jason-Narducy-5-15-2027'],['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');