//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "Tickets",
tixUrl : "https://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[3] +" "+"" +
row[4] + " "+"" +
row[5] + " | "+"" +
row[0] +" | " +
row[1] +" " +
row[2] +" | "+""+ 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([['The Budos Band','Charleston Pour House','Charleston, SC','Friday','7/18/2025','8:30 PM','7085013','The-Budos-Band-7-18-2025'],['The Stolen Faces','Charleston Pour House','Charleston, SC','Saturday','7/19/2025','9:00 PM','7148479','The-Stolen-Faces-7-19-2025'],['Spafford','Charleston Pour House','Charleston, SC','Sunday','7/20/2025','8:00 PM','7101624','Spafford-7-20-2025'],['Old Mervs','Charleston Pour House','Charleston, SC','Saturday','8/16/2025','9:00 PM','7073521','Old-Mervs-8-16-2025'],['Lucero - Band','Charleston Pour House','Charleston, SC','Tuesday','9/9/2025','8:30 PM','7085281','Lucero---Band-9-9-2025'],['Jake Kohn & Low Water Bridge Band','Charleston Pour House','Charleston, SC','Tuesday','9/16/2025','9:00 PM','7239220','Jake-Kohn---Low-Water-Bridge-Band-9-16-2025'],['Karl Denson's Tiny Universe','Charleston Pour House','Charleston, SC','Friday','9/19/2025','8:30 PM','7184715','Karl-Denson-s-Tiny-Universe-9-19-2025'],['Jacoozy','Charleston Pour House','Charleston, SC','Thursday','10/16/2025','9:00 PM','7241565','Jacoozy-10-16-2025'],['Adam Melchor','Charleston Pour House','Charleston, SC','Saturday','10/18/2025','9:00 PM','7203303','Adam-Melchor-10-18-2025'],['Wheatus','Charleston Pour House','Charleston, SC','Sunday','10/19/2025','8:30 PM','7216092','Wheatus-10-19-2025'],['Chaparelle','Charleston Pour House','Charleston, SC','Saturday','11/1/2025','8:30 PM','7009618','Chaparelle-11-1-2025'],['Nick Shoulders','Charleston Pour House','Charleston, SC','Sunday','11/2/2025','8:30 PM','7170051','Nick-Shoulders-11-2-2025'],['The New Mastersounds','Charleston Pour House','Charleston, SC','Thursday','11/6/2025','8:30 PM','7101138','The-New-Mastersounds-11-6-2025'],['Will Hoge','Charleston Pour House','Charleston, SC','Sunday','11/9/2025','8:30 PM','7240600','Will-Hoge-11-9-2025'],['TopHouse','Charleston Pour House','Charleston, SC','Sunday','12/7/2025','8:30 PM','7123109','TopHouse-12-7-2025']],'The Pour House Charleston','https://www.ticketnetwork.com/ticket/The-Pour-House-Charleston-events.aspx');