//
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-03A
TN_Widget.CreateTable([['Illinois Fighting Illini Women's Basketball vs. Michigan Wolverines','State Farm Center','Champaign, IL','Sunday','3/2/2025','2:00 PM','6720359','Illinois-Fighting-Illini-Women-s-Basketball-vs--Michigan-Wolverines-3-2-2025'],['State Farm MVC Arch Madness Tournament - Session 1','Enterprise Center','St. Louis, MO','Thursday','3/6/2025','12:00 PM','6923891','State-Farm-MVC-Arch-Madness-Tournament---Session-1-3-6-2025'],['State Farm MVC Arch Madness Tournament - Session 2','Enterprise Center','St. Louis, MO','Thursday','3/6/2025','6:00 PM','6923892','State-Farm-MVC-Arch-Madness-Tournament---Session-2-3-6-2025'],['State Farm MVC Arch Madness Tournament - Session 3','Enterprise Center','St. Louis, MO','Friday','3/7/2025','12:00 PM','6923893','State-Farm-MVC-Arch-Madness-Tournament---Session-3-3-7-2025'],['State Farm MVC Arch Madness Tournament - Session 4','Enterprise Center','St. Louis, MO','Friday','3/7/2025','6:00 PM','6923894','State-Farm-MVC-Arch-Madness-Tournament---Session-4-3-7-2025'],['Illinois Fighting Illini vs. Purdue Boilermakers','State Farm Center','Champaign, IL','Friday','3/7/2025','7:00 PM','6719532','Illinois-Fighting-Illini-vs--Purdue-Boilermakers-3-7-2025'],['State Farm MVC Arch Madness Tournament - Session 5','Enterprise Center','St. Louis, MO','Saturday','3/8/2025','2:30 PM','6923895','State-Farm-MVC-Arch-Madness-Tournament---Session-5-3-8-2025'],['State Farm MVC Arch Madness Tournament - Session 6','Enterprise Center','St. Louis, MO','Sunday','3/9/2025','1:00 PM','6923896','State-Farm-MVC-Arch-Madness-Tournament---Session-6-3-9-2025'],['Gabriel Iglesias','State Farm Center','Champaign, IL','Sunday','3/16/2025','7:00 PM','6814295','Gabriel-Iglesias-3-16-2025'],['One Night of Queen - Gary Mullen and The Works','State Farm Center','Champaign, IL','Tuesday','4/1/2025','7:30 PM','6986919','One-Night-of-Queen---Gary-Mullen-and-The-Works-4-1-2025'],['State Farm College Slam Dunk & 3-Point Championships','Frost Bank Center','San Antonio, TX','Thursday','4/3/2025','6:00 PM','6837484','State-Farm-College-Slam-Dunk---3-Point-Championships-4-3-2025'],['ZZ Top','State Farm Center','Champaign, IL','Saturday','4/5/2025','7:30 PM','6774986','ZZ-Top-4-5-2025'],['R.E.S.P.E.C.T - Aretha Franklin Tribute','State Farm Center','Champaign, IL','Tuesday','4/8/2025','7:30 PM','6618808','R-E-S-P-E-C-T---Aretha-Franklin-Tribute-4-8-2025'],['MercyMe','State Farm Center','Champaign, IL','Saturday','4/12/2025','7:00 PM','6834094','MercyMe-4-12-2025'],['First Choice Farm and Lawn Championship Rodeo','First National Bank Arena','Jonesboro, AR','Saturday','4/12/2025','7:00 PM','6988717','First-Choice-Farm-and-Lawn-Championship-Rodeo-4-12-2025'],['The Addams Family','State Farm Center','Champaign, IL','Friday','4/18/2025','7:30 PM','6618877','The-Addams-Family-4-18-2025'],['Annie','State Farm Center','Champaign, IL','Wednesday','4/23/2025','7:30 PM','6618876','Annie-4-23-2025'],['Foghat','State Farm Center','Champaign, IL','Thursday','4/24/2025','7:00 PM','6974728','Foghat-4-24-2025'],['CoComelon Live!','State Farm Center','Champaign, IL','Tuesday','4/29/2025','5:00 PM','6996105','CoComelon-Live--4-29-2025'],['Blippi Live','State Farm Center','Champaign, IL','Saturday','5/10/2025','2:00 PM','6759601','Blippi-Live-5-10-2025']],'State Farm Center','https://www.ticketnetwork.com/ticket/State-Farm-Center-events.aspx');