//
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([['Butler Bulldogs Women's Basketball vs. Villanova Wildcats','Hinkle Fieldhouse','Indianapolis, IN','Wednesday','2/5/2025','7:00 PM','6730039','Butler-Bulldogs-Women-s-Basketball-vs--Villanova-Wildcats-2-5-2025'],['Butler Bulldogs vs. Providence Friars','Hinkle Fieldhouse','Indianapolis, IN','Saturday','2/8/2025','3:00 PM','6704384','Butler-Bulldogs-vs--Providence-Friars-2-8-2025'],['Butler Bulldogs Women's Basketball vs. Marquette Golden Eagles','Hinkle Fieldhouse','Indianapolis, IN','Sunday','2/9/2025','2:00 PM','6730041','Butler-Bulldogs-Women-s-Basketball-vs--Marquette-Golden-Eagles-2-9-2025'],['Butler Bulldogs vs. Georgetown Hoyas','Hinkle Fieldhouse','Indianapolis, IN','Saturday','2/15/2025','2:00 PM','6704386','Butler-Bulldogs-vs--Georgetown-Hoyas-2-15-2025'],['Butler Bulldogs Women's Basketball vs. Xavier Musketeers','Hinkle Fieldhouse','Indianapolis, IN','Wednesday','2/19/2025','7:00 PM','6730043','Butler-Bulldogs-Women-s-Basketball-vs--Xavier-Musketeers-2-19-2025'],['Butler Bulldogs Women's Basketball vs. UConn Huskies','Hinkle Fieldhouse','Indianapolis, IN','Saturday','2/22/2025','4:30 PM','6730045','Butler-Bulldogs-Women-s-Basketball-vs--UConn-Huskies-2-22-2025'],['Butler Bulldogs vs. St. Johns Red Storm','Hinkle Fieldhouse','Indianapolis, IN','Wednesday','2/26/2025','9:00 PM','6704388','Butler-Bulldogs-vs--St--Johns-Red-Storm-2-26-2025'],['Butler Bulldogs vs. Xavier Musketeers','Hinkle Fieldhouse','Indianapolis, IN','Wednesday','3/5/2025','7:00 PM','6704389','Butler-Bulldogs-vs--Xavier-Musketeers-3-5-2025'],['NIT Tournament: Semifinals & Championship - All Sessions Pass','Hinkle Fieldhouse','Indianapolis, IN','Tuesday','4/1/2025','TBD','6809428','NIT-Tournament--Semifinals---Championship---All-Sessions-Pass-4-1-2025'],['NIT Tournament: Semifinals','Hinkle Fieldhouse','Indianapolis, IN','Tuesday','4/1/2025','7:00 PM','6809427','NIT-Tournament--Semifinals-4-1-2025'],['NIT Tournament: Championship','Hinkle Fieldhouse','Indianapolis, IN','Thursday','4/3/2025','7:00 PM','6809429','NIT-Tournament--Championship-4-3-2025']],'Hinkle Fieldhouse','https://www.ticketnetwork.com/ticket/Hinkle-Fieldhouse-events.aspx');