//
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-02A
TN_Widget.CreateTable([['U18M Championship: Slovakia vs. Finland','Credit Union of Texas Event Center','Allen, TX','Wednesday','4/23/2025','12:00 PM','6985202','U18M-Championship--Slovakia-vs--Finland-4-23-2025'],['U18M Championship: Finland vs. Norway','Credit Union of Texas Event Center','Allen, TX','Thursday','4/24/2025','12:00 PM','6985204','U18M-Championship--Finland-vs--Norway-4-24-2025'],['U18M Championship: Latvia vs. Finland','Credit Union of Texas Event Center','Allen, TX','Saturday','4/26/2025','4:00 PM','6985208','U18M-Championship--Latvia-vs--Finland-4-26-2025'],['U18M Championship: Finland vs. Canada','Credit Union of Texas Event Center','Allen, TX','Sunday','4/27/2025','4:00 PM','6985210','U18M-Championship--Finland-vs--Canada-4-27-2025'],['2025 IIHF Ice Hockey World Championship - Slovakia vs Finland','Avicii Arena','Stockholm, Sweden','Tuesday','5/20/2025','4:20 PM','7063603','2025-IIHF-Ice-Hockey-World-Championship---Slovakia-vs-Finland-5-20-2025'],['Bryan Adams','Ouluhalli Liput','Oulu, Finland','Tuesday','8/12/2025','TBD','6896676','Bryan-Adams-8-12-2025'],['Bryan Adams','Helsinki Ice Hall','Helsinki, Finland','Wednesday','8/13/2025','TBD','6896674','Bryan-Adams-8-13-2025'],['Fort Worth Symphony Orchestra: Robert Spano - An Evening in Finland','Bass Performance Hall','Fort Worth, TX','Friday','5/22/2026','7:30 PM','7001039','Fort-Worth-Symphony-Orchestra--Robert-Spano---An-Evening-in-Finland-5-22-2026'],['Fort Worth Symphony Orchestra: Robert Spano - An Evening in Finland','Bass Performance Hall','Fort Worth, TX','Saturday','5/23/2026','7:30 PM','7001040','Fort-Worth-Symphony-Orchestra--Robert-Spano---An-Evening-in-Finland-5-23-2026'],['Fort Worth Symphony Orchestra: Robert Spano - An Evening in Finland','Bass Performance Hall','Fort Worth, TX','Sunday','5/24/2026','2:00 PM','7001041','Fort-Worth-Symphony-Orchestra--Robert-Spano---An-Evening-in-Finland-5-24-2026']],'Finland','https://www.ticketnetwork.com/ticket/Finland-events.aspx');