//
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([['Jose Gonzalez','The National - VA','Richmond, VA','Saturday','3/22/2025','8:00 PM','6754750','Jose-Gonzalez-3-22-2025'],['Emo Nite','The National - VA','Richmond, VA','Friday','3/28/2025','9:00 PM','6973810','Emo-Nite-3-28-2025'],['Intervals','The National - VA','Richmond, VA','Saturday','3/29/2025','8:00 PM','6764263','Intervals-3-29-2025'],['Boney James','The National - VA','Richmond, VA','Thursday','4/3/2025','7:30 PM','6936081','Boney-James-4-3-2025'],['Toast - The Ultimate Bread Experience','The National - VA','Richmond, VA','Friday','4/4/2025','7:00 PM','6538775','Toast---The-Ultimate-Bread-Experience-4-4-2025'],['The Tallest Man on Earth','The National - VA','Richmond, VA','Sunday','4/6/2025','7:30 PM','6886640','The-Tallest-Man-on-Earth-4-6-2025'],['Jon Lovitz','The National - VA','Richmond, VA','Tuesday','4/8/2025','8:00 PM','6967059','Jon-Lovitz-4-8-2025'],['Municipal Waste','The National - VA','Richmond, VA','Saturday','4/12/2025','7:00 PM','6759087','Municipal-Waste-4-12-2025'],['Awolnation','The National - VA','Richmond, VA','Sunday','4/13/2025','7:30 PM','6710782','Awolnation-4-13-2025'],['Damien Escobar ','The National - VA','Richmond, VA','Wednesday','4/16/2025','7:30 PM','6888966','Damien-Escobar--4-16-2025'],['Valerie June','The National - VA','Richmond, VA','Thursday','4/17/2025','7:30 PM','6864096','Valerie-June-4-17-2025'],['Chiodos','The National - VA','Richmond, VA','Friday','4/18/2025','7:00 PM','6808682','Chiodos-4-18-2025'],['Our House - The Music of Crosby, Stills, Nash & Young','The National - VA','Richmond, VA','Saturday','4/19/2025','8:00 PM','6967062','Our-House---The-Music-of-Crosby--Stills--Nash---Young-4-19-2025'],['Magdalena Bay','The National - VA','Richmond, VA','Monday','4/21/2025','7:30 PM','6883887','Magdalena-Bay-4-21-2025'],['Julien Baker & Torres','The National - VA','Richmond, VA','Wednesday','4/23/2025','7:30 PM','6969176','Julien-Baker---Torres-4-23-2025'],['Paul Reiser','The National - VA','Richmond, VA','Thursday','4/24/2025','7:30 PM','6954899','Paul-Reiser-4-24-2025'],['The Fray','The National - VA','Richmond, VA','Friday','4/25/2025','8:00 PM','6958939','The-Fray-4-25-2025'],['Ice Nine Kills','The National - VA','Richmond, VA','Tuesday','4/29/2025','7:00 PM','6987010','Ice-Nine-Kills-4-29-2025'],['Dying Fetus & Cradle Of Filth','The National - VA','Richmond, VA','Friday','5/2/2025','4:30 PM','6885098','Dying-Fetus---Cradle-Of-Filth-5-2-2025'],['The Dead South','The National - VA','Richmond, VA','Saturday','5/3/2025','8:00 PM','6945281','The-Dead-South-5-3-2025'],['Gillian Welch & David Rawlings','The National - VA','Richmond, VA','Sunday','5/4/2025','7:30 PM','6817972','Gillian-Welch---David-Rawlings-5-4-2025'],['Zoso - Led Zeppelin Tribute Band','The National - VA','Richmond, VA','Friday','5/9/2025','8:00 PM','6950027','Zoso---Led-Zeppelin-Tribute-Band-5-9-2025'],['BoyWithUke','The National - VA','Richmond, VA','Saturday','5/10/2025','8:00 PM','6834349','BoyWithUke-5-10-2025'],['Silverstein','The National - VA','Richmond, VA','Tuesday','5/13/2025','7:00 PM','6962141','Silverstein-5-13-2025'],['Livingston - Artist','The National - VA','Richmond, VA','Friday','5/16/2025','8:00 PM','6935855','Livingston---Artist-5-16-2025'],['MJ Lenderman and The Wind','The National - VA','Richmond, VA','Monday','5/19/2025','7:30 PM','6767190','MJ-Lenderman-and-The-Wind-5-19-2025'],['Lucius & Victoria Canal','The National - VA','Richmond, VA','Tuesday','5/20/2025','7:30 PM','6974416','Lucius---Victoria-Canal-5-20-2025'],['The Wonder Years','The National - VA','Richmond, VA','Wednesday','5/21/2025','7:30 PM','6956518','The-Wonder-Years-5-21-2025'],['Future Islands','The National - VA','Richmond, VA','Saturday','5/24/2025','8:00 PM','6944733','Future-Islands-5-24-2025'],['Nekrogoblikon','The National - VA','Richmond, VA','Sunday','5/25/2025','7:00 PM','6974255','Nekrogoblikon-5-25-2025'],['Corinne Bailey Rae','The National - VA','Richmond, VA','Tuesday','5/27/2025','7:00 PM','6963198','Corinne-Bailey-Rae-5-27-2025'],['The Menzingers','The National - VA','Richmond, VA','Thursday','5/29/2025','7:30 PM','6874631','The-Menzingers-5-29-2025'],['Ninja Sex Party','The National - VA','Richmond, VA','Monday','6/2/2025','8:00 PM','6765528','Ninja-Sex-Party-6-2-2025'],['Sunny Day Real Estate','The National - VA','Richmond, VA','Saturday','6/7/2025','8:00 PM','7035286','Sunny-Day-Real-Estate-6-7-2025'],['Robin Trower','The National - VA','Richmond, VA','Wednesday','6/11/2025','7:30 PM','6952900','Robin-Trower-6-11-2025'],['Jack's Mannequin','The National - VA','Richmond, VA','Thursday','6/12/2025','8:00 PM','6956342','Jack-s-Mannequin-6-12-2025'],['Illiterate Light & Mo Lowda and The Humble','The National - VA','Richmond, VA','Saturday','6/14/2025','8:00 PM','6953947','Illiterate-Light---Mo-Lowda-and-The-Humble-6-14-2025'],['Aimee Mann','The National - VA','Richmond, VA','Wednesday','6/18/2025','7:30 PM','7023055','Aimee-Mann-6-18-2025'],['Max McNown','The National - VA','Richmond, VA','Thursday','6/19/2025','7:30 PM','6993894','Max-McNown-6-19-2025'],['Coco Jones & Lady London','The National - VA','Richmond, VA','Tuesday','6/24/2025','7:30 PM','7009108','Coco-Jones---Lady-London-6-24-2025'],['Trevor Wallace','The National - VA','Richmond, VA','Thursday','6/26/2025','7:30 PM','6934347','Trevor-Wallace-6-26-2025'],['Mary Chapin Carpenter & Brandy Clark','The National - VA','Richmond, VA','Friday','8/15/2025','7:00 PM','6982042','Mary-Chapin-Carpenter---Brandy-Clark-8-15-2025'],['Muscadine Bloodline','The National - VA','Richmond, VA','Saturday','8/30/2025','8:00 PM','7034640','Muscadine-Bloodline-8-30-2025'],['Johnnyswim','The National - VA','Richmond, VA','Friday','10/17/2025','8:00 PM','6987197','Johnnyswim-10-17-2025'],['Chris Distefano','The National - VA','Richmond, VA','Friday','10/24/2025','7:00 PM','6998883','Chris-Distefano-10-24-2025'],['Lawrence - Band','The National - VA','Richmond, VA','Sunday','10/26/2025','7:30 PM','6870666','Lawrence---Band-10-26-2025'],['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');