//
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-03A
TN_Widget.CreateTable([['Borderland Festival: The Black Crowes, CAAMP & Marcus King - 3 Day Pass','Knox Farm State Park','East Aurora, NY','Friday','9/13/2024','TBD','6556267','Borderland-Festival--The-Black-Crowes--CAAMP---Marcus-King---3-Day-Pass-9-13-2024'],['Borderland Festival: The Black Crowes, Cory Wong, The Sheepdogs & Eggy - Friday','Knox Farm State Park','East Aurora, NY','Friday','9/13/2024','12:00 PM','6556269','Borderland-Festival--The-Black-Crowes--Cory-Wong--The-Sheepdogs---Eggy---Friday-9-13-2024'],['The Sheepdogs','Fine Line Music Cafe','Minneapolis, MN','Sunday','9/15/2024','7:00 PM','6487447','The-Sheepdogs-9-15-2024'],['The Sheepdogs','Bluebird Theater','Denver, CO','Tuesday','9/17/2024','7:00 PM','6487448','The-Sheepdogs-9-17-2024'],['The Sheepdogs','The Urban Lounge','Salt Lake City, UT','Wednesday','9/18/2024','7:00 PM','6551407','The-Sheepdogs-9-18-2024'],['The Sheepdogs','Neumos','Seattle, WA','Friday','9/20/2024','8:00 PM','6487449','The-Sheepdogs-9-20-2024'],['The Sheepdogs','Wonder Ballroom','Portland, OR','Saturday','9/21/2024','7:00 PM','6487450','The-Sheepdogs-9-21-2024'],['The Sheepdogs','The Chapel','San Francisco, CA','Monday','9/23/2024','7:00 PM','6487453','The-Sheepdogs-9-23-2024'],['The Sheepdogs','Lodge Room Highland Park','Los Angeles, CA','Wednesday','9/25/2024','7:00 PM','6487454','The-Sheepdogs-9-25-2024'],['The Sheepdogs','Music Box - San Diego','San Diego, CA','Thursday','9/26/2024','7:00 PM','6487455','The-Sheepdogs-9-26-2024'],['The Sheepdogs','The Crescent Ballroom - Phoenix','Phoenix, AZ','Friday','9/27/2024','7:00 PM','6487456','The-Sheepdogs-9-27-2024'],['The Sheepdogs','ACL Live At 3TEN','Austin, TX','Sunday','9/29/2024','7:00 PM','6487458','The-Sheepdogs-9-29-2024'],['The Sheepdogs','The Kessler','Dallas, TX','Monday','9/30/2024','7:00 PM','6487459','The-Sheepdogs-9-30-2024'],['The Sheepdogs','The Hi-Fi','Indianapolis, IN','Wednesday','10/2/2024','7:00 PM','6487461','The-Sheepdogs-10-2-2024'],['The Sheepdogs','Beachland Ballroom','Cleveland, OH','Thursday','10/3/2024','7:00 PM','6487463','The-Sheepdogs-10-3-2024'],['The Sheepdogs','Levon Helm's Studios','Woodstock, NY','Sunday','10/6/2024','7:00 PM','6487464','The-Sheepdogs-10-6-2024'],['The Sheepdogs','The Sinclair Music Hall ','Cambridge, MA','Monday','10/7/2024','7:00 PM','6487465','The-Sheepdogs-10-7-2024'],['The Sheepdogs','Space Ballroom','Hamden, CT','Tuesday','10/8/2024','7:00 PM','6487466','The-Sheepdogs-10-8-2024'],['The Sheepdogs','Racket - NY','New York, NY','Thursday','10/10/2024','7:00 PM','6487467','The-Sheepdogs-10-10-2024'],['The Sheepdogs','The Ardmore Music Hall','Ardmore, PA','Friday','10/11/2024','7:00 PM','6487468','The-Sheepdogs-10-11-2024'],['The Sheepdogs','Black Cat - DC','Washington, DC','Saturday','10/12/2024','7:00 PM','6487469','The-Sheepdogs-10-12-2024'],['The Sheepdogs','Vinyl - GA','Atlanta, GA','Monday','10/14/2024','7:00 PM','6487470','The-Sheepdogs-10-14-2024'],['The Sheepdogs','The Basement East - Nashville','Nashville, TN','Tuesday','10/15/2024','7:00 PM','6487471','The-Sheepdogs-10-15-2024'],['The Sheepdogs','Metro Chicago','Chicago, IL','Thursday','10/17/2024','7:00 PM','6487472','The-Sheepdogs-10-17-2024']],'The Sheepdogs','http://www.ticketnetwork.com/ticket/The-Sheepdogs-events.aspx');