//
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-01B
TN_Widget.CreateTable([['Kaleo','Dillon Amphitheater','Dillon, CO','Friday','6/14/2024','7:00 PM','6340767','Kaleo-6-14-2024'],['Kaleo','Red Rocks Amphitheatre','Morrison, CO','Sunday','6/16/2024','7:30 PM','6252824','Kaleo-6-16-2024'],['Kaleo','Red Butte Garden','Salt Lake City, UT','Monday','6/17/2024','7:30 PM','6332484','Kaleo-6-17-2024'],['Kaleo','Petco Park','San Diego, CA','Wednesday','6/19/2024','7:30 PM','6340499','Kaleo-6-19-2024'],['Kaleo','The Wiltern','Los Angeles, CA','Thursday','6/20/2024','8:00 PM','6340502','Kaleo-6-20-2024'],['Kaleo','The Wiltern','Los Angeles, CA','Friday','6/21/2024','8:00 PM','6412163','Kaleo-6-21-2024'],['Kaleo','The Masonic - San Francisco','San Francisco, CA','Sunday','6/23/2024','8:00 PM','6340503','Kaleo-6-23-2024'],['Kaleo','McMenamins Grand Lodge','Forest Grove, OR','Tuesday','6/25/2024','6:30 PM','6340766','Kaleo-6-25-2024'],['Kaleo','Remlinger Farms - WA','Carnation, WA','Wednesday','6/26/2024','6:30 PM','6340504','Kaleo-6-26-2024'],['Kaleo','Hayden Homes Amphitheater','Bend, OR','Sunday','8/25/2024','7:00 PM','6412166','Kaleo-8-25-2024'],['Kaleo','Outlaw Field at The Idaho Botanical Garden','Boise, ID','Tuesday','8/27/2024','7:00 PM','6412168','Kaleo-8-27-2024'],['Kaleo','BECU Live at Northern Quest Resort & Casino','Airway Heights, WA','Wednesday','8/28/2024','8:00 PM','6412169','Kaleo-8-28-2024'],['Kaleo','KettleHouse Amphitheater','Bonner, MT','Thursday','8/29/2024','8:00 PM','6412170','Kaleo-8-29-2024'],['Kaleo','Edmonton EXPO','Edmonton, Canada','Saturday','8/31/2024','7:00 PM','6412193','Kaleo-8-31-2024'],['Kaleo','Grey Eagle Resort & Casino','Calgary, Canada','Monday','9/2/2024','8:00 PM','6412194','Kaleo-9-2-2024'],['Kaleo','Manitoba Centennial Concert Hall','Winnipeg, Canada','Wednesday','9/4/2024','8:00 PM','6412195','Kaleo-9-4-2024'],['Kaleo','Mystic Lake Showroom','Prior Lake, MN','Thursday','9/5/2024','7:00 PM','6412173','Kaleo-9-5-2024'],['Kaleo','The Fillmore - Detroit','Detroit, MI','Saturday','9/7/2024','7:00 PM','6412174','Kaleo-9-7-2024'],['Kaleo','Coca-Cola Coliseum','Toronto, Canada','Sunday','9/8/2024','8:00 PM','6412196','Kaleo-9-8-2024'],['Kaleo','MTelus','Montreal, Canada','Monday','9/9/2024','8:00 PM','6412197','Kaleo-9-9-2024'],['Kaleo','Roadrunner','Brighton, MA','Wednesday','9/11/2024','8:00 PM','6412257','Kaleo-9-11-2024'],['Kaleo','The Rooftop at Pier 17','New York, NY','Friday','9/13/2024','7:00 PM','6412176','Kaleo-9-13-2024'],['Kaleo','The Anthem - D.C.','Washington, DC','Monday','9/16/2024','8:00 PM','6412178','Kaleo-9-16-2024'],['Kaleo','Red Hat Amphitheater','Raleigh, NC','Tuesday','9/17/2024','8:00 PM','6412179','Kaleo-9-17-2024'],['Bourbon & Beyond: Tyler Childers, Zach Bryan, Dave Matthews Band & Neil Young - 4 Day Pass','Highland Festival Grounds at Kentucky Expo Center','Louisville, KY','Thursday','9/19/2024','TBD','5956614','Bourbon---Beyond--Tyler-Childers--Zach-Bryan--Dave-Matthews-Band---Neil-Young---4-Day-Pass-9-19-2024'],['Kaleo','Skyla Credit Union Amphitheatre','Charlotte, NC','Thursday','9/19/2024','8:00 PM','6412180','Kaleo-9-19-2024'],['Kaleo','Cadence Bank Amphitheatre at Chastain Park','Atlanta, GA','Friday','9/20/2024','8:00 PM','6412182','Kaleo-9-20-2024'],['Kaleo','Rabbit Rabbit At The Orange Peel','Asheville, NC','Tuesday','9/24/2024','7:00 PM','6412183','Kaleo-9-24-2024'],['Kaleo','Avondale Brewing Company','Birmingham, AL','Wednesday','9/25/2024','7:00 PM','6412184','Kaleo-9-25-2024'],['Kaleo','The Pavilion at Toyota Music Factory','Irving, TX','Friday','9/27/2024','8:00 PM','6412186','Kaleo-9-27-2024'],['Kaleo','Moody Amphitheater','Austin, TX','Saturday','9/28/2024','8:00 PM','6412187','Kaleo-9-28-2024'],['Kaleo','Bayou Music Center','Houston, TX','Monday','9/30/2024','8:00 PM','6412188','Kaleo-9-30-2024'],['Kaleo','The Chicago Theatre','Chicago, IL','Thursday','10/3/2024','8:00 PM','6412189','Kaleo-10-3-2024'],['Kaleo','The Factory - Chesterfield','St. Louis, MO','Friday','10/4/2024','8:00 PM','6412190','Kaleo-10-4-2024'],['Kaleo','The Midland Theatre - MO','Kansas City, MO','Sunday','10/6/2024','8:00 PM','6412258','Kaleo-10-6-2024'],['Kaleo','Roxian Theatre','McKees Rocks, PA','Wednesday','10/9/2024','8:00 PM','6412191','Kaleo-10-9-2024'],['Kaleo','House Of Blues - Cleveland','Cleveland, OH','Thursday','10/10/2024','7:00 PM','6412192','Kaleo-10-10-2024']],'Kaleo','http://www.ticketnetwork.com/ticket/Kaleo-events.aspx');