//
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-02A
TN_Widget.CreateTable([['Peen - A Tribute to Ween','The Southern Cafe & Music Hall','Charlottesville, VA','Friday','11/27/2026','8:00 PM','8263838','Peen---A-Tribute-to-Ween-11-27-2026'],['We Are Star Children & Theocles','The Southern Cafe & Music Hall','Charlottesville, VA','Saturday','11/28/2026','8:00 PM','8329932','We-Are-Star-Children---Theocles-11-28-2026'],['Ramona and The Holy Smokes','The Southern Cafe & Music Hall','Charlottesville, VA','Friday','12/4/2026','8:00 PM','8245113','Ramona-and-The-Holy-Smokes-12-4-2026'],['Full Moon Fever','The Southern Cafe & Music Hall','Charlottesville, VA','Saturday','12/5/2026','8:00 PM','8306128','Full-Moon-Fever-12-5-2026'],['Wolph','The Southern Cafe & Music Hall','Charlottesville, VA','Thursday','12/10/2026','8:00 PM','8263839','Wolph-12-10-2026'],['Scythian','The Southern Cafe & Music Hall','Charlottesville, VA','Friday','12/11/2026','8:00 PM','8308123','Scythian-12-11-2026'],['The Southern Drag Show!','The Southern Cafe & Music Hall','Charlottesville, VA','Saturday','12/12/2026','9:00 PM','8345116','The-Southern-Drag-Show--12-12-2026'],['Joe Jordan ','The Southern Cafe & Music Hall','Charlottesville, VA','Sunday','12/13/2026','8:00 PM','8079958','Joe-Jordan--12-13-2026'],['Hasler Yancey','The Southern Cafe & Music Hall','Charlottesville, VA','Thursday','12/17/2026','8:00 PM','8350355','Hasler-Yancey-12-17-2026'],['Disco Risque & The Barons','The Southern Cafe & Music Hall','Charlottesville, VA','Friday','12/18/2026','8:00 PM','8356715','Disco-Risque---The-Barons-12-18-2026'],['A Very Southern Christmas with Larry Keel Experience & Big Daddy Love','The Southern Cafe & Music Hall','Charlottesville, VA','Sunday','12/20/2026','7:30 PM','8306284','A-Very-Southern-Christmas-with-Larry-Keel-Experience---Big-Daddy-Love-12-20-2026'],['Cumberland Road - 90's Country Tribute','The Southern Cafe & Music Hall','Charlottesville, VA','Saturday','1/9/2027','8:00 PM','8333628','Cumberland-Road---90-s-Country-Tribute-1-9-2027'],['Boys Go To Jupiter','The Southern Cafe & Music Hall','Charlottesville, VA','Friday','2/5/2027','8:00 PM','8308812','Boys-Go-To-Jupiter-2-5-2027'],['Ashes and Arrows','The Southern Cafe & Music Hall','Charlottesville, VA','Wednesday','2/24/2027','8:00 PM','8350259','Ashes-and-Arrows-2-24-2027'],['Bumpin' Uglies','The Southern Cafe & Music Hall','Charlottesville, VA','Friday','2/26/2027','8:30 PM','8345723','Bumpin--Uglies-2-26-2027'],['Olive Klug','The Southern Cafe & Music Hall','Charlottesville, VA','Sunday','3/7/2027','7:30 PM','8376039','Olive-Klug-3-7-2027']],'The Southern Cafe and Music Hall','http://www.ticketnetwork.com/ticket/The-Southern-Cafe-and-Music-Hall-events.aspx');