//
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([['Gillian Welch & David Rawlings','Paramount Theater Of Charlottesville','Charlottesville, VA','Tuesday','5/13/2025','8:00 PM','6817977','Gillian-Welch---David-Rawlings-5-13-2025'],['The Fab Four - The Ultimate Tribute','Paramount Theater Of Charlottesville','Charlottesville, VA','Friday','5/16/2025','8:00 PM','6941374','The-Fab-Four---The-Ultimate-Tribute-5-16-2025'],['Napoleon Dynamite Live!','Paramount Theater Of Charlottesville','Charlottesville, VA','Thursday','5/22/2025','7:00 PM','6941372','Napoleon-Dynamite-Live--5-22-2025'],['The Met Live In HD: Salome','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','5/24/2025','1:00 PM','6582390','The-Met-Live-In-HD--Salome-5-24-2025'],['Ashley McBryde','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','5/31/2025','8:00 PM','7046555','Ashley-McBryde-5-31-2025'],['Colin Mochrie & Brad Sherwood','Paramount Theater Of Charlottesville','Charlottesville, VA','Sunday','6/1/2025','7:30 PM','6876496','Colin-Mochrie---Brad-Sherwood-6-1-2025'],['The Met Live In HD: Il Barbiere di Siviglia','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','6/7/2025','1:00 PM','6582391','The-Met-Live-In-HD--Il-Barbiere-di-Siviglia-6-7-2025'],['Charlottesville Opera: Carmen','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','6/21/2025','2:00 PM','7140402','Charlottesville-Opera--Carmen-6-21-2025'],['Charlottesville Opera: Carmen','Paramount Theater Of Charlottesville','Charlottesville, VA','Sunday','6/22/2025','2:00 PM','7140403','Charlottesville-Opera--Carmen-6-22-2025'],['Kathleen Madigan','Paramount Theater Of Charlottesville','Charlottesville, VA','Friday','6/27/2025','7:30 PM','6687727','Kathleen-Madigan-6-27-2025'],['Straight No Chaser','Paramount Theater Of Charlottesville','Charlottesville, VA','Wednesday','8/6/2025','7:30 PM','6991570','Straight-No-Chaser-8-6-2025'],['Dweezil Zappa','Paramount Theater Of Charlottesville','Charlottesville, VA','Monday','8/11/2025','8:00 PM','7057374','Dweezil-Zappa-8-11-2025'],['George Thorogood and The Destroyers','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','9/6/2025','8:00 PM','7107087','George-Thorogood-and-The-Destroyers-9-6-2025'],['Ryan Adams','Paramount Theater Of Charlottesville','Charlottesville, VA','Tuesday','9/16/2025','8:00 PM','6959726','Ryan-Adams-9-16-2025'],['World Ballet Company: Cinderella','Paramount Theater Of Charlottesville','Charlottesville, VA','Friday','9/26/2025','7:00 PM','7101149','World-Ballet-Company--Cinderella-9-26-2025'],['Black Violin','Paramount Theater Of Charlottesville','Charlottesville, VA','Tuesday','9/30/2025','7:30 PM','7122283','Black-Violin-9-30-2025'],['Anjelah Johnson-Reyes','Paramount Theater Of Charlottesville','Charlottesville, VA','Saturday','10/4/2025','8:00 PM','7038227','Anjelah-Johnson-Reyes-10-4-2025'],['Nutcracker! Magical Christmas Ballet','Paramount Theater Of Charlottesville','Charlottesville, VA','Monday','12/8/2025','7:00 PM','7066702','Nutcracker--Magical-Christmas-Ballet-12-8-2025']],'Paramount Theater Charlottesville','https://www.ticketnetwork.com/ticket/Paramount-Theater-Charlottesville-events.aspx');