//
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-04A
TN_Widget.CreateTable([['Luke Bryan, George Birge, Avery Anna & Drake Milligan','PNC Bank Arts Center','Holmdel, NJ','Friday','5/30/2025','7:00 PM','6955325','Luke-Bryan--George-Birge--Avery-Anna---Drake-Milligan-5-30-2025'],['Grand Slam Track','Drake Stadium - Los Angeles','Los Angeles, CA','Friday','6/27/2025','12:00 PM','6859490','Grand-Slam-Track-6-27-2025'],['Grand Slam Track','Drake Stadium - Los Angeles','Los Angeles, CA','Saturday','6/28/2025','12:00 PM','6859491','Grand-Slam-Track-6-28-2025'],['Grand Slam Track','Drake Stadium - Los Angeles','Los Angeles, CA','Sunday','6/29/2025','12:00 PM','6859492','Grand-Slam-Track-6-29-2025'],['Calgary Stampede Rodeo: Drake Milligan','GMC Stadium - Calgary','Calgary, Canada','Saturday','7/5/2025','7:30 PM','6569149','Calgary-Stampede-Rodeo--Drake-Milligan-7-5-2025'],['Luke Bryan, George Birge, Avery Anna & Drake Milligan','Credit One Stadium','Charleston, SC','Friday','7/18/2025','7:00 PM','6955339','Luke-Bryan--George-Birge--Avery-Anna---Drake-Milligan-7-18-2025'],['Drake Bulldogs vs. Upper Iowa Peacocks','Drake Stadium - Des Moines','Des Moines, IA','Thursday','8/28/2025','TBD','6981050','Drake-Bulldogs-vs--Upper-Iowa-Peacocks-8-28-2025'],['South Dakota State Jackrabbits vs. Drake Bulldogs','Dana Dykhouse Stadium','Brookings, SD','Saturday','9/13/2025','TBD','6898157','South-Dakota-State-Jackrabbits-vs--Drake-Bulldogs-9-13-2025'],['Drake Bulldogs vs. Valparaiso University','Drake Stadium - Des Moines','Des Moines, IA','Saturday','10/4/2025','TBD','6981054','Drake-Bulldogs-vs--Valparaiso-University-10-4-2025'],['San Diego Toreros vs. Drake Bulldogs','Torero Stadium','San Diego, CA','Saturday','10/11/2025','TBD','6981086','San-Diego-Toreros-vs--Drake-Bulldogs-10-11-2025'],['Drake Bulldogs vs. Davidson Wildcats','Drake Stadium - Des Moines','Des Moines, IA','Saturday','10/18/2025','TBD','6981055','Drake-Bulldogs-vs--Davidson-Wildcats-10-18-2025'],['Drake Bulldogs vs. St. Thomas University Tommies','Drake Stadium - Des Moines','Des Moines, IA','Saturday','11/8/2025','TBD','6981056','Drake-Bulldogs-vs--St--Thomas-University-Tommies-11-8-2025'],['Dayton Flyers vs. Drake Bulldogs','Welcome Stadium','Dayton, OH','Saturday','11/15/2025','12:00 PM','6981003','Dayton-Flyers-vs--Drake-Bulldogs-11-15-2025'],['Drake Bulldogs vs. Morehead State Eagles','Drake Stadium - Des Moines','Des Moines, IA','Saturday','11/22/2025','TBD','6981058','Drake-Bulldogs-vs--Morehead-State-Eagles-11-22-2025']],'Drake Stadium','https://www.ticketnetwork.com/ticket/Drake-Stadium-events.aspx');