var competitionId="1182", cntId="216", name="MONTENEGRO: 1. Division"; var jsTxt="[{\"games\":{},\"comps\":{},\"rc\":{},\"ev\":{}},{\"games\":{\"g1845644\":{\"id\":\"1845644\",\"p1\":\"Arsenal Tivat\",\"p2\":\"Mladost DG\",\"dt\":\"2026-05-24\",\"tm\":\"20:00\",\"stT\":\"1780556571\",\"cm\":\"1215\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"4\"},\"rP\":[\"0\",\"3\"],\"c\":0,\"wn\":\"2\"},\"g1845645\":{\"id\":\"1845645\",\"p1\":\"Bokelj Kotor\",\"p2\":\"Decic Tuzi\",\"dt\":\"2026-05-24\",\"tm\":\"20:00\",\"stT\":\"1780556571\",\"cm\":\"1215\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1845646\":{\"id\":\"1845646\",\"p1\":\"Jezero\",\"p2\":\"Mornar\",\"dt\":\"2026-05-24\",\"tm\":\"20:00\",\"stT\":\"1780556571\",\"cm\":\"1215\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"2\"},\"rP\":[\"0\",\"1\"],\"c\":0,\"wn\":\"2\"},\"g1845648\":{\"id\":\"1845648\",\"p1\":\"OFK Petrovac\",\"p2\":\"Buducnost\",\"dt\":\"2026-05-24\",\"tm\":\"20:00\",\"stT\":\"1780556571\",\"cm\":\"1215\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"1\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1845647\":{\"id\":\"1845647\",\"p1\":\"Sutjeska Niksic\",\"p2\":\"Jedinstvo BP\",\"dt\":\"2026-05-24\",\"tm\":\"20:00\",\"stT\":\"1780556571\",\"cm\":\"1215\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"3\"},\"rP\":[\"0\",\"3\"],\"c\":0,\"wn\":\"2\"},\"g1845639\":{\"id\":\"1845639\",\"p1\":\"Buducnost\",\"p2\":\"Bokelj Kotor\",\"dt\":\"2026-05-20\",\"tm\":\"20:00\",\"stT\":\"1780556571\",\"cm\":\"1215\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"1\"},\"rP\":[\"2\",\"1\"],\"c\":0,\"wn\":\"1\"},\"g1845640\":{\"id\":\"1845640\",\"p1\":\"Decic Tuzi\",\"p2\":\"Arsenal Tivat\",\"dt\":\"2026-05-20\",\"tm\":\"20:00\",\"stT\":\"1780556571\",\"cm\":\"1215\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"2\"},\"rP\":[],\"c\":0,\"wn\":\"2\"},\"g1845641\":{\"id\":\"1845641\",\"p1\":\"Jedinstvo BP\",\"p2\":\"Jezero\",\"dt\":\"2026-05-20\",\"tm\":\"20:00\",\"stT\":\"1780556571\",\"cm\":\"1215\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1845643\":{\"id\":\"1845643\",\"p1\":\"Mladost DG\",\"p2\":\"Sutjeska Niksic\",\"dt\":\"2026-05-20\",\"tm\":\"20:00\",\"stT\":\"1780556571\",\"cm\":\"1215\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"1\"},\"rP\":[],\"c\":0,\"wn\":\"2\"},\"g1845642\":{\"id\":\"1845642\",\"p1\":\"Mornar\",\"p2\":\"OFK Petrovac\",\"dt\":\"2026-05-20\",\"tm\":\"20:00\",\"stT\":\"1780556571\",\"cm\":\"1215\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"1\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1886069\":{\"id\":\"1886069\",\"p1\":\"Grbalj Radanovici\",\"p2\":\"Bokelj Kotor\",\"dt\":\"2026-06-03\",\"tm\":\"17:30\",\"stT\":\"1780556571\",\"cm\":\"2311\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"2\"},\"rP\":[\"0\",\"1\"],\"c\":0,\"wn\":\"2\"},\"g1886070\":{\"id\":\"1886070\",\"p1\":\"Iskra\",\"p2\":\"Jezero\",\"dt\":\"2026-06-03\",\"tm\":\"20:00\",\"stT\":\"1780556571\",\"cm\":\"2311\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"5\"},\"rP\":[\"0\",\"2\"],\"c\":0,\"wn\":\"2\"},\"g1886067\":{\"id\":\"1886067\",\"p1\":\"Jezero\",\"p2\":\"Iskra\",\"dt\":\"2026-05-29\",\"tm\":\"18:00\",\"stT\":\"1780556571\",\"cm\":\"2311\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"3\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1886068\":{\"id\":\"1886068\",\"p1\":\"Bokelj Kotor\",\"p2\":\"Grbalj Radanovici\",\"dt\":\"2026-05-29\",\"tm\":\"20:00\",\"stT\":\"1780556571\",\"cm\":\"2311\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"0\"}},\"comps\":{\"1215\":{\"id\":\"1215\",\"nm\":\"1. Division\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"},\"2311\":{\"id\":\"2311\",\"nm\":\"1. Division, Playoff\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"}},\"rc\":{\"1845644\":{\"rc1\":\"1\",\"rc2\":\"\"}},\"ev\":{\"1845639\":[{\"e\":\"goal\",\"m\":\"27\",\"p\":\"Ivan Bulatovic\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"33\",\"p\":\"Marko Cavor\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"40\",\"p\":\"Danilo Vukanic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"3\",\"p\":\"Ivan Bulatovic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"38\",\"p\":\"Andrej Pupovic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"48\",\"p\":\"Igor Ivanovic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"64\",\"p\":\"Igor Pocek\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"88\",\"p\":\"Vasilije Krackovic\",\"c\":\"1\"}],\"1845640\":[{\"e\":\"goal\",\"m\":\"52\",\"p\":\"Igor Vukcevic\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"60\",\"p\":\"Ibrahima Ndiaye\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"88\",\"p\":\"Igor Vukcevic\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"82\",\"p\":\"Marko Zivanovic\",\"c\":\"2\"}],\"1845641\":[{\"e\":\"goal\",\"m\":\"53\",\"p\":\"Zarko Korac\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"82\",\"p\":\"Zarko Korac\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"57\",\"p\":\"Andrej Djukic\",\"c\":\"1\"}],\"1845642\":[{\"e\":\"goal\",\"m\":\"71\",\"p\":\"Petar Vukcevic\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"77\",\"p\":\"Nemanja Carevic\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"50\",\"p\":\"Stefan Denkovic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"64\",\"p\":\"Yann Yao\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"67\",\"p\":\"Demir Skrijelj\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"89\",\"p\":\"Petar Vukcevic\",\"c\":\"1\"}],\"1845643\":[{\"e\":\"goal\",\"m\":\"56\",\"p\":\"Andrija Raznatovic\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"43\",\"p\":\"Vuko Vickovic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"45\",\"p\":\"Balsa Radanovic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"56\",\"p\":\"Andrija Raznatovic\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"62\",\"p\":\"Ivan Vukcevic\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"63\",\"p\":\"Luka Uskokovic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"80\",\"p\":\"Aleksa Golubovic\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"82\",\"p\":\"Boris Kopitovic\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Rados Dedic\",\"c\":\"2\"}],\"1845644\":[{\"e\":\"goal\",\"m\":\"7\",\"p\":\"Dusan Vukovic\",\"c\":\"2\"},{\"e\":\"pen\",\"m\":\"37\",\"p\":\"Dusan Vukovic\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"38\",\"p\":\"Nikola Pavlicevic\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"55\",\"p\":\"David Sim\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"79\",\"p\":\"Jagos Roganovic\",\"c\":\"2\"},{\"e\":\"rc\",\"m\":\"35\",\"p\":\"Mitar Cukovic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"10\",\"p\":\"Irfan Sahman\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"30\",\"p\":\"Igor Vukcevic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"50\",\"p\":\"David Sim\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"62\",\"p\":\"Luka Uskokovic\",\"c\":\"2\"}],\"1845645\":[{\"e\":\"goal\",\"m\":\"63\",\"p\":\"Kristijan Radunovic\",\"c\":\"1\"}],\"1845646\":[{\"e\":\"goal\",\"m\":\"45\",\"p\":\"Matija Rovcanin\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"56\",\"p\":\"Yann Yao\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"79\",\"p\":\"Jovan Dasic\",\"c\":\"2\"}],\"1845647\":[{\"e\":\"goal\",\"m\":\"18\",\"p\":\"Stefan Radojevic\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"26\",\"p\":\"Ognjen Obradovic\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"42\",\"p\":\"Georgios Makrydakis\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"52\",\"p\":\"Marko Mrvaljevic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"84\",\"p\":\"Haris Banda\",\"c\":\"2\"}],\"1845648\":[{\"e\":\"goal\",\"m\":\"10\",\"p\":\"Marko Merdovic\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"75\",\"p\":\"Danilo Vukanic\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"49\",\"p\":\"1\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"59\",\"p\":\"Marko Merdovic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"76\",\"p\":\"Adnan Orahovac\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"77\",\"p\":\"Adnan Basic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"80\",\"p\":\"Danilo Pesukic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"86\",\"p\":\"Miomir Djurickovic\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Marko Roganovic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Djordje Fabris\",\"c\":\"1\"}],\"1886067\":[{\"e\":\"goal\",\"m\":\"26\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"19\",\"p\":\"\",\"c\":\"1\"}]}},{\"games\":{},\"comps\":{\"1215\":{\"id\":\"1215\",\"nm\":\"1. Division\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"},\"2311\":{\"id\":\"2311\",\"nm\":\"1. Division, Playoff\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"}},\"rc\":{},\"ev\":{}},{\"comps\":{\"a1215\":{\"id\":\"1215\",\"nm\":\"1. Division\"}},\"tables\":{\"1215\":[{\"c\":\"Sutjeska Niksic\",\"p\":\"36\",\"w\":\"22\",\"d\":\"6\",\"l\":\"8\",\"fa1\":\"61\",\"fa2\":\"36\",\"pnt\":\"72\"},{\"c\":\"Mornar\",\"p\":\"36\",\"w\":\"20\",\"d\":\"9\",\"l\":\"7\",\"fa1\":\"51\",\"fa2\":\"29\",\"pnt\":\"69\"},{\"c\":\"Decic Tuzi\",\"p\":\"36\",\"w\":\"14\",\"d\":\"9\",\"l\":\"13\",\"fa1\":\"43\",\"fa2\":\"45\",\"pnt\":\"51\"},{\"c\":\"OFK Petrovac\",\"p\":\"36\",\"w\":\"13\",\"d\":\"12\",\"l\":\"11\",\"fa1\":\"44\",\"fa2\":\"36\",\"pnt\":\"51\"},{\"c\":\"Buducnost\",\"p\":\"36\",\"w\":\"13\",\"d\":\"9\",\"l\":\"14\",\"fa1\":\"36\",\"fa2\":\"35\",\"pnt\":\"48\"},{\"c\":\"Mladost DG\",\"p\":\"36\",\"w\":\"14\",\"d\":\"4\",\"l\":\"18\",\"fa1\":\"49\",\"fa2\":\"54\",\"pnt\":\"46\"},{\"c\":\"Arsenal Tivat\",\"p\":\"36\",\"w\":\"12\",\"d\":\"10\",\"l\":\"14\",\"fa1\":\"36\",\"fa2\":\"46\",\"pnt\":\"46\"},{\"c\":\"Jezero\",\"p\":\"36\",\"w\":\"10\",\"d\":\"11\",\"l\":\"15\",\"fa1\":\"38\",\"fa2\":\"48\",\"pnt\":\"41\"},{\"c\":\"Bokelj Kotor\",\"p\":\"36\",\"w\":\"8\",\"d\":\"12\",\"l\":\"16\",\"fa1\":\"38\",\"fa2\":\"48\",\"pnt\":\"36\"},{\"c\":\"Jedinstvo BP\",\"p\":\"36\",\"w\":\"9\",\"d\":\"8\",\"l\":\"19\",\"fa1\":\"30\",\"fa2\":\"49\",\"pnt\":\"35\"}]}}]";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: ["","