//
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([['Bonnie X Clyde','Skyway Theatre - The Loft','Minneapolis, MN','Friday','2/7/2025','8:00 PM','6757200','Bonnie-X-Clyde-2-7-2025'],['Dirty Snatcha','Skyway Theatre - The Loft','Minneapolis, MN','Saturday','2/8/2025','9:00 PM','6923448','Dirty-Snatcha-2-8-2025'],['Control Freak','Skyway Theatre - The Loft','Minneapolis, MN','Friday','2/21/2025','8:00 PM','6864548','Control-Freak-2-21-2025'],['Hi I'm Ghost','Skyway Theatre - The Loft','Minneapolis, MN','Saturday','2/22/2025','9:00 PM','6836022','Hi-I-m-Ghost-2-22-2025'],['Saka & Fly','Skyway Theatre - The Loft','Minneapolis, MN','Friday','3/7/2025','8:00 PM','6935178','Saka---Fly-3-7-2025'],['OG Nixin','Skyway Theatre - The Loft','Minneapolis, MN','Saturday','3/8/2025','8:00 PM','6936593','OG-Nixin-3-8-2025'],['Oppidan','Skyway Theatre - The Loft','Minneapolis, MN','Friday','3/14/2025','8:00 PM','6864410','Oppidan-3-14-2025'],['Lil Texas','Skyway Theatre - The Loft','Minneapolis, MN','Saturday','3/15/2025','8:00 PM','6861789','Lil-Texas-3-15-2025'],['Corrupt Uk','Skyway Theatre - The Loft','Minneapolis, MN','Friday','3/21/2025','8:00 PM','6969615','Corrupt-Uk-3-21-2025'],['Zubah','Skyway Theatre - The Loft','Minneapolis, MN','Saturday','3/22/2025','9:00 PM','6944917','Zubah-3-22-2025'],['LOUIEJAYXX','Skyway Theatre - The Loft','Minneapolis, MN','Friday','3/28/2025','9:00 PM','6949814','LOUIEJAYXX-3-28-2025'],['Mongrel','Skyway Theatre - The Loft','Minneapolis, MN','Saturday','3/29/2025','8:00 PM','6928608','Mongrel-3-29-2025'],['Jeanie X Vampa','Skyway Theatre - The Loft','Minneapolis, MN','Friday','4/18/2025','8:00 PM','6826528','Jeanie-X-Vampa-4-18-2025'],['MARAUDA','Skyway Theatre - The Loft','Minneapolis, MN','Saturday','4/19/2025','8:00 PM','6932868','MARAUDA-4-19-2025']],'Skyway Theater','https://www.ticketnetwork.com/ticket/Skyway-Theater-events.aspx');