//
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-04A
TN_Widget.CreateTable([['Switchfoot','Hell at The Masquerade - GA','Atlanta, GA','Thursday','5/2/2024','7:30 PM','6308481','Switchfoot-5-2-2024'],['Switchfoot','Grand Sierra Theatre','Reno, NV','Friday','6/7/2024','8:00 PM','6329253','Switchfoot-6-7-2024'],['Switchfoot','Morongo Casino Resort and Spa','Cabazon, CA','Friday','6/21/2024','9:00 PM','6298735','Switchfoot-6-21-2024'],['Creed, Switchfoot & Finger Eleven','Resch Center','Green Bay, WI','Wednesday','7/17/2024','7:00 PM','6045197','Creed--Switchfoot---Finger-Eleven-7-17-2024'],['Moondance Jam Festival: Creed, Switchfoot & Finger Eleven - 3 Day Pass','Moondance Jam','Walker, MN','Thursday','7/18/2024','TBD','6242277','Moondance-Jam-Festival--Creed--Switchfoot---Finger-Eleven---3-Day-Pass-7-18-2024'],['Creed, Switchfoot & Finger Eleven','CCNB Amphitheatre at Heritage Park','Simpsonville, SC','Tuesday','7/23/2024','7:00 PM','6045199','Creed--Switchfoot---Finger-Eleven-7-23-2024'],['Switchfoot, Blue October & Matt Nathanson','Skyla Credit Union Amphitheatre','Charlotte, NC','Wednesday','7/24/2024','6:00 PM','6372377','Switchfoot--Blue-October---Matt-Nathanson-7-24-2024'],['Switchfoot, Blue October & Matt Nathanson','Red Hat Amphitheater','Raleigh, NC','Thursday','7/25/2024','6:00 PM','6372379','Switchfoot--Blue-October---Matt-Nathanson-7-25-2024'],['Switchfoot, Blue October & Matt Nathanson','Salem Civic Center','Salem, VA','Friday','7/26/2024','6:30 PM','6372381','Switchfoot--Blue-October---Matt-Nathanson-7-26-2024'],['Switchfoot, Blue October & Matt Nathanson','Wind Creek Event Center','Bethlehem, PA','Saturday','7/27/2024','8:00 PM','6372382','Switchfoot--Blue-October---Matt-Nathanson-7-27-2024'],['Switchfoot, Blue October & Matt Nathanson','Hampton Beach Casino Ballroom','Hampton, NH','Sunday','7/28/2024','7:00 PM','6372383','Switchfoot--Blue-October---Matt-Nathanson-7-28-2024'],['Switchfoot, Blue October & Matt Nathanson','The Rooftop at Pier 17','New York, NY','Tuesday','7/30/2024','7:00 PM','6372384','Switchfoot--Blue-October---Matt-Nathanson-7-30-2024'],['Switchfoot, Blue October & Matt Nathanson','The Sound at Coachman Park','Clearwater, FL','Friday','8/2/2024','6:30 PM','6372370','Switchfoot--Blue-October---Matt-Nathanson-8-2-2024'],['Switchfoot, Blue October & Matt Nathanson','St. Augustine Amphitheatre','St. Augustine, FL','Saturday','8/3/2024','6:30 PM','6372371','Switchfoot--Blue-October---Matt-Nathanson-8-3-2024'],['Switchfoot, Blue October & Matt Nathanson','Pompano Beach Amphitheatre','Pompano Beach, FL','Sunday','8/4/2024','6:30 PM','6372373','Switchfoot--Blue-October---Matt-Nathanson-8-4-2024'],['Switchfoot, Blue October & Matt Nathanson','Simmons Bank Arena','North Little Rock, AR','Wednesday','8/7/2024','6:00 PM','6372385','Switchfoot--Blue-October---Matt-Nathanson-8-7-2024'],['Switchfoot, Blue October & Matt Nathanson','WhiteWater Amphitheater','New Braunfels, TX','Thursday','8/8/2024','6:30 PM','6372642','Switchfoot--Blue-October---Matt-Nathanson-8-8-2024'],['Switchfoot, Blue October & Matt Nathanson','Cook's Garage','Lubbock, TX','Friday','8/9/2024','6:30 PM','6381906','Switchfoot--Blue-October---Matt-Nathanson-8-9-2024'],['Switchfoot, Blue October & Matt Nathanson','Fiddlers Green Amphitheatre','Englewood, CO','Saturday','8/10/2024','6:30 PM','6372366','Switchfoot--Blue-October---Matt-Nathanson-8-10-2024'],['Switchfoot, Blue October & Matt Nathanson','GrindersKC','Kansas City, MO','Sunday','8/11/2024','6:30 PM','6372647','Switchfoot--Blue-October---Matt-Nathanson-8-11-2024'],['Switchfoot, Blue October & Matt Nathanson','MegaCorp Pavilion','Newport, KY','Wednesday','8/14/2024','5:00 PM','6372358','Switchfoot--Blue-October---Matt-Nathanson-8-14-2024'],['Switchfoot, Blue October & Matt Nathanson','Holliday Park','Indianapolis, IN','Thursday','8/15/2024','6:00 PM','6372650','Switchfoot--Blue-October---Matt-Nathanson-8-15-2024'],['Switchfoot, Blue October & Matt Nathanson','Saint Louis Music Park','Maryland Heights, MO','Friday','8/16/2024','6:30 PM','6372388','Switchfoot--Blue-October---Matt-Nathanson-8-16-2024'],['Switchfoot, Blue October & Matt Nathanson','The Venue at Horseshoe Casino','Hammond, IN','Saturday','8/17/2024','6:30 PM','6372390','Switchfoot--Blue-October---Matt-Nathanson-8-17-2024'],['Switchfoot, Blue October & Matt Nathanson','KEMBA Live!','Columbus, OH','Sunday','8/18/2024','5:00 PM','6372360','Switchfoot--Blue-October---Matt-Nathanson-8-18-2024'],['Switchfoot, Blue October & Matt Nathanson','Pinewood Bowl Theater','Lincoln, NE','Wednesday','8/21/2024','6:00 PM','6372391','Switchfoot--Blue-October---Matt-Nathanson-8-21-2024'],['Switchfoot, Blue October & Matt Nathanson','Amphitheater at Las Colonias Park','Grand Junction, CO','Friday','8/23/2024','6:30 PM','6372361','Switchfoot--Blue-October---Matt-Nathanson-8-23-2024'],['Switchfoot, Blue October & Matt Nathanson','Utah First Credit Union Amphitheatre','Salt Lake City, UT','Saturday','8/24/2024','6:30 PM','6372392','Switchfoot--Blue-October---Matt-Nathanson-8-24-2024'],['Switchfoot, Blue October & Matt Nathanson','Outdoor Amphitheater At Ford Idaho Center ','Nampa, ID','Sunday','8/25/2024','6:30 PM','6372356','Switchfoot--Blue-October---Matt-Nathanson-8-25-2024'],['Switchfoot, Blue October & Matt Nathanson','Ironstone Amphitheatre At Ironstone Vineyards','Murphys, CA','Thursday','8/29/2024','6:30 PM','6391637','Switchfoot--Blue-October---Matt-Nathanson-8-29-2024'],['Switchfoot, Blue October & Matt Nathanson','Mountain Winery','Saratoga, CA','Friday','8/30/2024','6:30 PM','6348553','Switchfoot--Blue-October---Matt-Nathanson-8-30-2024'],['Switchfoot, Blue October & Matt Nathanson','The Theater at Virgin Hotels - Las Vegas','Las Vegas, NV','Saturday','8/31/2024','6:30 PM','6372364','Switchfoot--Blue-October---Matt-Nathanson-8-31-2024'],['Switchfoot, Blue October & Matt Nathanson','Arizona Financial Theatre','Phoenix, AZ','Sunday','9/1/2024','6:30 PM','6372393','Switchfoot--Blue-October---Matt-Nathanson-9-1-2024'],['Switchfoot, Blue October & Matt Nathanson','Cuthbert Amphitheater','Eugene, OR','Thursday','9/5/2024','6:00 PM','6372667','Switchfoot--Blue-October---Matt-Nathanson-9-5-2024'],['Switchfoot, Blue October & Matt Nathanson','Pavilion at Riverfront','Spokane, WA','Friday','9/6/2024','6:00 PM','6372365','Switchfoot--Blue-October---Matt-Nathanson-9-6-2024'],['Switchfoot, Blue October & Matt Nathanson','Marymoor Park','Redmond, WA','Saturday','9/7/2024','6:00 PM','6372395','Switchfoot--Blue-October---Matt-Nathanson-9-7-2024'],['Oceans Calling Festival: Blink-182, The Killers & Dave Matthews Band - 3 Day Pass','Ocean City Inlet','Ocean City, MD','Friday','9/27/2024','TBD','6257456','Oceans-Calling-Festival--Blink-182--The-Killers---Dave-Matthews-Band---3-Day-Pass-9-27-2024'],['Oceans Calling Festival: The Killers, The Offspring & Rebelution - Saturday (Time: TBD)','Ocean City Inlet','Ocean City, MD','Saturday','9/28/2024','12:00 PM','6257461','Oceans-Calling-Festival--The-Killers--The-Offspring---Rebelution---Saturday--Time--TBD--9-28-2024']],'Switchfoot','http://www.ticketnetwork.com/ticket/Switchfoot-events.aspx');