//
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([['Sematary','Emo's East','Austin, TX','Saturday','4/27/2024','7:00 PM','6232255','Sematary-4-27-2024'],['The Alarm','Emo's East','Austin, TX','Thursday','5/2/2024','7:00 PM','6220327','The-Alarm-5-2-2024'],['Mr. Bungle','Emo's East','Austin, TX','Tuesday','5/7/2024','8:00 PM','6229553','Mr--Bungle-5-7-2024'],['Grateful Shred & Circles Around the Sun','Emo's East','Austin, TX','Friday','5/10/2024','8:00 PM','6306702','Grateful-Shred---Circles-Around-the-Sun-5-10-2024'],['Steel Panther','Emo's East','Austin, TX','Friday','5/17/2024','8:00 PM','6256374','Steel-Panther-5-17-2024'],['Cumbiatron','Emo's East','Austin, TX','Saturday','5/18/2024','9:00 PM','6349976','Cumbiatron-5-18-2024'],['Aaron May','Emo's East','Austin, TX','Tuesday','5/21/2024','8:00 PM','6308300','Aaron-May-5-21-2024'],['In Flames','Emo's East','Austin, TX','Friday','5/24/2024','6:00 PM','6227314','In-Flames-5-24-2024'],['From Ashes to New','Emo's East','Austin, TX','Tuesday','5/28/2024','6:00 PM','6293025','From-Ashes-to-New-5-28-2024'],['Thievery Corporation','Emo's East','Austin, TX','Thursday','5/30/2024','7:00 PM','6227937','Thievery-Corporation-5-30-2024'],['Teezo Touchdown','Emo's East','Austin, TX','Friday','5/31/2024','8:00 PM','6152306','Teezo-Touchdown-5-31-2024'],['Leo Skepi','Emo's East','Austin, TX','Saturday','6/1/2024','6:30 PM','6312787','Leo-Skepi-6-1-2024'],['Ocean Alley','Emo's East','Austin, TX','Wednesday','6/12/2024','7:00 PM','6130336','Ocean-Alley-6-12-2024'],['Yoi Toki: Macross 82-99','Emo's East','Austin, TX','Thursday','6/13/2024','9:00 PM','6386634','Yoi-Toki--Macross-82-99-6-13-2024'],['Frank Turner and The Sleeping Souls','Emo's East','Austin, TX','Friday','6/14/2024','6:30 PM','6254000','Frank-Turner-and-The-Sleeping-Souls-6-14-2024'],['BRESH','Emo's East','Austin, TX','Saturday','6/15/2024','9:30 PM','6402827','BRESH-6-15-2024'],['Matisse','Emo's East','Austin, TX','Sunday','6/16/2024','7:00 PM','6381942','Matisse-6-16-2024'],['d4vd','Emo's East','Austin, TX','Tuesday','6/18/2024','8:00 PM','6330622','d4vd-6-18-2024'],['DIIV','Emo's East','Austin, TX','Friday','6/21/2024','8:00 PM','6289806','DIIV-6-21-2024'],['Hobo Johnson & The Lovemakers','Emo's East','Austin, TX','Wednesday','6/26/2024','7:00 PM','6344179','Hobo-Johnson---The-Lovemakers-6-26-2024'],['Jose Madero','Emo's East','Austin, TX','Friday','6/28/2024','8:00 PM','6314573','Jose-Madero-6-28-2024'],['Pvris','Emo's East','Austin, TX','Saturday','7/6/2024','6:00 PM','6205071','Pvris-7-6-2024'],['mxmtoon','Emo's East','Austin, TX','Monday','7/8/2024','8:00 PM','6328793','mxmtoon-7-8-2024'],['T.K. Kirkland','Emo's East','Austin, TX','Saturday','7/20/2024','6:00 PM','6307108','T-K--Kirkland-7-20-2024'],['The Living Tombstone','Emo's East','Austin, TX','Saturday','7/27/2024','7:00 PM','6371722','The-Living-Tombstone-7-27-2024'],['SiR - Artist','Emo's East','Austin, TX','Sunday','8/11/2024','8:00 PM','6359879','SiR---Artist-8-11-2024'],['Magic Men Australia','Emo's East','Austin, TX','Tuesday','8/13/2024','7:30 PM','5938146','Magic-Men-Australia-8-13-2024'],['Moenia','Emo's East','Austin, TX','Sunday','8/25/2024','7:00 PM','6303136','Moenia-8-25-2024'],['The Airborne Toxic Event','Emo's East','Austin, TX','Wednesday','9/11/2024','7:00 PM','6370308','The-Airborne-Toxic-Event-9-11-2024'],['Crumb','Emo's East','Austin, TX','Tuesday','10/15/2024','8:00 PM','6404096','Crumb-10-15-2024'],['Opeth','Emo's East','Austin, TX','Thursday','10/24/2024','7:30 PM','6399904','Opeth-10-24-2024'],['Tori Kelly','Emo's East','Austin, TX','Wednesday','10/30/2024','7:00 PM','6370290','Tori-Kelly-10-30-2024'],['Tokyo Police Club','Emo's East','Austin, TX','Saturday','11/9/2024','7:00 PM','6317971','Tokyo-Police-Club-11-9-2024'],['Becky Hill','Emo's East','Austin, TX','Friday','11/15/2024','8:00 PM','6358374','Becky-Hill-11-15-2024'],['Ride - Band','Emo's East','Austin, TX','Saturday','12/14/2024','8:00 PM','6374712','Ride---Band-12-14-2024'],['Thao and The Get Down Stay Down','Emo's East','Austin, TX','Tuesday','8/5/2070','TBD','4433424','Thao-and-The-Get-Down-Stay-Down-8-5-2070'],['Miz Cracker: American Woman','Emo's East','Austin, TX','Saturday','2/28/2071','7:00 PM','4560779','Miz-Cracker--American-Woman-2-28-2071']],'Emos','http://www.ticketnetwork.com/ticket/Emos-events.aspx');