//
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([['The O'Jays','Diamonstein Concert Hall - CNU Ferguson Center for the Arts','Newport News, VA','Friday','9/26/2025','8:00 PM','7141312','The-O-Jays-9-26-2025'],['The O'Jays','The Pantheon at Caesars Virginia','Danville, VA','Saturday','9/27/2025','8:00 PM','7058345','The-O-Jays-9-27-2025'],['Columbus Blue Jackets 25th Anniversary Concert: O.A.R.','KEMBA Live!','Columbus, OH','Friday','10/3/2025','7:00 PM','7356438','Columbus-Blue-Jackets-25th-Anniversary-Concert--O-A-R--10-3-2025'],['Alex M.O.R.P.H.','Avalon - Hollywood','Los Angeles, CA','Saturday','10/11/2025','10:00 PM','7294756','Alex-M-O-R-P-H--10-11-2025'],['John Legend','Value City Arena at The Schottenstein Center','Columbus, OH','Monday','11/10/2025','8:00 PM','7046866','John-Legend-11-10-2025'],['Jessie Reyez','Coors Event Centre - SK','Saskatoon, Canada','Thursday','11/27/2025','7:00 PM','7083393','Jessie-Reyez-11-27-2025'],['The O'Jays, The Commodores & Sister Sledge','Toyota Arena - Ontario','Ontario, CA','Friday','12/5/2025','7:00 PM','7171983','The-O-Jays--The-Commodores---Sister-Sledge-12-5-2025'],['NASCAR O'Reilly Auto Parts Series','Phoenix Raceway','Avondale, AZ','Saturday','3/7/2026','TBD','7356896','NASCAR-O-Reilly-Auto-Parts-Series-3-7-2026']],'O.A.R.','http://www.ticketnetwork.com/ticket/O.A.R.-events.aspx');