//
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-01A
TN_Widget.CreateTable([['Jay Shetty','Hard Rock Live At The Seminole Hard Rock Hotel & Casino - Hollywood','Fort Lauderdale, FL','Friday','5/23/2025','8:00 PM','6959083','Jay-Shetty-5-23-2025'],['Jay Sully','Off The Rails Music Venue','Worcester, MA','Saturday','5/31/2025','7:00 PM','7121881','Jay-Sully-5-31-2025'],['Jay B - Artist','The Eastern - GA','Atlanta, GA','Wednesday','6/4/2025','7:30 PM','7079257','Jay-B---Artist-6-4-2025'],['Jay B - Artist','Warfield','San Francisco, CA','Friday','6/6/2025','7:30 PM','7079207','Jay-B---Artist-6-6-2025'],['Sages & Spirits: Melvin Seals, Jay Lane, Rob Eaton & John Kadlecik','Mishawaka Amphitheatre','Bellvue, CO','Friday','6/6/2025','8:00 PM','7019643','Sages---Spirits--Melvin-Seals--Jay-Lane--Rob-Eaton---John-Kadlecik-6-6-2025'],['Sages & Spirits: Melvin Seals, Jay Lane, Rob Eaton & John Kadlecik','Mishawaka Amphitheatre','Bellvue, CO','Saturday','6/7/2025','8:00 PM','6993288','Sages---Spirits--Melvin-Seals--Jay-Lane--Rob-Eaton---John-Kadlecik-6-7-2025'],['Jay B - Artist','Warehouse Live Midtown','Houston, TX','Monday','6/9/2025','7:30 PM','7096342','Jay-B---Artist-6-9-2025'],['Jay B - Artist','Riviera Theatre - IL','Chicago, IL','Wednesday','6/11/2025','7:30 PM','7074695','Jay-B---Artist-6-11-2025'],['Jay B - Artist','The Hall at Maryland Live','Hanover, MD','Friday','6/13/2025','7:30 PM','7078685','Jay-B---Artist-6-13-2025'],['Jay Dupuis - Ultimate Elvis','Hard Rock Live - Mississippi','Biloxi, MS','Friday','6/20/2025','8:00 PM','6968242','Jay-Dupuis---Ultimate-Elvis-6-20-2025'],['Jay Allen','Ponderosa Lounge & Grill','Portland, OR','Friday','7/11/2025','9:00 PM','7025707','Jay-Allen-7-11-2025'],['Jason Aldean, Nate Smith & RaeLynn','Isleta Amphitheater','Albuquerque, NM','Thursday','7/24/2025','7:30 PM','6944225','Jason-Aldean--Nate-Smith---RaeLynn-7-24-2025'],['Melissa Etheridge & Indigo Girls','Jay Pritzker Pavilion','Chicago, IL','Sunday','8/17/2025','6:00 PM','6870721','Melissa-Etheridge---Indigo-Girls-8-17-2025'],['Jay Leno','Hard Rock Hotel & Casino Bristol','Bristol, VA','Friday','10/24/2025','8:00 PM','7104885','Jay-Leno-10-24-2025'],['Jay Scott','Le Club Square Dix30','Brossard, Canada','Friday','11/14/2025','8:00 PM','7067081','Jay-Scott-11-14-2025']],'Jay Rock','http://www.ticketnetwork.com/ticket/Jay-Rock-events.aspx');