var competitionId="82", cntId="86", name="HUNGARY: NB I"; var jsTxt="[{\"games\":{\"g1895688\":{\"id\":\"1895688\",\"p1\":\"Vasas\",\"p2\":\"Varda\",\"dt\":\"2026-10-10\",\"tm\":\"14:45\",\"stT\":\"1791613078\",\"cm\":\"65\",\"sh\":0,\"rL\":\"\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1895686\":{\"id\":\"1895686\",\"p1\":\"Ferencvaros\",\"p2\":\"Debrecen\",\"dt\":\"2026-10-10\",\"tm\":\"17:00\",\"stT\":\"1791613078\",\"cm\":\"65\",\"sh\":0,\"rL\":\"\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1895687\":{\"id\":\"1895687\",\"p1\":\"Paks\",\"p2\":\"MTK\",\"dt\":\"2026-10-10\",\"tm\":\"19:30\",\"stT\":\"1791613078\",\"cm\":\"65\",\"sh\":0,\"rL\":\"\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"}},\"comps\":{\"65\":{\"id\":\"65\",\"nm\":\"NB I\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"}},\"rc\":{},\"ev\":{}},{\"games\":{\"g1895680\":{\"id\":\"1895680\",\"p1\":\"MTK\",\"p2\":\"Gyor\",\"dt\":\"2026-09-20\",\"tm\":\"14:45\",\"stT\":\"1791613078\",\"cm\":\"65\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"2\"},\"rP\":[],\"c\":0,\"wn\":\"2\"},\"g1895683\":{\"id\":\"1895683\",\"p1\":\"Ujpest\",\"p2\":\"Zalaegerszeg\",\"dt\":\"2026-09-20\",\"tm\":\"17:00\",\"stT\":\"1791613078\",\"cm\":\"65\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"1\"},\"rP\":[\"0\",\"1\"],\"c\":0,\"wn\":\"1\"},\"g1895681\":{\"id\":\"1895681\",\"p1\":\"Nyiregyhaza\",\"p2\":\"Ferencvaros\",\"dt\":\"2026-09-20\",\"tm\":\"19:30\",\"stT\":\"1791613078\",\"cm\":\"65\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"1\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1895679\":{\"id\":\"1895679\",\"p1\":\"Varda\",\"p2\":\"Paks\",\"dt\":\"2026-09-19\",\"tm\":\"17:00\",\"stT\":\"1791613078\",\"cm\":\"65\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"1\"},\"rP\":[],\"c\":0,\"wn\":\"2\"},\"g1895678\":{\"id\":\"1895678\",\"p1\":\"Debrecen\",\"p2\":\"Vasas\",\"dt\":\"2026-09-19\",\"tm\":\"19:30\",\"stT\":\"1791613078\",\"cm\":\"65\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"4\"},\"rP\":[\"2\",\"1\"],\"c\":0,\"wn\":\"2\"},\"g1895682\":{\"id\":\"1895682\",\"p1\":\"Puskas\",\"p2\":\"Honved\",\"dt\":\"2026-09-18\",\"tm\":\"19:30\",\"stT\":\"1791613078\",\"cm\":\"65\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"3\",\"r2\":\"1\"},\"rP\":[\"2\",\"1\"],\"c\":0,\"wn\":\"1\"}},\"comps\":{\"65\":{\"id\":\"65\",\"nm\":\"NB I\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"}},\"rc\":{},\"ev\":{\"1895678\":[{\"e\":\"goal\",\"m\":\"4\",\"p\":\"Akos Szendrei\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"10\",\"p\":\"Bence Batik\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"44\",\"p\":\"Mark Koszta\",\"c\":\"2\"},{\"e\":\"var\",\"m\":\"59\",\"p\":\"1\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"61\",\"p\":\"Bence Pavkovics\",\"c\":\"2\"},{\"e\":\"var\",\"m\":\"81\",\"p\":\"1\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"90\",\"p\":\"Milan Toth\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"90\",\"p\":\"Bence Petho\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"21\",\"p\":\"Daniel Csoka\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"45\",\"p\":\"Sandor Hidi\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"58\",\"p\":\"Bence Batik\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"69\",\"p\":\"Mark Kovacsreti\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"73\",\"p\":\"Adam Lang\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"81\",\"p\":\"Bence Pavkovics\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Milan Toth\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Csanad Vilmos Denes\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Gergo Tercza\",\"c\":\"1\"}],\"1895679\":[{\"e\":\"goal\",\"m\":\"71\",\"p\":\"Bence Lenzser\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"82\",\"p\":\"Zsolt Haraszti\",\"c\":\"2\"}],\"1895680\":[{\"e\":\"goal\",\"m\":\"53\",\"p\":\"Marton Szep\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"64\",\"p\":\"Istvan Bognar\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"83\",\"p\":\"Peter Agba\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"19\",\"p\":\"Claudiu Bumba\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"62\",\"p\":\"Ilia Beriashvili\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"80\",\"p\":\"Mihaly Kata\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"87\",\"p\":\"Stipe Radic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Marton Szep\",\"c\":\"2\"}],\"1895681\":[{\"e\":\"goal\",\"m\":\"7\",\"p\":\"Zsombor Hos\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"60\",\"p\":\"Mariano Gomez\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"38\",\"p\":\"Milan Kovacs\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"47\",\"p\":\"Marko Regza\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"80\",\"p\":\"Vane Jovanov\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"85\",\"p\":\"Marko Kvasina\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"87\",\"p\":\"Adam Nagy\",\"c\":\"2\"}],\"1895682\":[{\"e\":\"goal\",\"m\":\"16\",\"p\":\"Andras Nemeth\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"24\",\"p\":\"Roland Orjan\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"38\",\"p\":\"Kevin Kallai\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"66\",\"p\":\"Palko Dardai\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"31\",\"p\":\"Tamas Somogyi\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"41\",\"p\":\"Roland Orjan\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"70\",\"p\":\"Branko Pauljevic\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"76\",\"p\":\"Kevin Kantor\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"84\",\"p\":\"Wojciech Golla\",\"c\":\"1\"}],\"1895683\":[{\"e\":\"goal\",\"m\":\"30\",\"p\":\"Danylo Krevsun\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"75\",\"p\":\"Abel Krajcsovics\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"90\",\"p\":\"Aljosa Matko\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"18\",\"p\":\"Norbert Szendrei\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"34\",\"p\":\"Aljosa Matko\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"50\",\"p\":\"Heitor\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"58\",\"p\":\"Fabricio Amato\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"85\",\"p\":\"Muhamed Tijani\",\"c\":\"1\"}]}},{\"games\":{\"g1895689\":{\"id\":\"1895689\",\"p1\":\"Zalaegerszeg\",\"p2\":\"Nyiregyhaza\",\"dt\":\"2026-10-11\",\"tm\":\"14:45\",\"stT\":\"1791613079\",\"cm\":\"65\",\"sh\":0,\"rL\":\"\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1895684\":{\"id\":\"1895684\",\"p1\":\"Honved\",\"p2\":\"Ujpest\",\"dt\":\"2026-10-11\",\"tm\":\"16:45\",\"stT\":\"1791613079\",\"cm\":\"65\",\"sh\":0,\"rL\":\"\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1895685\":{\"id\":\"1895685\",\"p1\":\"Gyor\",\"p2\":\"Puskas\",\"dt\":\"2026-10-11\",\"tm\":\"19:00\",\"stT\":\"1791613079\",\"cm\":\"65\",\"sh\":0,\"rL\":\"\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1895692\":{\"id\":\"1895692\",\"p1\":\"MTK\",\"p2\":\"Vasas\",\"dt\":\"2026-10-16\",\"tm\":\"20:00\",\"stT\":\"1791613079\",\"cm\":\"65\",\"sh\":0,\"rL\":\"\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1895693\":{\"id\":\"1895693\",\"p1\":\"Nyiregyhaza\",\"p2\":\"Honved\",\"dt\":\"2026-10-17\",\"tm\":\"14:30\",\"stT\":\"1791613079\",\"cm\":\"65\",\"sh\":0,\"rL\":\"\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1895694\":{\"id\":\"1895694\",\"p1\":\"Paks\",\"p2\":\"Gyor\",\"dt\":\"2026-10-17\",\"tm\":\"17:00\",\"stT\":\"1791613079\",\"cm\":\"65\",\"sh\":0,\"rL\":\"\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1895695\":{\"id\":\"1895695\",\"p1\":\"Ujpest\",\"p2\":\"Puskas\",\"dt\":\"2026-10-17\",\"tm\":\"19:30\",\"stT\":\"1791613079\",\"cm\":\"65\",\"sh\":0,\"rL\":\"\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1895690\":{\"id\":\"1895690\",\"p1\":\"Debrecen\",\"p2\":\"Zalaegerszeg\",\"dt\":\"2026-10-18\",\"tm\":\"15:30\",\"stT\":\"1791613079\",\"cm\":\"65\",\"sh\":0,\"rL\":\"\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1895691\":{\"id\":\"1895691\",\"p1\":\"Varda\",\"p2\":\"Ferencvaros\",\"dt\":\"2026-10-18\",\"tm\":\"18:00\",\"stT\":\"1791613079\",\"cm\":\"65\",\"sh\":0,\"rL\":\"\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"}},\"comps\":{\"65\":{\"id\":\"65\",\"nm\":\"NB I\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"}},\"rc\":{},\"ev\":{}},{\"comps\":{\"a65\":{\"id\":\"65\",\"nm\":\"NB I\"}},\"tables\":{\"65\":[{\"c\":\"Puskas\",\"p\":\"8\",\"w\":\"5\",\"d\":\"0\",\"l\":\"3\",\"fa1\":\"13\",\"fa2\":\"10\",\"pnt\":\"15\"},{\"c\":\"Gyor\",\"p\":\"8\",\"w\":\"4\",\"d\":\"3\",\"l\":\"1\",\"fa1\":\"16\",\"fa2\":\"10\",\"pnt\":\"15\"},{\"c\":\"Vasas\",\"p\":\"8\",\"w\":\"4\",\"d\":\"2\",\"l\":\"2\",\"fa1\":\"17\",\"fa2\":\"11\",\"pnt\":\"14\"},{\"c\":\"Ujpest\",\"p\":\"8\",\"w\":\"4\",\"d\":\"2\",\"l\":\"2\",\"fa1\":\"17\",\"fa2\":\"13\",\"pnt\":\"14\"},{\"c\":\"Ferencvaros\",\"p\":\"7\",\"w\":\"3\",\"d\":\"3\",\"l\":\"1\",\"fa1\":\"11\",\"fa2\":\"8\",\"pnt\":\"12\"},{\"c\":\"Paks\",\"p\":\"8\",\"w\":\"3\",\"d\":\"2\",\"l\":\"3\",\"fa1\":\"16\",\"fa2\":\"17\",\"pnt\":\"11\"},{\"c\":\"MTK\",\"p\":\"8\",\"w\":\"2\",\"d\":\"3\",\"l\":\"3\",\"fa1\":\"15\",\"fa2\":\"14\",\"pnt\":\"9\"},{\"c\":\"Debrecen\",\"p\":\"8\",\"w\":\"2\",\"d\":\"3\",\"l\":\"3\",\"fa1\":\"12\",\"fa2\":\"15\",\"pnt\":\"9\"},{\"c\":\"Varda\",\"p\":\"8\",\"w\":\"2\",\"d\":\"3\",\"l\":\"3\",\"fa1\":\"9\",\"fa2\":\"10\",\"pnt\":\"9\"},{\"c\":\"Nyiregyhaza\",\"p\":\"8\",\"w\":\"2\",\"d\":\"2\",\"l\":\"4\",\"fa1\":\"9\",\"fa2\":\"14\",\"pnt\":\"8\"},{\"c\":\"Zalaegerszeg\",\"p\":\"8\",\"w\":\"2\",\"d\":\"0\",\"l\":\"6\",\"fa1\":\"7\",\"fa2\":\"17\",\"pnt\":\"6\"},{\"c\":\"Honved\",\"p\":\"7\",\"w\":\"1\",\"d\":\"3\",\"l\":\"3\",\"fa1\":\"11\",\"fa2\":\"14\",\"pnt\":\"6\"}]}}]";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: ["","