var competitionId="2024", cntId="2", name="ALBANIA: Division 1"; var jsTxt="[{\"games\":{\"g1843172\":{\"id\":\"1843172\",\"p1\":\"Kukesi\",\"p2\":\"Apolonia\",\"dt\":\"2026-04-04\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1843173\":{\"id\":\"1843173\",\"p1\":\"Laci\",\"p2\":\"Burreli\",\"dt\":\"2026-04-04\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1843176\":{\"id\":\"1843176\",\"p1\":\"Lushnja\",\"p2\":\"Korabi Peshkopi\",\"dt\":\"2026-04-04\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1843174\":{\"id\":\"1843174\",\"p1\":\"Pogradeci\",\"p2\":\"Kastrioti\",\"dt\":\"2026-04-04\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1843175\":{\"id\":\"1843175\",\"p1\":\"Skenderbeu\",\"p2\":\"Iliria Fushe Kruje\",\"dt\":\"2026-04-04\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"}},\"comps\":{\"4451\":{\"id\":\"4451\",\"nm\":\"Division 1\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"}},\"rc\":{},\"ev\":{}},{\"games\":{\"g1843165\":{\"id\":\"1843165\",\"p1\":\"Besa\",\"p2\":\"Skenderbeu\",\"dt\":\"2026-03-22\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"2\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"1\"},\"rP\":[],\"c\":0,\"wn\":\"2\"},\"g1843168\":{\"id\":\"1843168\",\"p1\":\"Burreli\",\"p2\":\"Pogradeci\",\"dt\":\"2026-03-22\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"2\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"3\"},\"rP\":[\"0\",\"2\"],\"c\":0,\"wn\":\"2\"},\"g1843167\":{\"id\":\"1843167\",\"p1\":\"Iliria Fushe Kruje\",\"p2\":\"Laci\",\"dt\":\"2026-03-22\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"2\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"1\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1843169\":{\"id\":\"1843169\",\"p1\":\"Kastrioti\",\"p2\":\"Kukesi\",\"dt\":\"2026-03-22\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"2\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"2\"},\"rP\":[\"0\",\"1\"],\"c\":0,\"wn\":\"2\"},\"g1843170\":{\"id\":\"1843170\",\"p1\":\"Korabi Peshkopi\",\"p2\":\"Luftetari Gjirokaster\",\"dt\":\"2026-03-22\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"2\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1843166\":{\"id\":\"1843166\",\"p1\":\"Apolonia\",\"p2\":\"Lushnja\",\"dt\":\"2026-03-21\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"2\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1843164\":{\"id\":\"1843164\",\"p1\":\"Kastrioti\",\"p2\":\"Burreli\",\"dt\":\"2026-03-18\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"2\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"5\",\"r2\":\"2\"},\"rP\":[\"2\",\"1\"],\"c\":0,\"wn\":\"1\"},\"g1843160\":{\"id\":\"1843160\",\"p1\":\"Kukesi\",\"p2\":\"Lushnja\",\"dt\":\"2026-03-18\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"2\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"3\",\"r2\":\"2\"},\"rP\":[\"2\",\"1\"],\"c\":0,\"wn\":\"1\"},\"g1843161\":{\"id\":\"1843161\",\"p1\":\"Laci\",\"p2\":\"Besa\",\"dt\":\"2026-03-18\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"2\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"5\",\"r2\":\"3\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1843159\":{\"id\":\"1843159\",\"p1\":\"Luftetari Gjirokaster\",\"p2\":\"Apolonia\",\"dt\":\"2026-03-18\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"2\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"2\"},\"rP\":[\"1\",\"1\"],\"c\":0,\"wn\":\"0\"},\"g1843162\":{\"id\":\"1843162\",\"p1\":\"Pogradeci\",\"p2\":\"Iliria Fushe Kruje\",\"dt\":\"2026-03-18\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"2\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"3\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1843163\":{\"id\":\"1843163\",\"p1\":\"Skenderbeu\",\"p2\":\"Korabi Peshkopi\",\"dt\":\"2026-03-18\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"2\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"0\"}},\"comps\":{\"4451\":{\"id\":\"4451\",\"nm\":\"Division 1\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"}},\"rc\":{},\"ev\":{}},{\"games\":{\"g1843171\":{\"id\":\"1843171\",\"p1\":\"Luftetari Gjirokaster\",\"p2\":\"Besa\",\"dt\":\"2026-04-05\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1843177\":{\"id\":\"1843177\",\"p1\":\"Besa\",\"p2\":\"Lushnja\",\"dt\":\"2026-04-11\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1843180\":{\"id\":\"1843180\",\"p1\":\"Burreli\",\"p2\":\"Skenderbeu\",\"dt\":\"2026-04-11\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1843178\":{\"id\":\"1843178\",\"p1\":\"Iliria Fushe Kruje\",\"p2\":\"Luftetari Gjirokaster\",\"dt\":\"2026-04-11\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1843181\":{\"id\":\"1843181\",\"p1\":\"Kastrioti\",\"p2\":\"Laci\",\"dt\":\"2026-04-11\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1843182\":{\"id\":\"1843182\",\"p1\":\"Korabi Peshkopi\",\"p2\":\"Apolonia\",\"dt\":\"2026-04-11\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1843179\":{\"id\":\"1843179\",\"p1\":\"Pogradeci\",\"p2\":\"Kukesi\",\"dt\":\"2026-04-11\",\"tm\":\"15:00\",\"stT\":\"1775287414\",\"cm\":\"4451\",\"sh\":0,\"rL\":\"\",\"h\":\"1\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"\",\"r1\":\"\",\"r2\":\"\"},\"rP\":[],\"c\":0,\"wn\":\"0\"}},\"comps\":{\"4451\":{\"id\":\"4451\",\"nm\":\"Division 1\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"}},\"rc\":{},\"ev\":{}},{\"comps\":{\"a4451\":{\"id\":\"4451\",\"nm\":\"Division 1\"},\"a4452\":{\"id\":\"4452\",\"nm\":\"Division 1, Promotion Group\"},\"a6292\":{\"id\":\"6292\",\"nm\":\"Division 1, Relegation\"}},\"tables\":{\"4451\":[{\"c\":\"Skenderbeu\",\"p\":\"28\",\"w\":\"21\",\"d\":\"4\",\"l\":\"3\",\"fa1\":\"50\",\"fa2\":\"23\",\"pnt\":\"67\"},{\"c\":\"Laci\",\"p\":\"28\",\"w\":\"19\",\"d\":\"7\",\"l\":\"2\",\"fa1\":\"50\",\"fa2\":\"20\",\"pnt\":\"64\"},{\"c\":\"Pogradeci\",\"p\":\"28\",\"w\":\"18\",\"d\":\"7\",\"l\":\"3\",\"fa1\":\"52\",\"fa2\":\"23\",\"pnt\":\"61\"},{\"c\":\"Iliria Fushe Kruje\",\"p\":\"28\",\"w\":\"9\",\"d\":\"11\",\"l\":\"8\",\"fa1\":\"25\",\"fa2\":\"28\",\"pnt\":\"38\"},{\"c\":\"Kastrioti\",\"p\":\"28\",\"w\":\"10\",\"d\":\"6\",\"l\":\"12\",\"fa1\":\"37\",\"fa2\":\"43\",\"pnt\":\"36\"},{\"c\":\"Burreli\",\"p\":\"28\",\"w\":\"8\",\"d\":\"9\",\"l\":\"11\",\"fa1\":\"21\",\"fa2\":\"35\",\"pnt\":\"33\"},{\"c\":\"Korabi Peshkopi\",\"p\":\"28\",\"w\":\"8\",\"d\":\"8\",\"l\":\"12\",\"fa1\":\"27\",\"fa2\":\"34\",\"pnt\":\"32\"},{\"c\":\"Besa\",\"p\":\"28\",\"w\":\"8\",\"d\":\"7\",\"l\":\"13\",\"fa1\":\"34\",\"fa2\":\"37\",\"pnt\":\"31\"},{\"c\":\"Apolonia\",\"p\":\"28\",\"w\":\"6\",\"d\":\"8\",\"l\":\"14\",\"fa1\":\"25\",\"fa2\":\"34\",\"pnt\":\"26\"},{\"c\":\"Kukesi\",\"p\":\"28\",\"w\":\"6\",\"d\":\"6\",\"l\":\"16\",\"fa1\":\"24\",\"fa2\":\"41\",\"pnt\":\"24\"},{\"c\":\"Lushnja\",\"p\":\"28\",\"w\":\"4\",\"d\":\"10\",\"l\":\"14\",\"fa1\":\"23\",\"fa2\":\"38\",\"pnt\":\"22\"},{\"c\":\"Luftetari Gjirokaster\",\"p\":\"28\",\"w\":\"3\",\"d\":\"13\",\"l\":\"12\",\"fa1\":\"26\",\"fa2\":\"38\",\"pnt\":\"22\"}],\"4452\":[{\"c\":\"Lushnja\",\"p\":\"1\",\"w\":\"1\",\"d\":\"0\",\"l\":\"0\",\"fa1\":\"2\",\"fa2\":\"0\",\"pnt\":\"3\"},{\"c\":\"Pogradeci\",\"p\":\"1\",\"w\":\"1\",\"d\":\"0\",\"l\":\"0\",\"fa1\":\"1\",\"fa2\":\"0\",\"pnt\":\"3\"},{\"c\":\"Apolonia\",\"p\":\"1\",\"w\":\"0\",\"d\":\"1\",\"l\":\"0\",\"fa1\":\"1\",\"fa2\":\"1\",\"pnt\":\"1\"},{\"c\":\"Besa\",\"p\":\"1\",\"w\":\"0\",\"d\":\"1\",\"l\":\"0\",\"fa1\":\"1\",\"fa2\":\"1\",\"pnt\":\"1\"},{\"c\":\"Luftetari Gjirokaster\",\"p\":\"1\",\"w\":\"0\",\"d\":\"0\",\"l\":\"1\",\"fa1\":\"1\",\"fa2\":\"3\",\"pnt\":\"0\"},{\"c\":\"Burreli\",\"p\":\"1\",\"w\":\"0\",\"d\":\"0\",\"l\":\"1\",\"fa1\":\"0\",\"fa2\":\"1\",\"pnt\":\"0\"},{\"c\":\"Iliria Fushe Kruje\",\"p\":\"1\",\"w\":\"0\",\"d\":\"0\",\"l\":\"1\",\"fa1\":\"0\",\"fa2\":\"2\",\"pnt\":\"0\"}],\"6292\":[{\"c\":\"Lushnja\",\"p\":\"1\",\"w\":\"1\",\"d\":\"0\",\"l\":\"0\",\"fa1\":\"1\",\"fa2\":\"0\",\"pnt\":\"3\"},{\"c\":\"KF Valbona\",\"p\":\"1\",\"w\":\"0\",\"d\":\"0\",\"l\":\"1\",\"fa1\":\"0\",\"fa2\":\"1\",\"pnt\":\"0\"}]}}]";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: ["","