//
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([['Breakaway: Another World: Excision, Nghtmre, Of The Trees & Svdden Death - 2 Day Pass','zMax Dragway At Charlotte Motor Speedway','Concord, NC','Friday','5/3/2024','TBD','6117861','Breakaway--Another-World--Excision--Nghtmre--Of-The-Trees---Svdden-Death---2-Day-Pass-5-3-2024'],['Excision - 2 Day Pass ','Denver Coliseum','Denver, CO','Friday','5/31/2024','TBD','6360502','Excision---2-Day-Pass--5-31-2024'],['Excision','Denver Coliseum','Denver, CO','Friday','5/31/2024','5:30 PM','5920489','Excision-5-31-2024'],['Excision','Denver Coliseum','Denver, CO','Saturday','6/1/2024','5:00 PM','5920490','Excision-6-1-2024'],['Excision','ReelWorks Denver','Denver, CO','Saturday','6/1/2024','10:00 PM','6400811','Excision-6-1-2024'],['Excision','KettleHouse Amphitheater','Bonner, MT','Tuesday','6/4/2024','8:00 PM','5919977','Excision-6-4-2024'],['Excision','Outdoor Amphitheater At Ford Idaho Center ','Nampa, ID','Thursday','6/6/2024','8:00 PM','5919830','Excision-6-6-2024'],['Excision','The Great Saltair','Magna, UT','Saturday','6/8/2024','6:30 PM','5919979','Excision-6-8-2024'],['Excision','The Great Saltair','Magna, UT','Sunday','6/9/2024','6:30 PM','5919980','Excision-6-9-2024'],['Excision','Cable Dahmer Arena','Independence, MO','Tuesday','6/11/2024','6:30 PM','5979752','Excision-6-11-2024'],['Excision','Eagles Ballroom','Milwaukee, WI','Thursday','6/13/2024','7:30 PM','6322081','Excision-6-13-2024'],['Excision','Stage AE','Pittsburgh, PA','Saturday','6/15/2024','6:00 PM','6323655','Excision-6-15-2024'],['Excision','KEMBA Live!','Columbus, OH','Sunday','6/16/2024','6:00 PM','6323583','Excision-6-16-2024'],['Excision','Vibrant Music Hall','Waukee, IA','Tuesday','6/18/2024','6:30 PM','5979756','Excision-6-18-2024'],['Excision','The Criterion - Oklahoma City','Oklahoma City, OK','Wednesday','6/19/2024','6:30 PM','5925302','Excision-6-19-2024'],['Electric Forest: Subtronics, Pretty Lights, Excision & Everything Always - 4 Day Pass','Electric Forest Festival Grounds','Montague, MI','Thursday','6/20/2024','TBD','6109980','Electric-Forest--Subtronics--Pretty-Lights--Excision---Everything-Always---4-Day-Pass-6-20-2024'],['Excision','Boeing Center at Tech Port','San Antonio, TX','Thursday','6/20/2024','8:00 PM','6322080','Excision-6-20-2024'],['Excision - 2 Day Pass ','The Pavilion at Toyota Music Factory','Irving, TX','Friday','6/21/2024','TBD','5919985','Excision---2-Day-Pass--6-21-2024'],['Excision','The Pavilion at Toyota Music Factory','Irving, TX','Friday','6/21/2024','8:00 PM','5919983','Excision-6-21-2024'],['Excision','The Pavilion at Toyota Music Factory','Irving, TX','Saturday','6/22/2024','8:00 PM','5919984','Excision-6-22-2024'],['Electric Forest: Excision & Umphrey's McGee (Time: TBD) - Sunday','Electric Forest Festival Grounds','Montague, MI','Sunday','6/23/2024','12:00 PM','6234483','Electric-Forest--Excision---Umphrey-s-McGee--Time--TBD----Sunday-6-23-2024']],'Excision','http://www.ticketnetwork.com/ticket/Excision-events.aspx');