//
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([['Stop Light Observations','Mesa Theater & Club','Grand Junction, CO','Thursday','10/23/2025','7:00 PM','7143006','Stop-Light-Observations-10-23-2025'],['Crimewave - Darkwave Dance Party','Mesa Theater & Club','Grand Junction, CO','Saturday','10/25/2025','8:00 PM','7298850','Crimewave---Darkwave-Dance-Party-10-25-2025'],['Adam Calhoun','Mesa Theater & Club','Grand Junction, CO','Sunday','10/26/2025','8:00 PM','7278940','Adam-Calhoun-10-26-2025'],['Irah Nox','Mesa Theater & Club','Grand Junction, CO','Saturday','11/1/2025','7:00 PM','7135154','Irah-Nox-11-1-2025'],['Gasoline Lollipops','Mesa Theater & Club','Grand Junction, CO','Thursday','11/13/2025','8:00 PM','7286333','Gasoline-Lollipops-11-13-2025'],['Jakobs Castle x Strawberry Fuzz','Mesa Theater & Club','Grand Junction, CO','Friday','11/14/2025','8:00 PM','7384504','Jakobs-Castle-x-Strawberry-Fuzz-11-14-2025'],['Rittz','Mesa Theater & Club','Grand Junction, CO','Sunday','11/16/2025','7:00 PM','7351873','Rittz-11-16-2025'],['Ensiferum','Mesa Theater & Club','Grand Junction, CO','Saturday','12/6/2025','8:00 PM','7361251','Ensiferum-12-6-2025'],['The Harp Twins - Camille and Kennerly','Mesa Theater & Club','Grand Junction, CO','Friday','12/12/2025','7:30 PM','7335319','The-Harp-Twins---Camille-and-Kennerly-12-12-2025'],['Geoff Tate','Mesa Theater & Club','Grand Junction, CO','Thursday','2/19/2026','8:00 PM','7221851','Geoff-Tate-2-19-2026'],['Dude Dad Live!','Mesa Theater & Club','Grand Junction, CO','Saturday','3/28/2026','8:00 PM','7500254','Dude-Dad-Live--3-28-2026']],'Mesa Theater and Club','https://www.ticketnetwork.com/ticket/Mesa-Theater-and-Club-events.aspx');