//
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([['Of Mice and Men - Band','The Echo Lounge and Music Hall','Dallas, TX','Tuesday','5/6/2025','7:30 PM','6955800','Of-Mice-and-Men---Band-5-6-2025'],['Of Mice and Men - Band','Granada - Lawrence','Lawrence, KS','Wednesday','5/7/2025','7:30 PM','6955488','Of-Mice-and-Men---Band-5-7-2025'],['Sonic Temple Art & Music Festival: Korn, Metallica, Linkin Park & Alice In Chains - 4 Day Pass','Historic Crew Stadium','Columbus, OH','Thursday','5/8/2025','TBD','6552411','Sonic-Temple-Art---Music-Festival--Korn--Metallica--Linkin-Park---Alice-In-Chains---4-Day-Pass-5-8-2025'],['Of Mice and Men - Band','Delmar Hall','St. Louis, MO','Friday','5/9/2025','8:00 PM','6955801','Of-Mice-and-Men---Band-5-9-2025'],['Sonic Temple Art & Music Festival: Linkin Park, Incubus & I Prevail - Saturday','Historic Crew Stadium','Columbus, OH','Saturday','5/10/2025','11:00 AM','6552414','Sonic-Temple-Art---Music-Festival--Linkin-Park--Incubus---I-Prevail---Saturday-5-10-2025'],['Of Mice and Men - Band','The Orange Peel','Asheville, NC','Sunday','5/11/2025','8:00 PM','6955489','Of-Mice-and-Men---Band-5-11-2025'],['Of Mice and Men - Band','Von Braun Center Mars Music Hall','Huntsville, AL','Tuesday','5/13/2025','7:30 PM','6955802','Of-Mice-and-Men---Band-5-13-2025'],['Of Mice and Men - Band','House Of Blues - New Orleans','New Orleans, LA','Wednesday','5/14/2025','7:30 PM','6955803','Of-Mice-and-Men---Band-5-14-2025'],['Of Mice and Men - Band','Club LA - Destin','Destin, FL','Friday','5/16/2025','7:30 PM','6955804','Of-Mice-and-Men---Band-5-16-2025'],['Of Mice and Men - Band','Music Farm - Charleston','Charleston, SC','Monday','5/19/2025','8:00 PM','6955799','Of-Mice-and-Men---Band-5-19-2025'],['Of Mice and Men - Band','Center Stage Theatre','Atlanta, GA','Tuesday','5/20/2025','7:30 PM','6955805','Of-Mice-and-Men---Band-5-20-2025'],['Of Mice and Men - Band','The Underground - Charlotte','Charlotte, NC','Wednesday','5/21/2025','7:30 PM','6955806','Of-Mice-and-Men---Band-5-21-2025'],['Of Mice and Men - Band','The Norva','Norfolk, VA','Friday','5/23/2025','7:30 PM','6955807','Of-Mice-and-Men---Band-5-23-2025'],['Of Mice and Men - Band','Mr Small's Theatre','Pittsburgh, PA','Saturday','5/24/2025','7:30 PM','6955490','Of-Mice-and-Men---Band-5-24-2025'],['South Carolina Ballet: The Nutcracker','Charleston Music Hall','Charleston, SC','Monday','12/1/2025','7:00 PM','6972022','South-Carolina-Ballet--The-Nutcracker-12-1-2025'],['South Carolina Ballet: The Nutcracker','Charleston Music Hall','Charleston, SC','Tuesday','12/2/2025','7:00 PM','6972073','South-Carolina-Ballet--The-Nutcracker-12-2-2025'],['South Carolina Ballet: The Nutcracker','Charleston Music Hall','Charleston, SC','Wednesday','12/3/2025','7:00 PM','6972023','South-Carolina-Ballet--The-Nutcracker-12-3-2025']],'Of Mice','http://www.ticketnetwork.com/ticket/Of-Mice-events.aspx');