//
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([['Atmosphere','EPIC Event Center - WI','Green Bay, WI','Friday','1/31/2025','8:00 PM','6792030','Atmosphere-1-31-2025'],['Atmosphere','Clyde Theatre','Fort Wayne, IN','Saturday','2/1/2025','8:00 PM','6788180','Atmosphere-2-1-2025'],['Atmosphere','Roxian Theatre','McKees Rocks, PA','Sunday','2/2/2025','6:30 PM','6788170','Atmosphere-2-2-2025'],['Atmosphere','Pickle Barrel Nightclub','Killington, VT','Tuesday','2/4/2025','7:00 PM','6792016','Atmosphere-2-4-2025'],['Atmosphere','State Theatre - ME','Portland, ME','Thursday','2/6/2025','7:30 PM','6788171','Atmosphere-2-6-2025'],['Atmosphere','Empire Live','Albany, NY','Friday','2/7/2025','7:30 PM','6788172','Atmosphere-2-7-2025'],['Atmosphere','Worcester Palladium','Worcester, MA','Saturday','2/8/2025','7:30 PM','6788178','Atmosphere-2-8-2025'],['Atmosphere','Brooklyn Bowl - NY','Brooklyn, NY','Monday','2/10/2025','7:30 PM','6788173','Atmosphere-2-10-2025'],['Atmosphere','The Queen - Wilmington','Wilmington, DE','Thursday','2/13/2025','8:00 PM','6788174','Atmosphere-2-13-2025'],['Atmosphere','Penns Peak','Jim Thorpe, PA','Friday','2/14/2025','7:30 PM','6788175','Atmosphere-2-14-2025'],['Atmosphere','Hollywood Casino at Charles Town Races','Charles Town, WV','Saturday','2/15/2025','9:00 PM','6788176','Atmosphere-2-15-2025'],['Atmosphere','Starland Ballroom','Sayreville, NJ','Sunday','2/16/2025','7:30 PM','6788177','Atmosphere-2-16-2025'],['Reggae Rise Up Florida: Shaggy, Slightly Stoopid, Rebelution & Dirty Heads - 4 Day Pass','Vinoy Park','St. Petersburg, FL','Thursday','3/13/2025','TBD','6340871','Reggae-Rise-Up-Florida--Shaggy--Slightly-Stoopid--Rebelution---Dirty-Heads---4-Day-Pass-3-13-2025'],['Reggae Rise Up Florida: Slightly Stoopid, Rebelution & Dirty Heads - 3 Day Pass','Vinoy Park','St. Petersburg, FL','Friday','3/14/2025','TBD','6340872','Reggae-Rise-Up-Florida--Slightly-Stoopid--Rebelution---Dirty-Heads---3-Day-Pass-3-14-2025'],['Reggae Rise Up Florida: Dirty Heads, The Movement & Atmosphere - Sunday','Vinoy Park','St. Petersburg, FL','Sunday','3/16/2025','12:00 PM','6584530','Reggae-Rise-Up-Florida--Dirty-Heads--The-Movement---Atmosphere---Sunday-3-16-2025']],'Atmosphere','http://www.ticketnetwork.com/ticket/Atmosphere-events.aspx');