//
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-03A
TN_Widget.CreateTable([['Lil Sasquatch','Punch Line Comedy Club - Sacramento','Sacramento, CA','Thursday','5/9/2024','7:30 PM','6270103','Lil-Sasquatch-5-9-2024'],['Lil Sasquatch','Punch Line Comedy Club - Sacramento','Sacramento, CA','Friday','5/10/2024','7:00 PM','6269874','Lil-Sasquatch-5-10-2024'],['Lil Sasquatch','Punch Line Comedy Club - Sacramento','Sacramento, CA','Friday','5/10/2024','9:15 PM','6269860','Lil-Sasquatch-5-10-2024'],['Lil Sasquatch','Punch Line Comedy Club - Sacramento','Sacramento, CA','Saturday','5/11/2024','7:00 PM','6270690','Lil-Sasquatch-5-11-2024'],['Lil Sasquatch','Punch Line Comedy Club - Sacramento','Sacramento, CA','Saturday','5/11/2024','9:15 PM','6269861','Lil-Sasquatch-5-11-2024'],['Oahe Zap vs. Spearfish Sasquatch','Hyde Baseball Stadium','Pierre, SD','Tuesday','5/28/2024','6:05 PM','6377550','Oahe-Zap-vs--Spearfish-Sasquatch-5-28-2024'],['Spearfish Sasquatch vs. Nebraska Prospects','Black Hills Energy Stadium','Spearfish, SD','Wednesday','5/29/2024','7:05 PM','6381605','Spearfish-Sasquatch-vs--Nebraska-Prospects-5-29-2024'],['Spearfish Sasquatch vs. Nebraska Prospects','Black Hills Energy Stadium','Spearfish, SD','Friday','5/31/2024','7:05 PM','6381608','Spearfish-Sasquatch-vs--Nebraska-Prospects-5-31-2024'],['Spearfish Sasquatch vs. Casper Spuds','Black Hills Energy Stadium','Spearfish, SD','Saturday','6/1/2024','7:05 PM','6381609','Spearfish-Sasquatch-vs--Casper-Spuds-6-1-2024'],['Spearfish Sasquatch vs. Casper Spuds','Black Hills Energy Stadium','Spearfish, SD','Sunday','6/2/2024','5:05 PM','6381610','Spearfish-Sasquatch-vs--Casper-Spuds-6-2-2024'],['Spearfish Sasquatch vs. Casper Spuds','Black Hills Energy Stadium','Spearfish, SD','Monday','6/3/2024','7:05 PM','6381611','Spearfish-Sasquatch-vs--Casper-Spuds-6-3-2024'],['Spearfish Sasquatch vs. Oahe Zap','Black Hills Energy Stadium','Spearfish, SD','Tuesday','6/11/2024','7:05 PM','6381612','Spearfish-Sasquatch-vs--Oahe-Zap-6-11-2024'],['Spearfish Sasquatch vs. Hastings Sodbusters','Black Hills Energy Stadium','Spearfish, SD','Wednesday','6/12/2024','7:05 PM','6381613','Spearfish-Sasquatch-vs--Hastings-Sodbusters-6-12-2024'],['Spearfish Sasquatch vs. Hastings Sodbusters','Black Hills Energy Stadium','Spearfish, SD','Thursday','6/13/2024','7:05 PM','6381614','Spearfish-Sasquatch-vs--Hastings-Sodbusters-6-13-2024'],['Oahe Zap vs. Spearfish Sasquatch','Hyde Baseball Stadium','Pierre, SD','Monday','6/17/2024','6:05 PM','6377558','Oahe-Zap-vs--Spearfish-Sasquatch-6-17-2024'],['Oahe Zap vs. Spearfish Sasquatch','Hyde Baseball Stadium','Pierre, SD','Tuesday','6/18/2024','6:05 PM','6377559','Oahe-Zap-vs--Spearfish-Sasquatch-6-18-2024'],['Spearfish Sasquatch vs. Oahe Zap','Black Hills Energy Stadium','Spearfish, SD','Wednesday','6/19/2024','7:05 PM','6381615','Spearfish-Sasquatch-vs--Oahe-Zap-6-19-2024'],['Spearfish Sasquatch vs. Oahe Zap','Black Hills Energy Stadium','Spearfish, SD','Thursday','6/20/2024','7:05 PM','6381616','Spearfish-Sasquatch-vs--Oahe-Zap-6-20-2024'],['Spearfish Sasquatch vs. Oahe Zap','Black Hills Energy Stadium','Spearfish, SD','Friday','6/21/2024','7:05 PM','6381617','Spearfish-Sasquatch-vs--Oahe-Zap-6-21-2024'],['Spearfish Sasquatch vs. North Platte Plainsmen','Black Hills Energy Stadium','Spearfish, SD','Saturday','6/22/2024','7:05 PM','6381618','Spearfish-Sasquatch-vs--North-Platte-Plainsmen-6-22-2024'],['Spearfish Sasquatch vs. North Platte Plainsmen','Black Hills Energy Stadium','Spearfish, SD','Sunday','6/23/2024','5:05 PM','6381619','Spearfish-Sasquatch-vs--North-Platte-Plainsmen-6-23-2024'],['Spearfish Sasquatch vs. North Platte Plainsmen','Black Hills Energy Stadium','Spearfish, SD','Thursday','6/27/2024','7:05 PM','6381620','Spearfish-Sasquatch-vs--North-Platte-Plainsmen-6-27-2024'],['Spearfish Sasquatch vs. North Platte Plainsmen','Black Hills Energy Stadium','Spearfish, SD','Friday','6/28/2024','7:05 PM','6381622','Spearfish-Sasquatch-vs--North-Platte-Plainsmen-6-28-2024'],['Spearfish Sasquatch vs. North Platte Plainsmen','Black Hills Energy Stadium','Spearfish, SD','Saturday','6/29/2024','7:05 PM','6381623','Spearfish-Sasquatch-vs--North-Platte-Plainsmen-6-29-2024'],['Spearfish Sasquatch vs. North Platte Plainsmen','Black Hills Energy Stadium','Spearfish, SD','Sunday','6/30/2024','5:05 PM','6381624','Spearfish-Sasquatch-vs--North-Platte-Plainsmen-6-30-2024'],['Spearfish Sasquatch vs. Nebraska Prospects','Black Hills Energy Stadium','Spearfish, SD','Monday','7/1/2024','7:05 PM','6381625','Spearfish-Sasquatch-vs--Nebraska-Prospects-7-1-2024'],['Spearfish Sasquatch vs. Nebraska Prospects','Black Hills Energy Stadium','Spearfish, SD','Tuesday','7/2/2024','7:05 PM','6381626','Spearfish-Sasquatch-vs--Nebraska-Prospects-7-2-2024'],['Hillbilly Casino & Sasquatch and The Sick-A-Billys','High Noon Saloon','Madison, WI','Tuesday','7/2/2024','7:30 PM','6289009','Hillbilly-Casino---Sasquatch-and-The-Sick-A-Billys-7-2-2024'],['Spearfish Sasquatch vs. Nebraska Prospects','Black Hills Energy Stadium','Spearfish, SD','Wednesday','7/3/2024','7:05 PM','6381627','Spearfish-Sasquatch-vs--Nebraska-Prospects-7-3-2024'],['Spearfish Sasquatch vs. Bison Baseball','Black Hills Energy Stadium','Spearfish, SD','Monday','7/8/2024','7:05 PM','6381629','Spearfish-Sasquatch-vs--Bison-Baseball-7-8-2024'],['Spearfish Sasquatch vs. Bison Baseball','Black Hills Energy Stadium','Spearfish, SD','Tuesday','7/9/2024','7:05 PM','6381630','Spearfish-Sasquatch-vs--Bison-Baseball-7-9-2024'],['Spearfish Sasquatch vs. Bison Baseball','Black Hills Energy Stadium','Spearfish, SD','Wednesday','7/10/2024','7:05 PM','6381631','Spearfish-Sasquatch-vs--Bison-Baseball-7-10-2024'],['Spearfish Sasquatch vs. Bison Baseball','Black Hills Energy Stadium','Spearfish, SD','Saturday','7/13/2024','7:05 PM','6381632','Spearfish-Sasquatch-vs--Bison-Baseball-7-13-2024'],['Spearfish Sasquatch vs. Bison Baseball','Black Hills Energy Stadium','Spearfish, SD','Sunday','7/14/2024','5:05 PM','6381633','Spearfish-Sasquatch-vs--Bison-Baseball-7-14-2024'],['Oahe Zap vs. Spearfish Sasquatch','Hyde Baseball Stadium','Pierre, SD','Monday','7/15/2024','6:05 PM','6377584','Oahe-Zap-vs--Spearfish-Sasquatch-7-15-2024'],['Oahe Zap vs. Spearfish Sasquatch','Hyde Baseball Stadium','Pierre, SD','Wednesday','7/17/2024','6:05 PM','6377585','Oahe-Zap-vs--Spearfish-Sasquatch-7-17-2024'],['Oahe Zap vs. Spearfish Sasquatch','Hyde Baseball Stadium','Pierre, SD','Thursday','7/18/2024','6:05 PM','6377586','Oahe-Zap-vs--Spearfish-Sasquatch-7-18-2024'],['Oahe Zap vs. Spearfish Sasquatch','Hyde Baseball Stadium','Pierre, SD','Friday','7/19/2024','6:05 PM','6377587','Oahe-Zap-vs--Spearfish-Sasquatch-7-19-2024'],['Spearfish Sasquatch vs. Oahe Zap','Black Hills Energy Stadium','Spearfish, SD','Saturday','7/20/2024','7:05 PM','6381634','Spearfish-Sasquatch-vs--Oahe-Zap-7-20-2024'],['Spearfish Sasquatch vs. Casper Spuds','Black Hills Energy Stadium','Spearfish, SD','Monday','7/22/2024','7:05 PM','6381635','Spearfish-Sasquatch-vs--Casper-Spuds-7-22-2024'],['Spearfish Sasquatch vs. Casper Spuds','Black Hills Energy Stadium','Spearfish, SD','Tuesday','7/23/2024','7:05 PM','6381636','Spearfish-Sasquatch-vs--Casper-Spuds-7-23-2024'],['Spearfish Sasquatch vs. Casper Spuds','Black Hills Energy Stadium','Spearfish, SD','Wednesday','7/24/2024','7:05 PM','6381637','Spearfish-Sasquatch-vs--Casper-Spuds-7-24-2024'],['Spearfish Sasquatch vs. Casper Spuds','Black Hills Energy Stadium','Spearfish, SD','Thursday','7/25/2024','7:05 PM','6381638','Spearfish-Sasquatch-vs--Casper-Spuds-7-25-2024'],['Spearfish Sasquatch vs. Fremont Moo','Black Hills Energy Stadium','Spearfish, SD','Friday','7/26/2024','7:05 PM','6381639','Spearfish-Sasquatch-vs--Fremont-Moo-7-26-2024'],['Spearfish Sasquatch vs. Fremont Moo','Black Hills Energy Stadium','Spearfish, SD','Saturday','7/27/2024','7:05 PM','6381640','Spearfish-Sasquatch-vs--Fremont-Moo-7-27-2024'],['Spearfish Sasquatch vs. Fremont Moo','Black Hills Energy Stadium','Spearfish, SD','Sunday','7/28/2024','5:05 PM','6381641','Spearfish-Sasquatch-vs--Fremont-Moo-7-28-2024'],['Lil Sasquatch & Francis Ellis','Funny Bone Comedy Club - Kansas City','Kansas City, MO','Friday','10/18/2024','7:00 PM','6345635','Lil-Sasquatch---Francis-Ellis-10-18-2024'],['Lil Sasquatch & Francis Ellis','Funny Bone Comedy Club - Kansas City','Kansas City, MO','Saturday','10/19/2024','6:30 PM','6345636','Lil-Sasquatch---Francis-Ellis-10-19-2024'],['Lil Sasquatch & Francis Ellis','Funny Bone Comedy Club - Kansas City','Kansas City, MO','Saturday','10/19/2024','9:15 PM','6345637','Lil-Sasquatch---Francis-Ellis-10-19-2024']],'Sasquatch','http://www.ticketnetwork.com/ticket/Sasquatch-events.aspx');