//
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([['Sunfest: Nelly, Cole Swindell & Rebelution - 3 Day Pass','Sunfest Grounds','West Palm Beach, FL','Friday','5/3/2024','TBD','6124777','Sunfest--Nelly--Cole-Swindell---Rebelution---3-Day-Pass-5-3-2024'],['SunFest: Rebelution, Third Eye Blind & Dashboard Confessional - Sunday','Sunfest Grounds','West Palm Beach, FL','Sunday','5/5/2024','12:00 PM','6124783','SunFest--Rebelution--Third-Eye-Blind---Dashboard-Confessional---Sunday-5-5-2024'],['California Roots Festival: Rebelution, Pepper, Ice Cube & Lupe Fiasco - Sunday','Monterey Fairgrounds','Monterey, CA','Sunday','5/26/2024','11:00 AM','5753686','California-Roots-Festival--Rebelution--Pepper--Ice-Cube---Lupe-Fiasco---Sunday-5-26-2024'],['Point Break Music Festival: Sublime, Rebelution & Wiz Khalifa - 2 Day Pass','Virginia Beach Oceanfront','Virginia Beach, VA','Saturday','6/1/2024','TBD','6308544','Point-Break-Music-Festival--Sublime--Rebelution---Wiz-Khalifa---2-Day-Pass-6-1-2024'],['Rebelution','Ovation Hall at Ocean Resort Casino ','Atlantic City, NJ','Saturday','6/1/2024','8:00 PM','6308498','Rebelution-6-1-2024'],['Rebelution','Avila Beach Resort','Avila Beach, CA','Wednesday','8/7/2024','5:00 PM','6277093','Rebelution-8-7-2024'],['Rebelution','Pacific Amphitheatre','Costa Mesa, CA','Thursday','8/8/2024','5:00 PM','6278771','Rebelution-8-8-2024'],['Rebelution','Pacific Amphitheatre','Costa Mesa, CA','Friday','8/9/2024','5:00 PM','6278772','Rebelution-8-9-2024'],['Rebelution','Pacific Amphitheatre','Costa Mesa, CA','Saturday','8/10/2024','5:00 PM','6278773','Rebelution-8-10-2024'],['Rebelution','Pacific Amphitheatre','Costa Mesa, CA','Sunday','8/11/2024','5:00 PM','6278774','Rebelution-8-11-2024'],['Rebelution','Santa Barbara Bowl','Santa Barbara, CA','Wednesday','8/14/2024','5:00 PM','6277819','Rebelution-8-14-2024'],['Rebelution','Santa Barbara Bowl','Santa Barbara, CA','Thursday','8/15/2024','5:00 PM','6277820','Rebelution-8-15-2024'],['Good Vibes Cali Tour: Rebelution, Matisyahu, Cydeways & DJ Mackle','North Island Credit Union Amphitheatre','Chula Vista, CA','Friday','8/16/2024','6:00 PM','6277917','Good-Vibes-Cali-Tour--Rebelution--Matisyahu--Cydeways---DJ-Mackle-8-16-2024'],['Good Vibes Cali Tour: Rebelution, Kolohe Kai, Matisyahu, Cydeways & DJ Mackle','Shoreline Amphitheatre - CA','Mountain View, CA','Saturday','8/17/2024','6:00 PM','6277916','Good-Vibes-Cali-Tour--Rebelution--Kolohe-Kai--Matisyahu--Cydeways---DJ-Mackle-8-17-2024'],['Oceans Calling Festival: Blink-182, The Killers & Dave Matthews Band - 3 Day Pass','Ocean City Inlet','Ocean City, MD','Friday','9/27/2024','TBD','6257456','Oceans-Calling-Festival--Blink-182--The-Killers---Dave-Matthews-Band---3-Day-Pass-9-27-2024'],['Oceans Calling Festival: The Killers, The Offspring & Rebelution - Saturday (Time: TBD)','Ocean City Inlet','Ocean City, MD','Saturday','9/28/2024','12:00 PM','6257461','Oceans-Calling-Festival--The-Killers--The-Offspring---Rebelution---Saturday--Time--TBD--9-28-2024']],'Rebelution','http://www.ticketnetwork.com/ticket/Rebelution-events.aspx');