//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://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[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ 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-02B
TN_Widget.CreateTable([['Hot Water Music','Mohawk - Austin Outdoors','Austin, TX','Sunday','5/19/2024','9:00 PM','6165917','Hot-Water-Music-5-19-2024'],['Warpaint','Mohawk - Austin Outdoors','Austin, TX','Sunday','5/26/2024','8:00 PM','6267104','Warpaint-5-26-2024'],['Utica Blue Sox vs. Mohawk Valley Diamonddawgs','Donovan Stadium at Murnane Field','Utica, NY','Friday','5/31/2024','6:45 PM','6386990','Utica-Blue-Sox-vs--Mohawk-Valley-Diamonddawgs-5-31-2024'],['Amsterdam Mohawks vs. Mohawk Valley Diamonddawgs','Rao Family Stadium at Shuttleworth Park','Amsterdam, NY','Tuesday','6/4/2024','6:35 PM','6356338','Amsterdam-Mohawks-vs--Mohawk-Valley-Diamonddawgs-6-4-2024'],['Lip Critic','Mohawk - Austin','Austin, TX','Saturday','6/8/2024','8:30 PM','6216757','Lip-Critic-6-8-2024'],['X Ambassadors','Mohawk - Austin Outdoors','Austin, TX','Wednesday','6/12/2024','7:30 PM','6228268','X-Ambassadors-6-12-2024'],['Durry','Mohawk Place - Buffalo','Buffalo, NY','Thursday','6/13/2024','8:00 PM','6306724','Durry-6-13-2024'],['Surely Tempo','Mohawk - Austin','Austin, TX','Thursday','6/20/2024','8:00 PM','6315697','Surely-Tempo-6-20-2024'],['Utica Blue Sox vs. Mohawk Valley Diamonddawgs','Donovan Stadium at Murnane Field','Utica, NY','Friday','6/21/2024','6:45 PM','6386991','Utica-Blue-Sox-vs--Mohawk-Valley-Diamonddawgs-6-21-2024'],['Of Montreal','Mohawk - Austin Outdoors','Austin, TX','Tuesday','6/25/2024','8:00 PM','6304917','Of-Montreal-6-25-2024'],['Strung Out','Mohawk - Austin','Austin, TX','Wednesday','6/26/2024','8:00 PM','6363772','Strung-Out-6-26-2024'],['Utica Blue Sox vs. Mohawk Valley Diamonddawgs','Donovan Stadium at Murnane Field','Utica, NY','Friday','6/28/2024','6:45 PM','6386992','Utica-Blue-Sox-vs--Mohawk-Valley-Diamonddawgs-6-28-2024'],['Amsterdam Mohawks vs. Mohawk Valley Diamonddawgs','Rao Family Stadium at Shuttleworth Park','Amsterdam, NY','Tuesday','7/2/2024','6:35 PM','6356353','Amsterdam-Mohawks-vs--Mohawk-Valley-Diamonddawgs-7-2-2024'],['Pedro The Lion & Flock of Dimes','Mohawk - Austin Outdoors','Austin, TX','Sunday','7/14/2024','8:00 PM','6356327','Pedro-The-Lion---Flock-of-Dimes-7-14-2024'],['Amsterdam Mohawks vs. Mohawk Valley Diamonddawgs','Rao Family Stadium at Shuttleworth Park','Amsterdam, NY','Tuesday','7/16/2024','6:35 PM','6356361','Amsterdam-Mohawks-vs--Mohawk-Valley-Diamonddawgs-7-16-2024'],['Caspian','Mohawk - Austin Outdoors','Austin, TX','Thursday','7/18/2024','8:00 PM','6253972','Caspian-7-18-2024'],['Utica Blue Sox vs. Mohawk Valley Diamonddawgs','Donovan Stadium at Murnane Field','Utica, NY','Saturday','7/20/2024','6:45 PM','6386993','Utica-Blue-Sox-vs--Mohawk-Valley-Diamonddawgs-7-20-2024'],['The Greeting Committee','Mohawk - Austin Outdoors','Austin, TX','Sunday','7/28/2024','8:00 PM','6371571','The-Greeting-Committee-7-28-2024'],['Hana Vu','Mohawk - Austin','Austin, TX','Saturday','8/3/2024','10:00 PM','6344147','Hana-Vu-8-3-2024'],['Mountain Grass Unit','Mohawk - Austin','Austin, TX','Wednesday','8/14/2024','9:00 PM','6331444','Mountain-Grass-Unit-8-14-2024'],['Leprous','Mohawk - Austin Outdoors','Austin, TX','Tuesday','10/1/2024','6:30 PM','6375035','Leprous-10-1-2024'],['Mass of the Fermenting Dregs','Mohawk - Austin Outdoors','Austin, TX','Wednesday','10/16/2024','8:00 PM','6418918','Mass-of-the-Fermenting-Dregs-10-16-2024'],['The Holdup','Mohawk - Austin','Austin, TX','Friday','10/18/2024','9:00 PM','6435134','The-Holdup-10-18-2024'],['DJ Shadow ','Mohawk - Austin Outdoors','Austin, TX','Wednesday','10/23/2024','9:00 PM','6385680','DJ-Shadow---10-23-2024'],['Guided by Voices','Mohawk - Austin Outdoors','Austin, TX','Friday','10/25/2024','9:00 PM','6384764','Guided-by-Voices-10-25-2024'],['Homeshake','Mohawk - Austin Outdoors','Austin, TX','Thursday','11/14/2024','8:00 PM','6297307','Homeshake-11-14-2024'],['Fiddlehead','Mohawk - Austin Outdoors','Austin, TX','Saturday','11/16/2024','8:00 PM','6374983','Fiddlehead-11-16-2024'],['The Blood Brothers','Mohawk - Austin Outdoors','Austin, TX','Saturday','12/7/2024','9:00 PM','6443675','The-Blood-Brothers-12-7-2024']],'Mohawk','http://www.ticketnetwork.com/ticket/Mohawk-events.aspx');