//
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-02A
TN_Widget.CreateTable([['Hellfest: Avenged Sevenfold & Megadeth (Time: TBD) - Thursday','Hellfest Grounds','Clisson, France','Thursday','6/27/2024','12:00 PM','6131616','Hellfest--Avenged-Sevenfold---Megadeth--Time--TBD----Thursday-6-27-2024'],['Megadeth','Walmart AMP','Rogers, AR','Friday','8/2/2024','6:30 PM','6399765','Megadeth-8-2-2024'],['Megadeth','713 Music Hall','Houston, TX','Saturday','8/3/2024','6:30 PM','6399766','Megadeth-8-3-2024'],['Megadeth','Isleta Amphitheater','Albuquerque, NM','Monday','8/5/2024','6:30 PM','6399769','Megadeth-8-5-2024'],['Megadeth','Ball Arena','Denver, CO','Tuesday','8/6/2024','6:30 PM','6399771','Megadeth-8-6-2024'],['Megadeth','Talking Stick Resort Amphitheatre','Phoenix, AZ','Thursday','8/8/2024','6:30 PM','6399773','Megadeth-8-8-2024'],['Megadeth','YouTube Theater at Hollywood Park','Inglewood, CA','Friday','8/9/2024','6:30 PM','6399776','Megadeth-8-9-2024'],['Megadeth','Toyota Pavilion At Concord','Concord, CA','Saturday','8/10/2024','6:30 PM','6399778','Megadeth-8-10-2024'],['Megadeth','White River Amphitheatre','Auburn, WA','Monday','8/12/2024','6:30 PM','6399779','Megadeth-8-12-2024'],['Megadeth','Hayden Homes Amphitheater','Bend, OR','Tuesday','8/13/2024','6:00 PM','6399780','Megadeth-8-13-2024'],['Megadeth','Bakkt Theater At Planet Hollywood','Las Vegas, NV','Friday','8/16/2024','6:30 PM','6399783','Megadeth-8-16-2024'],['Megadeth','Maverik Center','Salt Lake City, UT','Saturday','8/17/2024','6:30 PM','6399728','Megadeth-8-17-2024'],['Megadeth','The Pavilion at Toyota Music Factory','Irving, TX','Tuesday','8/20/2024','6:30 PM','6399785','Megadeth-8-20-2024'],['Megadeth','Germania Insurance Amphitheater','Austin, TX','Wednesday','8/21/2024','6:15 PM','6399788','Megadeth-8-21-2024'],['Megadeth','Atrium Health Amphitheater','Macon, GA','Friday','8/23/2024','6:30 PM','6399793','Megadeth-8-23-2024'],['Megadeth','iTHINK Financial Amphitheatre','West Palm Beach, FL','Saturday','8/24/2024','6:30 PM','6399795','Megadeth-8-24-2024'],['Megadeth','Credit Union 1 Amphitheatre','Tinley Park, IL','Tuesday','9/3/2024','6:30 PM','6399796','Megadeth-9-3-2024'],['Megadeth','Marshall Health Network Arena','Huntington, WV','Thursday','9/5/2024','6:30 PM','6399797','Megadeth-9-5-2024'],['Megadeth','PNC Music Pavilion - Charlotte','Charlotte, NC','Friday','9/6/2024','6:30 PM','6399799','Megadeth-9-6-2024'],['Megadeth','Coastal Credit Union Music Park at Walnut Creek','Raleigh, NC','Saturday','9/7/2024','6:30 PM','6399800','Megadeth-9-7-2024'],['Megadeth','Santander Arena','Reading, PA','Monday','9/9/2024','6:30 PM','6399802','Megadeth-9-9-2024'],['Megadeth','MVP Arena','Albany, NY','Tuesday','9/10/2024','6:30 PM','6399804','Megadeth-9-10-2024'],['Megadeth','Leader Bank Pavilion','Boston, MA','Wednesday','9/11/2024','6:30 PM','6399806','Megadeth-9-11-2024'],['Megadeth','Bethel Woods Center For The Arts','Bethel, NY','Friday','9/13/2024','6:30 PM','6399810','Megadeth-9-13-2024'],['Megadeth','Northwell Health at Jones Beach Theater','Wantagh, NY','Saturday','9/14/2024','6:30 PM','6399811','Megadeth-9-14-2024'],['Megadeth','Virginia Credit Union LIVE! at Richmond Raceway','Richmond, VA','Sunday','9/15/2024','7:30 PM','6401923','Megadeth-9-15-2024'],['Megadeth','Riverbend Music Center','Cincinnati, OH','Tuesday','9/17/2024','6:30 PM','6399812','Megadeth-9-17-2024'],['Megadeth','Stage AE','Pittsburgh, PA','Wednesday','9/18/2024','5:00 PM','6401082','Megadeth-9-18-2024'],['Megadeth','Ruoff Music Center','Noblesville, IN','Friday','9/20/2024','6:30 PM','6399813','Megadeth-9-20-2024'],['Megadeth','Pine Knob Music Theatre','Clarkston, MI','Saturday','9/21/2024','6:30 PM','6399814','Megadeth-9-21-2024'],['Megadeth','The Armory - Minneapolis','Minneapolis, MN','Tuesday','9/24/2024','6:30 PM','6399816','Megadeth-9-24-2024'],['Megadeth','Hollywood Casino Amphitheatre - MO','Maryland Heights, MO','Thursday','9/26/2024','6:30 PM','6399817','Megadeth-9-26-2024'],['Megadeth','BankPlus Amphitheatre at Snowden Grove','Southaven, MS','Friday','9/27/2024','6:30 PM','6399818','Megadeth-9-27-2024'],['Megadeth','Nashville Municipal Auditorium','Nashville, TN','Saturday','9/28/2024','6:30 PM','6399819','Megadeth-9-28-2024']],'Megadeth','http://www.ticketnetwork.com/ticket/Megadeth-events.aspx');