var competitionId="78", cntId="76", name="GREECE: Super League 1"; var jsTxt="[{\"games\":{},\"comps\":{},\"rc\":{},\"ev\":{}},{\"games\":{\"g1761106\":{\"id\":\"1761106\",\"p1\":\"AEK\",\"p2\":\"Kifisias\",\"dt\":\"2026-03-22\",\"tm\":\"18:00\",\"stT\":\"1779433640\",\"cm\":\"208\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"3\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1761109\":{\"id\":\"1761109\",\"p1\":\"Aris\",\"p2\":\"OFI\",\"dt\":\"2026-03-22\",\"tm\":\"18:00\",\"stT\":\"1779433640\",\"cm\":\"208\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"2\"},\"rP\":[\"0\",\"1\"],\"c\":0,\"wn\":\"2\"},\"g1761105\":{\"id\":\"1761105\",\"p1\":\"Asteras Tripolis\",\"p2\":\"Panathinaikos\",\"dt\":\"2026-03-22\",\"tm\":\"18:00\",\"stT\":\"1779433640\",\"cm\":\"208\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"2\"},\"rP\":[\"0\",\"2\"],\"c\":0,\"wn\":\"2\"},\"g1761107\":{\"id\":\"1761107\",\"p1\":\"Levadiakos\",\"p2\":\"Atromitos\",\"dt\":\"2026-03-22\",\"tm\":\"18:00\",\"stT\":\"1779433640\",\"cm\":\"208\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1761111\":{\"id\":\"1761111\",\"p1\":\"Olympiakos\",\"p2\":\"Larissa\",\"dt\":\"2026-03-22\",\"tm\":\"18:00\",\"stT\":\"1779433640\",\"cm\":\"208\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1761108\":{\"id\":\"1761108\",\"p1\":\"Panaitolikos\",\"p2\":\"Panserraikos\",\"dt\":\"2026-03-22\",\"tm\":\"18:00\",\"stT\":\"1779433640\",\"cm\":\"208\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1761110\":{\"id\":\"1761110\",\"p1\":\"Volos NFC\",\"p2\":\"PAOK\",\"dt\":\"2026-03-22\",\"tm\":\"18:00\",\"stT\":\"1779433640\",\"cm\":\"208\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"1\"},\"rP\":[\"0\",\"1\"],\"c\":0,\"wn\":\"1\"},\"g1761103\":{\"id\":\"1761103\",\"p1\":\"Kifisias\",\"p2\":\"Volos NFC\",\"dt\":\"2026-03-15\",\"tm\":\"15:00\",\"stT\":\"1779433640\",\"cm\":\"208\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1761099\":{\"id\":\"1761099\",\"p1\":\"PAOK\",\"p2\":\"Levadiakos\",\"dt\":\"2026-03-15\",\"tm\":\"17:00\",\"stT\":\"1779433640\",\"cm\":\"208\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"3\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1761104\":{\"id\":\"1761104\",\"p1\":\"Atromitos\",\"p2\":\"AEK\",\"dt\":\"2026-03-15\",\"tm\":\"18:30\",\"stT\":\"1779433640\",\"cm\":\"208\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"2\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1761100\":{\"id\":\"1761100\",\"p1\":\"Panathinaikos\",\"p2\":\"Panaitolikos\",\"dt\":\"2026-03-15\",\"tm\":\"20:00\",\"stT\":\"1779433640\",\"cm\":\"208\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"0\"}},\"comps\":{\"208\":{\"id\":\"208\",\"nm\":\"Super League 1\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"},\"1143\":{\"id\":\"1143\",\"nm\":\"Super League, Championship Group\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"},\"5193\":{\"id\":\"5193\",\"nm\":\"Super League, Relegation Group\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"},\"6345\":{\"id\":\"6345\",\"nm\":\"Super League, Conference League Group\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"}},\"rc\":{},\"ev\":{\"1761099\":[{\"e\":\"goal\",\"m\":\"7\",\"p\":\"Taison\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"47\",\"p\":\"Alexander Jeremejeff\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"57\",\"p\":\"Dimitrios Chatsidis\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"45\",\"p\":\"Tomasz Kedziora\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"52\",\"p\":\"Fabricio Pedrozo\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"52\",\"p\":\"Dejan Lovren\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"64\",\"p\":\"Panagiotis Symelidis\",\"c\":\"2\"}],\"1761100\":[{\"e\":\"yc\",\"m\":\"85\",\"p\":\"Juan Manuel Garcia\",\"c\":\"2\"}],\"1761103\":[{\"e\":\"goal\",\"m\":\"25\",\"p\":\"Apostolos Christopoulos\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"68\",\"p\":\"Jorge Pombo\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"20\",\"p\":\"Yasser Larouci\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"39\",\"p\":\"Juanpi\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"52\",\"p\":\"Georgios Mygas\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"62\",\"p\":\"Apostolos Christopoulos\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Giannis Kargas\",\"c\":\"2\"}],\"1761104\":[{\"e\":\"goal\",\"m\":\"33\",\"p\":\"Gerasimos Mitoglou\",\"c\":\"1\"},{\"e\":\"var\",\"m\":\"45\",\"p\":\"1\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"63\",\"p\":\"Luka Jovic\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"69\",\"p\":\"Luka Jovic\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"71\",\"p\":\"Samuel Moutoussamy\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"18\",\"p\":\"Athanasios Karamanis\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"48\",\"p\":\"James Penrice\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Stavros Pnevmonidis\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Lazaros Rota\",\"c\":\"2\"}],\"1761105\":[{\"e\":\"pen\",\"m\":\"31\",\"p\":\"Anass Zaroury\",\"c\":\"2\"},{\"e\":\"pen\",\"m\":\"45\",\"p\":\"Andreas Tetteh\",\"c\":\"2\"},{\"e\":\"var\",\"m\":\"56\",\"p\":\"1\",\"c\":\"2\"},{\"e\":\"og\",\"m\":\"82\",\"p\":\"Sverrir Ingi Ingason\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"6\",\"p\":\"Oluwatobiloba Alagbe\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"24\",\"p\":\"Santino Andino\",\"c\":\"2\"}],\"1761106\":[{\"e\":\"pen\",\"m\":\"5\",\"p\":\"Luka Jovic\",\"c\":\"1\"},{\"e\":\"og\",\"m\":\"16\",\"p\":\"Alex Petkov\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"26\",\"p\":\"Barnabas Varga\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"4\",\"p\":\"Yasser Larouci\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"29\",\"p\":\"Diamantis Chouchoumis\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"47\",\"p\":\"Stavros Pilios\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"77\",\"p\":\"Konstantinos Roukounakis\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"87\",\"p\":\"Dimitrios Theodoridis\",\"c\":\"2\"}],\"1761107\":[{\"e\":\"goal\",\"m\":\"64\",\"p\":\"Alen Ozbolt\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"27\",\"p\":\"Jere Uronen\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"28\",\"p\":\"Dimitrios Stavropoulos\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"34\",\"p\":\"Enis Cokaj\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"58\",\"p\":\"Giannis Kosti\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"85\",\"p\":\"Fabricio Pedrozo\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Juri Lodygin\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Steven Zuber\",\"c\":\"2\"}],\"1761108\":[{\"e\":\"yc\",\"m\":\"32\",\"p\":\"Iva Gelashvili\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"66\",\"p\":\"Charalampos Mavrias\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Viktor Rumyantsev\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Andreas Bouchalakis\",\"c\":\"1\"}],\"1761109\":[{\"e\":\"goal\",\"m\":\"36\",\"p\":\"Thiago Nuss\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"57\",\"p\":\"Taxiarchis Fountas\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"28\",\"p\":\"Lindsay Rose\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"40\",\"p\":\"Thiago Nuss\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"46\",\"p\":\"Noah Fadiga\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"65\",\"p\":\"Fabiano\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Achilleas Poungouras\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Tino Kadewere\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Giannis Apostolakis\",\"c\":\"2\"}],\"1761110\":[{\"e\":\"goal\",\"m\":\"13\",\"p\":\"Alexander Jeremejeff\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"64\",\"p\":\"David Martinez\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"90\",\"p\":\"a\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"62\",\"p\":\"Leroy Abanda\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Jan Hurtado\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Athanasios Triantafyllou\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Tasos Tsokanis\",\"c\":\"1\"}],\"1761111\":[{\"e\":\"yc\",\"m\":\"68\",\"p\":\"Pione Sisto\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"85\",\"p\":\"Leandro Garate\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Goni Naor\",\"c\":\"2\"}]}},{\"games\":{},\"comps\":{\"208\":{\"id\":\"208\",\"nm\":\"Super League 1\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"},\"1143\":{\"id\":\"1143\",\"nm\":\"Super League, Championship Group\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"},\"5193\":{\"id\":\"5193\",\"nm\":\"Super League, Relegation Group\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"},\"6345\":{\"id\":\"6345\",\"nm\":\"Super League, Conference League Group\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"}},\"rc\":{},\"ev\":{}},{\"comps\":{\"a208\":{\"id\":\"208\",\"nm\":\"Super League 1\"},\"a1143\":{\"id\":\"1143\",\"nm\":\"Super League, Championship Group\"},\"a5193\":{\"id\":\"5193\",\"nm\":\"Super League, Relegation Group\"},\"a6345\":{\"id\":\"6345\",\"nm\":\"Super League, Conference League Group\"}},\"tables\":{\"208\":[{\"c\":\"AEK\",\"p\":\"26\",\"w\":\"18\",\"d\":\"6\",\"l\":\"2\",\"fa1\":\"49\",\"fa2\":\"17\",\"pnt\":\"60\"},{\"c\":\"Olympiakos\",\"p\":\"26\",\"w\":\"17\",\"d\":\"7\",\"l\":\"2\",\"fa1\":\"45\",\"fa2\":\"11\",\"pnt\":\"58\"},{\"c\":\"PAOK\",\"p\":\"26\",\"w\":\"17\",\"d\":\"6\",\"l\":\"3\",\"fa1\":\"52\",\"fa2\":\"17\",\"pnt\":\"57\"},{\"c\":\"Panathinaikos\",\"p\":\"26\",\"w\":\"14\",\"d\":\"7\",\"l\":\"5\",\"fa1\":\"44\",\"fa2\":\"26\",\"pnt\":\"49\"},{\"c\":\"Levadiakos\",\"p\":\"26\",\"w\":\"12\",\"d\":\"6\",\"l\":\"8\",\"fa1\":\"51\",\"fa2\":\"37\",\"pnt\":\"42\"},{\"c\":\"OFI\",\"p\":\"26\",\"w\":\"10\",\"d\":\"2\",\"l\":\"14\",\"fa1\":\"34\",\"fa2\":\"45\",\"pnt\":\"32\"},{\"c\":\"Volos NFC\",\"p\":\"26\",\"w\":\"9\",\"d\":\"4\",\"l\":\"13\",\"fa1\":\"26\",\"fa2\":\"38\",\"pnt\":\"31\"},{\"c\":\"Aris\",\"p\":\"26\",\"w\":\"6\",\"d\":\"12\",\"l\":\"8\",\"fa1\":\"20\",\"fa2\":\"27\",\"pnt\":\"30\"},{\"c\":\"Atromitos\",\"p\":\"26\",\"w\":\"7\",\"d\":\"8\",\"l\":\"11\",\"fa1\":\"26\",\"fa2\":\"30\",\"pnt\":\"29\"},{\"c\":\"Kifisias\",\"p\":\"26\",\"w\":\"6\",\"d\":\"9\",\"l\":\"11\",\"fa1\":\"32\",\"fa2\":\"42\",\"pnt\":\"27\"},{\"c\":\"Panaitolikos\",\"p\":\"26\",\"w\":\"7\",\"d\":\"5\",\"l\":\"14\",\"fa1\":\"24\",\"fa2\":\"38\",\"pnt\":\"26\"},{\"c\":\"Larissa\",\"p\":\"26\",\"w\":\"4\",\"d\":\"11\",\"l\":\"11\",\"fa1\":\"22\",\"fa2\":\"39\",\"pnt\":\"23\"},{\"c\":\"Panserraikos\",\"p\":\"26\",\"w\":\"4\",\"d\":\"5\",\"l\":\"17\",\"fa1\":\"16\",\"fa2\":\"55\",\"pnt\":\"17\"},{\"c\":\"Asteras Tripolis\",\"p\":\"26\",\"w\":\"3\",\"d\":\"8\",\"l\":\"15\",\"fa1\":\"22\",\"fa2\":\"41\",\"pnt\":\"17\"}],\"1143\":[{\"c\":\"AEK\",\"p\":\"31\",\"w\":\"21\",\"d\":\"8\",\"l\":\"2\",\"fa1\":\"56\",\"fa2\":\"19\",\"pnt\":\"71\"},{\"c\":\"Olympiakos\",\"p\":\"31\",\"w\":\"19\",\"d\":\"8\",\"l\":\"4\",\"fa1\":\"50\",\"fa2\":\"16\",\"pnt\":\"65\"},{\"c\":\"PAOK\",\"p\":\"31\",\"w\":\"18\",\"d\":\"9\",\"l\":\"4\",\"fa1\":\"57\",\"fa2\":\"23\",\"pnt\":\"63\"},{\"c\":\"Panathinaikos\",\"p\":\"31\",\"w\":\"14\",\"d\":\"9\",\"l\":\"8\",\"fa1\":\"45\",\"fa2\":\"31\",\"pnt\":\"51\"}],\"5193\":[{\"c\":\"Atromitos\",\"p\":\"36\",\"w\":\"12\",\"d\":\"10\",\"l\":\"14\",\"fa1\":\"49\",\"fa2\":\"42\",\"pnt\":\"46\"},{\"c\":\"Kifisias\",\"p\":\"36\",\"w\":\"9\",\"d\":\"14\",\"l\":\"13\",\"fa1\":\"40\",\"fa2\":\"51\",\"pnt\":\"41\"},{\"c\":\"Panaitolikos\",\"p\":\"36\",\"w\":\"9\",\"d\":\"9\",\"l\":\"18\",\"fa1\":\"35\",\"fa2\":\"51\",\"pnt\":\"36\"},{\"c\":\"Asteras Tripolis\",\"p\":\"36\",\"w\":\"8\",\"d\":\"12\",\"l\":\"16\",\"fa1\":\"36\",\"fa2\":\"49\",\"pnt\":\"36\"},{\"c\":\"Larissa\",\"p\":\"36\",\"w\":\"5\",\"d\":\"15\",\"l\":\"16\",\"fa1\":\"34\",\"fa2\":\"56\",\"pnt\":\"30\"},{\"c\":\"Panserraikos\",\"p\":\"36\",\"w\":\"7\",\"d\":\"8\",\"l\":\"21\",\"fa1\":\"25\",\"fa2\":\"73\",\"pnt\":\"29\"}],\"6345\":[{\"c\":\"Asteras Tripolis\",\"p\":\"32\",\"w\":\"13\",\"d\":\"5\",\"l\":\"14\",\"fa1\":\"35\",\"fa2\":\"40\",\"pnt\":\"27\"},{\"c\":\"Atromitos\",\"p\":\"32\",\"w\":\"12\",\"d\":\"7\",\"l\":\"13\",\"fa1\":\"39\",\"fa2\":\"37\",\"pnt\":\"26\"},{\"c\":\"Aris\",\"p\":\"30\",\"w\":\"9\",\"d\":\"13\",\"l\":\"8\",\"fa1\":\"29\",\"fa2\":\"31\",\"pnt\":\"25\"},{\"c\":\"OFI\",\"p\":\"30\",\"w\":\"11\",\"d\":\"3\",\"l\":\"16\",\"fa1\":\"38\",\"fa2\":\"51\",\"pnt\":\"20\"}]}}]";var cmpActiveItem; var modal = document.getElementById('myModal'); var span = document.getElementsByClassName("close")[0]; var corrH = [0,1,2,2,1,1,1,1,1,1,2,2,2]; //gumarvuma sport-in u eji karucvacqna voroshvum makeMatch-um var gameId=gameIdM="", tableId=""; //ete xaxa sxmvac, xaxi id-n; gameIdM-n id-n demic g, ogtagorcvuma makeMatch-um var initTmpObj=["",""]; //[0] goal-i u [1] tabliceq-i tvyalnery qasheluc heto lcnuma sra mej document.addEventListener('click', this.documentClick,false); function documentClick(e){ //document-i vra vortex sxmum en sa ashxatuma if(e.target.classList[1]==="rL"){ //sxmec hashvi vra initTmpObj[0]=""; var ev = document.getElementById("matchInfo"); if(ev) ev.remove(); if(e.target.parentNode.parentElement.id!==gameId){ gameId=e.target.parentNode.parentElement.id; gameIdM="g"+gameId; makeDetails["Goal"](gameId, 0); } else gameId=gameIdM=0; } else if(e.target.className==="fa fa-youtube-play" || e.target.className==="vGoal"){// sxmec video if(e.target.className==="vGoal"){ var mId=e.target.parentNode.parentNode.parentNode.parentElement.id; var goalId=e.target.id.replace("v",""); } else{ var mId=e.target.parentNode.parentNode.parentNode.parentNode.parentElement.id; var goalId=e.target.parentNode.id.replace("v",""); } modal.style.display = "block"; // document.getElementsByClassName("StandingsTeamRow")[0].innerHTML="
"; //modal.getElementsByClassName("title")[0].innerHTML=initObj.ev[mId][goalId].t; if(initObj.ev[mId][goalId].v.includes("mp4") && !initObj.ev[mId][goalId].v.includes("embed.html")) modal.getElementsByClassName("StandingsTeamRow")[0].innerHTML=""; else modal.getElementsByClassName("StandingsTeamRow")[0].innerHTML=""; modal.getElementsByClassName("modal-content")[0].style.height="50vh"; modal.style.paddingTop="100px"; if(window.innerWidth < 500) modal.getElementsByClassName("modal-content")[0].style.width="100%"; } } // When the user clicks on (x), close the modal span.onclick = function() { modal.getElementsByClassName("StandingsTeamRow")[0].innerHTML=""; if(window.innerWidth < 500) modal.getElementsByClassName("modal-content")[0].style.width="90%"; modal.style.display = "none"; modal.getElementsByClassName("icon")[0].style.backgroundImage=""; tableId=0; } var makeMatch = { sport1: function(Match,cnt,brief=0){ var str, rowT="";; var strRC1=strRC2=strN=""; var goalFl={ row: [""," red"], html: ["","