//
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([['The Price Is Right - Live Stage Show','Mystic Lake Showroom','Prior Lake, MN','Thursday','2/27/2025','8:00 PM','6736315','The-Price-Is-Right---Live-Stage-Show-2-27-2025'],['The Price Is Right - Live Stage Show','Mystic Lake Showroom','Prior Lake, MN','Friday','2/28/2025','8:00 PM','6736316','The-Price-Is-Right---Live-Stage-Show-2-28-2025'],['The Price Is Right - Live Stage Show','Mystic Lake Showroom','Prior Lake, MN','Saturday','3/1/2025','3:00 PM','6736317','The-Price-Is-Right---Live-Stage-Show-3-1-2025'],['The Price Is Right - Live Stage Show','Mystic Lake Showroom','Prior Lake, MN','Saturday','3/1/2025','8:00 PM','6736318','The-Price-Is-Right---Live-Stage-Show-3-1-2025'],['The Price Is Right - Live Stage Show','Mystic Lake Showroom','Prior Lake, MN','Sunday','3/2/2025','3:00 PM','6736319','The-Price-Is-Right---Live-Stage-Show-3-2-2025'],['Johnny Mathis','Mystic Lake Showroom','Prior Lake, MN','Saturday','3/8/2025','7:00 PM','6836197','Johnny-Mathis-3-8-2025'],['The Man In Black: Tribute To Johnny Cash','Mystic Lake Showroom','Prior Lake, MN','Saturday','3/15/2025','8:00 PM','6821779','The-Man-In-Black--Tribute-To-Johnny-Cash-3-15-2025'],['Hairball','Mystic Lake Showroom','Prior Lake, MN','Saturday','3/29/2025','8:00 PM','6916278','Hairball-3-29-2025'],['Air Supply','Mystic Lake Showroom','Prior Lake, MN','Friday','4/4/2025','8:00 PM','6885078','Air-Supply-4-4-2025'],['The O'Jays','Mystic Lake Showroom','Prior Lake, MN','Saturday','4/5/2025','8:00 PM','6928517','The-O-Jays-4-5-2025'],['LFA 206','Mystic Lake Showroom','Prior Lake, MN','Friday','4/11/2025','4:45 PM','6994683','LFA-206-4-11-2025'],['KEM','Mystic Lake Showroom','Prior Lake, MN','Saturday','4/19/2025','8:00 PM','6961466','KEM-4-19-2025'],['Bullet For My Valentine & Trivium','Mystic Lake Showroom','Prior Lake, MN','Friday','4/25/2025','7:00 PM','6712205','Bullet-For-My-Valentine---Trivium-4-25-2025'],['Martin Lawrence','Mystic Lake Showroom','Prior Lake, MN','Friday','5/2/2025','8:00 PM','6947149','Martin-Lawrence-5-2-2025'],['Martin Lawrence','Mystic Lake Showroom','Prior Lake, MN','Saturday','5/3/2025','8:00 PM','6945458','Martin-Lawrence-5-3-2025'],['IMomSoHard','Mystic Lake Showroom','Prior Lake, MN','Saturday','5/10/2025','8:00 PM','6938223','IMomSoHard-5-10-2025'],['Australian Pink Floyd Show','Mystic Lake Showroom','Prior Lake, MN','Friday','5/16/2025','8:00 PM','6859303','Australian-Pink-Floyd-Show-5-16-2025'],['Riverdance','Mystic Lake Showroom','Prior Lake, MN','Sunday','5/18/2025','7:00 PM','6963100','Riverdance-5-18-2025']],'Mystic Lake Casino Hotel','https://www.ticketnetwork.com/ticket/Mystic-Lake-Casino-Hotel-events.aspx');