//
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-03A
TN_Widget.CreateTable([['Kansas USA Wrestling','Landon Arena At Stormont Vail Events Center','Topeka, KS','Saturday','3/15/2025','6:00 AM','7007274','Kansas-USA-Wrestling-3-15-2025'],['Kansas USA Wrestling','Landon Arena At Stormont Vail Events Center','Topeka, KS','Sunday','3/16/2025','6:00 AM','7007414','Kansas-USA-Wrestling-3-16-2025'],['Carter Vail','The Independent','San Francisco, CA','Wednesday','3/26/2025','8:00 PM','6977131','Carter-Vail-3-26-2025'],['Carter Vail','Teragram Ballroom','Los Angeles, CA','Thursday','3/27/2025','8:00 PM','6978422','Carter-Vail-3-27-2025'],['The Harlem Globetrotters','Landon Arena At Stormont Vail Events Center','Topeka, KS','Friday','3/28/2025','7:00 PM','6710945','The-Harlem-Globetrotters-3-28-2025'],['Apres at The Amp: Jungle & L'Imperatrice','Gerald R. Ford Amphitheater','Vail, CO','Friday','4/4/2025','5:30 PM','6835016','Apres-at-The-Amp--Jungle---L-Imperatrice-4-4-2025'],['Apres at The Amp: Goth Babe','Gerald R. Ford Amphitheater','Vail, CO','Saturday','4/5/2025','5:30 PM','6834538','Apres-at-The-Amp--Goth-Babe-4-5-2025'],['Hairball','Landon Arena At Stormont Vail Events Center','Topeka, KS','Friday','4/25/2025','7:00 PM','6894104','Hairball-4-25-2025'],['Leon Bridges & Kashus Culpepper','Gerald R. Ford Amphitheater','Vail, CO','Sunday','5/25/2025','8:00 PM','6834529','Leon-Bridges---Kashus-Culpepper-5-25-2025'],['Michael Franti & Spearhead','Gerald R. Ford Amphitheater','Vail, CO','Thursday','5/29/2025','7:30 PM','6837074','Michael-Franti---Spearhead-5-29-2025'],['Louis C.K.','Gerald R. Ford Amphitheater','Vail, CO','Sunday','6/1/2025','7:30 PM','7010954','Louis-C-K--6-1-2025'],['Trombone Shorty And Orleans Avenue','Gerald R. Ford Amphitheater','Vail, CO','Thursday','6/5/2025','7:00 PM','6872255','Trombone-Shorty-And-Orleans-Avenue-6-5-2025'],['Molly Tuttle and Golden Highway & The California Honeydrops','Gerald R. Ford Amphitheater','Vail, CO','Friday','6/6/2025','6:30 PM','6921604','Molly-Tuttle-and-Golden-Highway---The-California-Honeydrops-6-6-2025'],['Steel Pulse, Mike Posner & The Original Wailers','Gerald R. Ford Amphitheater','Vail, CO','Saturday','6/7/2025','6:30 PM','7025205','Steel-Pulse--Mike-Posner---The-Original-Wailers-6-7-2025'],['Trevor Hall & Fruit Bats','Gerald R. Ford Amphitheater','Vail, CO','Saturday','6/14/2025','7:00 PM','7035325','Trevor-Hall---Fruit-Bats-6-14-2025'],['O.A.R. & Blind Melon','Gerald R. Ford Amphitheater','Vail, CO','Friday','6/20/2025','7:30 PM','6820470','O-A-R----Blind-Melon-6-20-2025'],['The String Cheese Incident','Gerald R. Ford Amphitheater','Vail, CO','Friday','8/8/2025','6:30 PM','6972024','The-String-Cheese-Incident-8-8-2025'],['The String Cheese Incident','Gerald R. Ford Amphitheater','Vail, CO','Saturday','8/9/2025','6:30 PM','6972025','The-String-Cheese-Incident-8-9-2025'],['Melissa Etheridge','Gerald R. Ford Amphitheater','Vail, CO','Tuesday','8/12/2025','7:30 PM','6960059','Melissa-Etheridge-8-12-2025'],['Wilco','Gerald R. Ford Amphitheater','Vail, CO','Sunday','8/17/2025','7:00 PM','7021009','Wilco-8-17-2025'],['Joe Russo's Almost Dead','Gerald R. Ford Amphitheater','Vail, CO','Thursday','8/21/2025','6:30 PM','7032722','Joe-Russo-s-Almost-Dead-8-21-2025']],'Vail','https://www.ticketnetwork.com/ticket/Vail-events.aspx');