// 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 += '
See all events for '+ kywrds + ' on TicketNetwork.com
'; } else { document.write("
See all events for "+ kywrds + " on TicketNetwork.com
"); } } if(eventData.length > 0) { document.getElementById("previewNote").style.display = "none"; } } }; }(); //BPW-TNSERV-02A TN_Widget.CreateTable([['FC Barcelona vs. Real Sociedad','Estadi Olimpico Lluis Companys','Barcelona, Spain','Sunday','3/2/2025','TBD','6518186','FC-Barcelona-vs--Real-Sociedad-3-2-2025'],['FC Barcelona vs. CA Osasuna','Estadi Olimpico Lluis Companys','Barcelona, Spain','Sunday','3/9/2025','TBD','6518189','FC-Barcelona-vs--CA-Osasuna-3-9-2025'],['RCD Espanyol vs. Girona FC','RCDE Stadium','Cornella De Llobregat, Spain','Sunday','3/9/2025','TBD','6623948','RCD-Espanyol-vs--Girona-FC-3-9-2025'],['UEFA Champions League - Round of 16: FC Barcelona vs. SL Benfica','Estadi Olimpico Lluis Companys','Barcelona, Spain','Tuesday','3/11/2025','TBD','7002616','UEFA-Champions-League---Round-of-16--FC-Barcelona-vs--SL-Benfica-3-11-2025'],['Atletico de Madrid vs. FC Barcelona','Estadio Metropolitano','Madrid, Spain','Sunday','3/16/2025','9:00 PM','6518147','Atletico-de-Madrid-vs--FC-Barcelona-3-16-2025'],['Real Madrid CF vs. FC Barcelona','Estadio Juan Ramón Loubriel','Bayamon, Puerto Rico','Sunday','3/23/2025','5:00 PM','6977518','Real-Madrid-CF-vs--FC-Barcelona-3-23-2025'],['FC Barcelona vs. Girona FC','Estadi Olimpico Lluis Companys','Barcelona, Spain','Sunday','3/30/2025','TBD','6518190','FC-Barcelona-vs--Girona-FC-3-30-2025'],['Copa Del Rey: Atletico de Madrid vs. FC Barcelona - Semifinals','Estadio Metropolitano','Madrid, Spain','Wednesday','4/2/2025','3:30 PM','6987255','Copa-Del-Rey--Atletico-de-Madrid-vs--FC-Barcelona---Semifinals-4-2-2025'],['FC Barcelona vs. Real Betis','Estadi Olimpico Lluis Companys','Barcelona, Spain','Sunday','4/6/2025','TBD','6518191','FC-Barcelona-vs--Real-Betis-4-6-2025'],['FC Barcelona vs. RC Celta de Vigo','Estadi Olimpico Lluis Companys','Barcelona, Spain','Sunday','4/20/2025','TBD','6518193','FC-Barcelona-vs--RC-Celta-de-Vigo-4-20-2025'],['FC Barcelona vs. Real Mallorca','Estadi Olimpico Lluis Companys','Barcelona, Spain','Wednesday','4/23/2025','TBD','6518195','FC-Barcelona-vs--Real-Mallorca-4-23-2025'],['FC Barcelona vs. Real Madrid CF','Estadi Olimpico Lluis Companys','Barcelona, Spain','Sunday','5/11/2025','TBD','6518196','FC-Barcelona-vs--Real-Madrid-CF-5-11-2025'],['RCD Espanyol vs. FC Barcelona','RCDE Stadium','Cornella De Llobregat, Spain','Tuesday','5/13/2025','TBD','6623953','RCD-Espanyol-vs--FC-Barcelona-5-13-2025'],['FC Barcelona vs. Villarreal CF','Estadi Olimpico Lluis Companys','Barcelona, Spain','Sunday','5/18/2025','TBD','6518198','FC-Barcelona-vs--Villarreal-CF-5-18-2025']],'FC Barcelona','https://www.ticketnetwork.com/ticket/FC-Barcelona-events.aspx');