//
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([['Yelawolf','Old Concrete Street Amphitheater','Corpus Christi, TX','Friday','11/7/2025','7:00 PM','7281205','Yelawolf-11-7-2025'],['Yelawolf','The Aztec Theatre ','San Antonio, TX','Saturday','11/8/2025','8:00 PM','7283468','Yelawolf-11-8-2025'],['Yelawolf','Tannahill's Tavern and Music Hall','Fort Worth, TX','Sunday','11/9/2025','8:00 PM','7283409','Yelawolf-11-9-2025'],['Yelawolf','The Plant','Dothan, AL','Thursday','11/13/2025','8:00 PM','7283407','Yelawolf-11-13-2025'],['Yelawolf','The Signal - TN','Chattanooga, TN','Friday','11/14/2025','8:00 PM','7283406','Yelawolf-11-14-2025'],['Yelawolf','Little Rock Hall - AR','Little Rock, AR','Saturday','11/15/2025','8:00 PM','7283408','Yelawolf-11-15-2025'],['Yelawolf','Minglewood Hall','Memphis, TN','Sunday','11/16/2025','8:00 PM','7283472','Yelawolf-11-16-2025'],['Yelawolf','EPIC Event Center - WI','Green Bay, WI','Tuesday','11/18/2025','7:30 PM','7283474','Yelawolf-11-18-2025'],['Yelawolf','Uptown Theater - KC','Kansas City, MO','Thursday','11/20/2025','8:00 PM','7283476','Yelawolf-11-20-2025'],['Yelawolf','Uptown Theatre Minneapolis','Minneapolis, MN','Friday','11/21/2025','8:00 PM','7283477','Yelawolf-11-21-2025'],['Yelawolf','The Sylvee - WI','Madison, WI','Saturday','11/22/2025','8:00 PM','7283479','Yelawolf-11-22-2025'],['Yelawolf','House Of Blues - Chicago','Chicago, IL','Sunday','11/23/2025','8:00 PM','7283481','Yelawolf-11-23-2025']],'Yelawolf','http://www.ticketnetwork.com/ticket/Yelawolf-events.aspx');