//
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-04A
TN_Widget.CreateTable([['Kim Deal','Rio Theatre - Santa Cruz','Santa Cruz, CA','Friday','3/21/2025','8:00 PM','6885481','Kim-Deal-3-21-2025'],['Bret Michaels','Rio Vista Outdoor Amphitheater at Harrah's Laughlin','Laughlin, NV','Saturday','3/22/2025','8:00 PM','6885398','Bret-Michaels-3-22-2025'],['Rock The Country: Nickelback, Gavin Adcock, Jo Dee Messina & Diamond Rio - Friday (Time: TBD)','Florida Horse Park','Ocala, FL','Friday','5/9/2025','12:00 PM','6820553','Rock-The-Country--Nickelback--Gavin-Adcock--Jo-Dee-Messina---Diamond-Rio---Friday--Time--TBD--5-9-2025'],['Little Feat','Rio Theatre - Santa Cruz','Santa Cruz, CA','Friday','6/13/2025','8:00 PM','6999705','Little-Feat-6-13-2025'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Tuesday','8/5/2025','6:35 PM','6657336','Albuquerque-Isotopes-vs--Round-Rock-Express-8-5-2025'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Wednesday','8/6/2025','6:35 PM','6657337','Albuquerque-Isotopes-vs--Round-Rock-Express-8-6-2025'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Thursday','8/7/2025','6:35 PM','6657338','Albuquerque-Isotopes-vs--Round-Rock-Express-8-7-2025'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Friday','8/8/2025','6:35 PM','6657339','Albuquerque-Isotopes-vs--Round-Rock-Express-8-8-2025'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Saturday','8/9/2025','6:35 PM','6657340','Albuquerque-Isotopes-vs--Round-Rock-Express-8-9-2025'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Sunday','8/10/2025','6:05 PM','6657341','Albuquerque-Isotopes-vs--Round-Rock-Express-8-10-2025'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Tuesday','9/2/2025','6:35 PM','6657348','Albuquerque-Isotopes-vs--Round-Rock-Express-9-2-2025'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Wednesday','9/3/2025','6:35 PM','6657349','Albuquerque-Isotopes-vs--Round-Rock-Express-9-3-2025'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Thursday','9/4/2025','6:35 PM','6657350','Albuquerque-Isotopes-vs--Round-Rock-Express-9-4-2025'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Friday','9/5/2025','6:35 PM','6657351','Albuquerque-Isotopes-vs--Round-Rock-Express-9-5-2025'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Saturday','9/6/2025','12:05 PM','6657352','Albuquerque-Isotopes-vs--Round-Rock-Express-9-6-2025'],['Albuquerque Isotopes vs. Round Rock Express','Rio Grande Credit Union Field at Isotopes Park','Albuquerque, NM','Sunday','9/7/2025','1:35 PM','6657353','Albuquerque-Isotopes-vs--Round-Rock-Express-9-7-2025']],'Rock In Rio','http://www.ticketnetwork.com/ticket/Rock-In-Rio-events.aspx');