//
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-01A
TN_Widget.CreateTable([['Grateful Dub - Grateful Dead Tribute','Charleston Pour House','Charleston, SC','Friday','2/7/2025','9:00 PM','6824848','Grateful-Dub---Grateful-Dead-Tribute-2-7-2025'],['Dexter and The Moonrocks','Deck Stage at Charleston Pour House','Charleston, SC','Saturday','2/15/2025','6:00 PM','6869409','Dexter-and-The-Moonrocks-2-15-2025'],['Joe Samba','Charleston Pour House','Charleston, SC','Saturday','2/15/2025','9:00 PM','6893127','Joe-Samba-2-15-2025'],['Agent Orange','Charleston Pour House','Charleston, SC','Sunday','2/16/2025','9:00 PM','6803538','Agent-Orange-2-16-2025'],['Penelope Road','Charleston Pour House','Charleston, SC','Wednesday','2/19/2025','10:00 PM','6865513','Penelope-Road-2-19-2025'],['Andy Frasco & The U.N.','Charleston Pour House','Charleston, SC','Thursday','2/20/2025','8:30 PM','6842215','Andy-Frasco---The-U-N--2-20-2025'],['Big Something','Charleston Pour House','Charleston, SC','Friday','2/21/2025','8:30 PM','6958514','Big-Something-2-21-2025'],['Big Something','Charleston Pour House','Charleston, SC','Saturday','2/22/2025','8:30 PM','6958515','Big-Something-2-22-2025'],['Big Something','Charleston Pour House','Charleston, SC','Sunday','2/23/2025','8:00 PM','6958518','Big-Something-2-23-2025'],['Hot 8 Brass Band','Charleston Pour House','Charleston, SC','Thursday','2/27/2025','8:30 PM','6820661','Hot-8-Brass-Band-2-27-2025'],['Joey Harkum','Deck Stage at Charleston Pour House','Charleston, SC','Thursday','3/6/2025','6:00 PM','6871899','Joey-Harkum-3-6-2025'],['Dirtwire','Charleston Pour House','Charleston, SC','Friday','3/7/2025','9:00 PM','6844687','Dirtwire-3-7-2025'],['Town Mountain','Charleston Pour House','Charleston, SC','Saturday','3/8/2025','8:30 PM','6769896','Town-Mountain-3-8-2025'],['Town Mountain','Charleston Pour House','Charleston, SC','Sunday','3/9/2025','8:30 PM','6769897','Town-Mountain-3-9-2025'],['Fruition','Charleston Pour House','Charleston, SC','Thursday','3/13/2025','8:30 PM','6923950','Fruition-3-13-2025'],['Haley Mae Campbell','Charleston Pour House','Charleston, SC','Sunday','3/23/2025','8:00 PM','6843256','Haley-Mae-Campbell-3-23-2025'],['Jackie Venson','Charleston Pour House','Charleston, SC','Friday','4/4/2025','9:00 PM','6919639','Jackie-Venson-4-4-2025'],['Willi Carlisle','Deck Stage at Charleston Pour House','Charleston, SC','Saturday','4/5/2025','6:00 PM','6931609','Willi-Carlisle-4-5-2025'],['Eggy','Charleston Pour House','Charleston, SC','Sunday','4/6/2025','8:30 PM','6876554','Eggy-4-6-2025'],['Bright Light Social Hour','Charleston Pour House','Charleston, SC','Wednesday','4/9/2025','10:00 PM','6833877','Bright-Light-Social-Hour-4-9-2025'],['Sierra Hull','Charleston Pour House','Charleston, SC','Thursday','4/17/2025','8:00 PM','6875915','Sierra-Hull-4-17-2025'],['Dogs in a Pile','Charleston Pour House','Charleston, SC','Tuesday','4/22/2025','8:30 PM','6887191','Dogs-in-a-Pile-4-22-2025'],['Grateful Shred','Charleston Pour House','Charleston, SC','Saturday','5/10/2025','8:45 PM','6961164','Grateful-Shred-5-10-2025'],['Grateful Shred','Charleston Pour House','Charleston, SC','Sunday','5/11/2025','8:00 PM','6961165','Grateful-Shred-5-11-2025'],['Matthew Logan Vasquez','Charleston Pour House','Charleston, SC','Thursday','5/29/2025','8:30 PM','6774322','Matthew-Logan-Vasquez-5-29-2025'],['Southern Culture On the Skids','Charleston Pour House','Charleston, SC','Friday','6/20/2025','8:45 PM','6902938','Southern-Culture-On-the-Skids-6-20-2025']],'The Pour House Charleston','https://www.ticketnetwork.com/ticket/The-Pour-House-Charleston-events.aspx');