//
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([['Port Huron Prowlers vs. Carolina Thunderbirds','McMorran Arena at McMorran Place','Port Huron, MI','Friday','2/7/2025','7:05 PM','6694396','Port-Huron-Prowlers-vs--Carolina-Thunderbirds-2-7-2025'],['Port Huron Prowlers vs. Carolina Thunderbirds','McMorran Arena at McMorran Place','Port Huron, MI','Saturday','2/8/2025','7:05 PM','6694397','Port-Huron-Prowlers-vs--Carolina-Thunderbirds-2-8-2025'],['Port Huron Prowlers vs. Danbury Hat Tricks','McMorran Arena at McMorran Place','Port Huron, MI','Friday','2/14/2025','7:05 PM','6694451','Port-Huron-Prowlers-vs--Danbury-Hat-Tricks-2-14-2025'],['Port Huron Prowlers vs. Danbury Hat Tricks','McMorran Arena at McMorran Place','Port Huron, MI','Saturday','2/15/2025','6:05 PM','6694452','Port-Huron-Prowlers-vs--Danbury-Hat-Tricks-2-15-2025'],['Wizard of Oz On Ice','McMorran Arena at McMorran Place','Port Huron, MI','Friday','2/28/2025','7:00 PM','6735369','Wizard-of-Oz-On-Ice-2-28-2025'],['Port Huron Prowlers vs. Watertown Wolves','McMorran Arena at McMorran Place','Port Huron, MI','Friday','3/7/2025','7:05 PM','6694475','Port-Huron-Prowlers-vs--Watertown-Wolves-3-7-2025'],['Port Huron Prowlers vs. Athens Rock Lobsters','McMorran Arena at McMorran Place','Port Huron, MI','Saturday','3/8/2025','7:05 PM','6694431','Port-Huron-Prowlers-vs--Athens-Rock-Lobsters-3-8-2025'],['Port Huron Prowlers vs. Athens Rock Lobsters','McMorran Arena at McMorran Place','Port Huron, MI','Sunday','3/9/2025','3:05 PM','6694432','Port-Huron-Prowlers-vs--Athens-Rock-Lobsters-3-9-2025'],['Port Huron Prowlers vs. Motor City Rockers','McMorran Arena at McMorran Place','Port Huron, MI','Saturday','3/15/2025','7:05 PM','6694468','Port-Huron-Prowlers-vs--Motor-City-Rockers-3-15-2025'],['Port Huron Prowlers vs. Newburgh Venom','McMorran Arena at McMorran Place','Port Huron, MI','Friday','3/21/2025','7:05 PM','6694471','Port-Huron-Prowlers-vs--Newburgh-Venom-3-21-2025'],['Port Huron Prowlers vs. Mississippi Sea Wolves','McMorran Arena at McMorran Place','Port Huron, MI','Saturday','3/22/2025','7:05 PM','6694461','Port-Huron-Prowlers-vs--Mississippi-Sea-Wolves-3-22-2025'],['Port Huron Prowlers vs. Motor City Rockers','McMorran Arena at McMorran Place','Port Huron, MI','Saturday','3/29/2025','6:05 PM','6694469','Port-Huron-Prowlers-vs--Motor-City-Rockers-3-29-2025'],['Port Huron Prowlers vs. Motor City Rockers','McMorran Arena at McMorran Place','Port Huron, MI','Friday','4/11/2025','7:05 PM','6694470','Port-Huron-Prowlers-vs--Motor-City-Rockers-4-11-2025'],['Travis Tritt','McMorran Arena at McMorran Place','Port Huron, MI','Saturday','9/27/2025','8:00 PM','6888845','Travis-Tritt-9-27-2025']],'McMorran Arena','https://www.ticketnetwork.com/ticket/McMorran-Arena-events.aspx');