//
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-04A
TN_Widget.CreateTable([['Garden State: Anniversary Concert','Greek Theatre - Los Angeles CA','Los Angeles, CA','Saturday','3/29/2025','8:00 PM','6772083','Garden-State--Anniversary-Concert-3-29-2025'],['The Avett Brothers','Greek Theatre - Los Angeles CA','Los Angeles, CA','Saturday','4/12/2025','7:00 PM','6734327','The-Avett-Brothers-4-12-2025'],['Hauser','Greek Theatre - Los Angeles CA','Los Angeles, CA','Friday','5/30/2025','8:30 PM','6762349','Hauser-5-30-2025'],['Peach Pit & Briston Maroney','Greek Theatre - Los Angeles CA','Los Angeles, CA','Wednesday','6/11/2025','8:00 PM','6837241','Peach-Pit---Briston-Maroney-6-11-2025'],['OMD - Orchestral Manoeuvres In The Dark','Greek Theatre - Los Angeles CA','Los Angeles, CA','Friday','6/20/2025','8:00 PM','6252457','OMD---Orchestral-Manoeuvres-In-The-Dark-6-20-2025'],['OMD - Orchestral Manoeuvres In The Dark','Greek Theatre - Los Angeles CA','Los Angeles, CA','Saturday','6/21/2025','8:00 PM','6215895','OMD---Orchestral-Manoeuvres-In-The-Dark-6-21-2025'],['James Blunt','Greek Theatre - Los Angeles CA','Los Angeles, CA','Friday','6/27/2025','8:00 PM','6754419','James-Blunt-6-27-2025'],['Brit Floyd & Alan Parsons','Greek Theatre - Los Angeles CA','Los Angeles, CA','Friday','7/11/2025','7:30 PM','6838663','Brit-Floyd---Alan-Parsons-7-11-2025'],['Maoli','Greek Theatre - Los Angeles CA','Los Angeles, CA','Thursday','7/17/2025','7:30 PM','6820018','Maoli-7-17-2025'],['Goo Goo Dolls & Dashboard Confessional','Greek Theatre - Los Angeles CA','Los Angeles, CA','Sunday','9/7/2025','7:30 PM','6827532','Goo-Goo-Dolls---Dashboard-Confessional-9-7-2025'],['Teddy Swims','Greek Theatre - Los Angeles CA','Los Angeles, CA','Tuesday','9/9/2025','7:30 PM','6738301','Teddy-Swims-9-9-2025'],['Teddy Swims','Greek Theatre - Los Angeles CA','Los Angeles, CA','Wednesday','9/10/2025','7:30 PM','6741408','Teddy-Swims-9-10-2025'],['Megan Moroney','Greek Theatre - Los Angeles CA','Los Angeles, CA','Thursday','10/2/2025','8:00 PM','6749654','Megan-Moroney-10-2-2025'],['Megan Moroney','Greek Theatre - Los Angeles CA','Los Angeles, CA','Friday','10/3/2025','8:00 PM','6756221','Megan-Moroney-10-3-2025']],'Greek Theatre Los Angeles','https://www.ticketnetwork.com/ticket/Greek-Theatre-Los-Angeles-events.aspx');