//
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-03A
TN_Widget.CreateTable([['BottleRock Festival: Lorde, Foo Fighters & Backstreet Boys - 3 Day Pass','Napa Valley Expo','Napa, CA','Friday','5/22/2026','TBD','7178361','BottleRock-Festival--Lorde--Foo-Fighters---Backstreet-Boys---3-Day-Pass-5-22-2026'],['BottleRock Festival: Foo Fighters, LCD Soundsystem & Zedd - Saturday','Napa Valley Expo','Napa, CA','Saturday','5/23/2026','11:30 AM','7178363','BottleRock-Festival--Foo-Fighters--LCD-Soundsystem---Zedd---Saturday-5-23-2026'],['Let's Go Music Festival: Sublime & AJR - 2 Day Pass','Anne Arundel County Fairgrounds','Crownsville, MD','Friday','6/5/2026','TBD','7798176','Let-s-Go-Music-Festival--Sublime---AJR---2-Day-Pass-6-5-2026'],['Let's Go Music Festival: AJR, Natasha Bedingfield & Matt and Kim - Saturday','Anne Arundel County Fairgrounds','Crownsville, MD','Saturday','6/6/2026','2:30 PM','7798223','Let-s-Go-Music-Festival--AJR--Natasha-Bedingfield---Matt-and-Kim---Saturday-6-6-2026'],['AJR','Hero Arena At Mountain America Center','Idaho Falls, ID','Friday','6/26/2026','6:30 PM','7797974','AJR-6-26-2026'],['AJR','Ford Amphitheater - Colorado Springs','Colorado Springs, CO','Saturday','6/27/2026','6:30 PM','7798164','AJR-6-27-2026'],['AJR','Red Rocks Amphitheatre','Morrison, CO','Monday','6/29/2026','6:30 PM','7759413','AJR-6-29-2026'],['AJR','Red Rocks Amphitheatre','Morrison, CO','Tuesday','6/30/2026','6:30 PM','7759414','AJR-6-30-2026'],['AJR','Del Mar Fairgrounds','Del Mar, CA','Wednesday','7/1/2026','6:00 PM','7797860','AJR-7-1-2026'],['AJR','Hayden Homes Amphitheater','Bend, OR','Wednesday','7/8/2026','6:30 PM','7797975','AJR-7-8-2026'],['AJR','Outdoor Amphitheater At Ford Idaho Center ','Nampa, ID','Friday','7/10/2026','8:00 PM','7798162','AJR-7-10-2026'],['Blessing in Disguise: Macklemore & AJR','ONE Spokane Stadium','Spokane, WA','Saturday','7/11/2026','2:00 PM','7647360','Blessing-in-Disguise--Macklemore---AJR-7-11-2026'],['AJR','Bethlehem Musikfest - Wind Creek Steel Stage','Bethlehem, PA','Sunday','8/9/2026','7:00 PM','7629592','AJR-8-9-2026'],['AJR','Pacific Amphitheatre','Costa Mesa, CA','Wednesday','8/12/2026','7:30 PM','7735471','AJR-8-12-2026'],['AJR','Main Stage At Wisconsin State Fair Park','Milwaukee, WI','Saturday','8/15/2026','7:30 PM','7736179','AJR-8-15-2026'],['AJR','Iowa State Fair','Des Moines, IA','Wednesday','8/19/2026','8:00 PM','7744915','AJR-8-19-2026'],['AJR','Alaska State Fair Borealis Theatre','Palmer, AK','Friday','8/21/2026','7:00 PM','7718168','AJR-8-21-2026'],['AJR','Stir Cove At Harrahs','Council Bluffs, IA','Tuesday','9/1/2026','8:00 PM','7935067','AJR-9-1-2026'],['AJR & Quinn XCII','Minnesota State Fair Grandstand','Saint Paul, MN','Wednesday','9/2/2026','7:00 PM','7879734','AJR---Quinn-XCII-9-2-2026']],'AJR','http://www.ticketnetwork.com/ticket/AJR-events.aspx');