//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
"![](//s3.amazonaws.com/TNService/pl-widget/images/arrow.png) |
";
},
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,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-03A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['The Mavericks','Majestic Theatre - Dallas','Dallas, TX','Saturday','9/7/2024','8:00 PM','6459133','The-Mavericks-9-7-2024'],['Long Beach State Women's Volleyball vs. Nebraska-Omaha Mavericks','Walter Pyramid','Long Beach, CA','Wednesday','9/11/2024','7:00 PM','6614472','Long-Beach-State-Women-s-Volleyball-vs--Nebraska-Omaha-Mavericks-9-11-2024'],['The Mavericks','Smart Financial Centre','Sugar Land, TX','Friday','9/13/2024','8:00 PM','6460045','The-Mavericks-9-13-2024'],['Colorado Mesa Mavericks vs. Central Washington Wildcats','Ralph Stocker Stadium','Grand Junction, CO','Saturday','9/14/2024','1:00 PM','6693365','Colorado-Mesa-Mavericks-vs--Central-Washington-Wildcats-9-14-2024'],['Wayne State Wildcats vs. Minnesota State Mankato Mavericks','Bob Cunningham Field','Wayne, NE','Saturday','9/14/2024','6:00 PM','6411395','Wayne-State-Wildcats-vs--Minnesota-State-Mankato-Mavericks-9-14-2024'],['The Mavericks','John T. Floore Country Store','Helotes, TX','Saturday','9/14/2024','8:30 PM','6460496','The-Mavericks-9-14-2024'],['TCU Lady Horned Frogs Volleyball vs. UT Arlington Mavericks','Ed & Rae Schollmaier Arena','Fort Worth, TX','Tuesday','9/17/2024','6:30 PM','6643733','TCU-Lady-Horned-Frogs-Volleyball-vs--UT-Arlington-Mavericks-9-17-2024'],['The Mavericks','Grand Sierra Theatre','Reno, NV','Thursday','9/19/2024','8:00 PM','6459002','The-Mavericks-9-19-2024'],['Minnesota State Mankato Mavericks vs. Minot State Beavers','Blakeslee Stadium','Mankato, MN','Saturday','9/21/2024','12:00 PM','6409147','Minnesota-State-Mankato-Mavericks-vs--Minot-State-Beavers-9-21-2024'],['Colorado State Pueblo ThunderWolves vs. Colorado Mesa Mavericks','Neta and Eddie DeRose Thunderbowl Stadium','Pueblo, CO','Saturday','9/21/2024','2:00 PM','6644486','Colorado-State-Pueblo-ThunderWolves-vs--Colorado-Mesa-Mavericks-9-21-2024']],'"The Mavericks"','https://www.ticketnetwork.com');