//
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([['Incubus & Manchester Orchestra','North Island Credit Union Amphitheatre','Chula Vista, CA','Saturday','7/19/2025','7:30 PM','6955495','Incubus---Manchester-Orchestra-7-19-2025'],['Volbeat, Halestorm & The Ghost Inside','Toyota Amphitheatre','Wheatland, CA','Thursday','7/24/2025','7:00 PM','7026914','Volbeat--Halestorm---The-Ghost-Inside-7-24-2025'],['Creed','North Island Credit Union Amphitheatre','Chula Vista, CA','Wednesday','8/6/2025','7:00 PM','6874505','Creed-8-6-2025'],['Wiz Khalifa','North Island Credit Union Amphitheatre','Chula Vista, CA','Friday','8/8/2025','6:30 PM','7167107','Wiz-Khalifa-8-8-2025'],['Cyndi Lauper','Toyota Amphitheatre','Wheatland, CA','Saturday','8/23/2025','7:30 PM','7032465','Cyndi-Lauper-8-23-2025'],['Big Time Rush & Katelyn Tarver','North Island Credit Union Amphitheatre','Chula Vista, CA','Sunday','8/24/2025','7:00 PM','7001304','Big-Time-Rush---Katelyn-Tarver-8-24-2025'],['Nelly, Ja Rule & Eve','North Island Credit Union Amphitheatre','Chula Vista, CA','Wednesday','8/27/2025','8:00 PM','6872272','Nelly--Ja-Rule---Eve-8-27-2025'],['The Offspring, Jimmy Eat World & New Found Glory','Toyota Amphitheatre','Wheatland, CA','Sunday','8/31/2025','7:00 PM','7020496','The-Offspring--Jimmy-Eat-World---New-Found-Glory-8-31-2025'],['Suicideboys ','Toyota Amphitheatre','Wheatland, CA','Tuesday','9/2/2025','6:30 PM','7075980','Suicideboys--9-2-2025'],['Jonas Brothers','North Island Credit Union Amphitheatre','Chula Vista, CA','Thursday','9/4/2025','7:30 PM','7217273','Jonas-Brothers-9-4-2025'],['Suicideboys ','North Island Credit Union Amphitheatre','Chula Vista, CA','Saturday','9/6/2025','6:30 PM','7075983','Suicideboys--9-6-2025'],['Lil Wayne','North Island Credit Union Amphitheatre','Chula Vista, CA','Wednesday','9/10/2025','8:00 PM','7194068','Lil-Wayne-9-10-2025'],['Deorro','North Island Credit Union Amphitheatre','Chula Vista, CA','Friday','9/12/2025','8:00 PM','7197011','Deorro-9-12-2025'],['Billy Idol & Joan Jett and The Blackhearts','Toyota Amphitheatre','Wheatland, CA','Wednesday','9/17/2025','7:30 PM','6944295','Billy-Idol---Joan-Jett-and-The-Blackhearts-9-17-2025'],['Jorge Medina & Josi Cuen','North Island Credit Union Amphitheatre','Chula Vista, CA','Saturday','9/20/2025','8:00 PM','7050696','Jorge-Medina---Josi-Cuen-9-20-2025'],['Billy Idol & Joan Jett and The Blackhearts','North Island Credit Union Amphitheatre','Chula Vista, CA','Tuesday','9/23/2025','7:30 PM','6944298','Billy-Idol---Joan-Jett-and-The-Blackhearts-9-23-2025'],['Bone Thugs N Harmony, Three 6 Mafia, Tech N9ne & QJ Quik','North Island Credit Union Amphitheatre','Chula Vista, CA','Friday','10/3/2025','7:30 PM','7203457','Bone-Thugs-N-Harmony--Three-6-Mafia--Tech-N9ne---QJ-Quik-10-3-2025'],['Luis R Conriquez','North Island Credit Union Amphitheatre','Chula Vista, CA','Saturday','10/4/2025','8:00 PM','7035053','Luis-R-Conriquez-10-4-2025'],['Alice Cooper, Judas Priest & Corrosion of Conformity','Toyota Amphitheatre','Wheatland, CA','Wednesday','10/15/2025','6:45 PM','7094180','Alice-Cooper--Judas-Priest---Corrosion-of-Conformity-10-15-2025'],['Alice Cooper, Judas Priest & Corrosion of Conformity','North Island Credit Union Amphitheatre','Chula Vista, CA','Saturday','10/18/2025','6:45 PM','7094181','Alice-Cooper--Judas-Priest---Corrosion-of-Conformity-10-18-2025'],['Twenty One Pilots','North Island Credit Union Amphitheatre','Chula Vista, CA','Thursday','10/23/2025','8:00 PM','7211941','Twenty-One-Pilots-10-23-2025']],'Sleep Train Amphitheatre','https://www.ticketnetwork.com/ticket/Sleep-Train-Amphitheatre-events.aspx');