// 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-04A TN_Widget.CreateTable([['Copa Del Rey: Real Madrid CF vs. Real Sociedad - Semifinals','Estadio Santiago Bernabeu','Madrid, Spain','Tuesday','4/1/2025','3:30 PM','6987256','Copa-Del-Rey--Real-Madrid-CF-vs--Real-Sociedad---Semifinals-4-1-2025'],['Real Sociedad vs. Real Mallorca','Anoeta Stadium','Donostia-San Sebastian, Spain','Sunday','4/13/2025','TBD','6518282','Real-Sociedad-vs--Real-Mallorca-4-13-2025'],['Villarreal CF vs. Real Sociedad','Estadio de la Ceramica','Vila-Real, Spain','Sunday','4/20/2025','TBD','6518133','Villarreal-CF-vs--Real-Sociedad-4-20-2025'],['Real Sociedad vs. Athletic Club Bilbao','Anoeta Stadium','Donostia-San Sebastian, Spain','Sunday','5/4/2025','TBD','6518284','Real-Sociedad-vs--Athletic-Club-Bilbao-5-4-2025'],['Atletico de Madrid vs. Real Sociedad','Estadio Metropolitano','Madrid, Spain','Sunday','5/11/2025','TBD','6518153','Atletico-de-Madrid-vs--Real-Sociedad-5-11-2025'],['Real Sociedad vs. RC Celta de Vigo','Anoeta Stadium','Donostia-San Sebastian, Spain','Wednesday','5/14/2025','TBD','6518287','Real-Sociedad-vs--RC-Celta-de-Vigo-5-14-2025'],['Real Sociedad vs. Girona FC','Anoeta Stadium','Donostia-San Sebastian, Spain','Sunday','5/18/2025','TBD','6518289','Real-Sociedad-vs--Girona-FC-5-18-2025'],['Real Madrid CF vs. Real Sociedad','Estadio Santiago Bernabeu','Madrid, Spain','Sunday','5/25/2025','TBD','6518460','Real-Madrid-CF-vs--Real-Sociedad-5-25-2025']],'Real Sociedad','https://www.ticketnetwork.com/ticket/Real-Sociedad-events.aspx');