var competitionId="947", cntId="13", name="AUSTRIA: National cup"; var jsTxt="[{\"games\":{},\"comps\":{},\"rc\":{},\"ev\":{}},{\"games\":{\"g1949422\":{\"id\":\"1949422\",\"p1\":\"Kitzbuhel\",\"p2\":\"Grazer AK\",\"dt\":\"2026-09-06\",\"tm\":\"16:00\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"2\"},\"rP\":[\"0\",\"1\"],\"c\":0,\"wn\":\"2\"},\"g1949423\":{\"id\":\"1949423\",\"p1\":\"Parndorf\",\"p2\":\"Wolfsberger AC\",\"dt\":\"2026-09-06\",\"tm\":\"17:00\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"Pen\",\"r1\":\"2\",\"r2\":\"2\"},\"rP\":[\"0\",\"0\",\"2\",\"2\",\"0\",\"0\"],\"c\":0,\"wn\":\"0\"},\"g1949424\":{\"id\":\"1949424\",\"p1\":\"St. Polten\",\"p2\":\"Salzburg\",\"dt\":\"2026-09-06\",\"tm\":\"17:00\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"3\"},\"rP\":[\"0\",\"2\"],\"c\":0,\"wn\":\"2\"},\"g1949425\":{\"id\":\"1949425\",\"p1\":\"Vorwarts Steyr\",\"p2\":\"Hartberg\",\"dt\":\"2026-09-06\",\"tm\":\"17:00\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"4\"},\"rP\":[\"0\",\"4\"],\"c\":0,\"wn\":\"2\"},\"g1948845\":{\"id\":\"1948845\",\"p1\":\"Lafnitz\",\"p2\":\"Austria Lustenau\",\"dt\":\"2026-09-05\",\"tm\":\"14:30\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"6\"},\"rP\":[\"2\",\"2\"],\"c\":0,\"wn\":\"2\"},\"g1948847\":{\"id\":\"1948847\",\"p1\":\"Blau-Weis Linz\",\"p2\":\"Innsbruck\",\"dt\":\"2026-09-05\",\"tm\":\"15:30\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"3\"},\"rP\":[],\"c\":0,\"wn\":\"2\"},\"g1948848\":{\"id\":\"1948848\",\"p1\":\"Deutschlandsberger\",\"p2\":\"LASK Linz\",\"dt\":\"2026-09-05\",\"tm\":\"15:30\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"6\"},\"rP\":[\"0\",\"4\"],\"c\":0,\"wn\":\"2\"},\"g1948846\":{\"id\":\"1948846\",\"p1\":\"Voitsberg\",\"p2\":\"Sturm\",\"dt\":\"2026-09-05\",\"tm\":\"15:30\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"4\"},\"rP\":[\"0\",\"1\"],\"c\":0,\"wn\":\"2\"},\"g1948849\":{\"id\":\"1948849\",\"p1\":\"Austria Salzburg\",\"p2\":\"First Vienna\",\"dt\":\"2026-09-05\",\"tm\":\"16:30\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"4\"},\"rP\":[\"0\",\"1\"],\"c\":0,\"wn\":\"2\"},\"g1948850\":{\"id\":\"1948850\",\"p1\":\"Leithaprodersdorf\",\"p2\":\"Tirol\",\"dt\":\"2026-09-05\",\"tm\":\"17:00\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"4\"},\"rP\":[\"0\",\"2\"],\"c\":0,\"wn\":\"2\"},\"g1948851\":{\"id\":\"1948851\",\"p1\":\"Traiskirchen\",\"p2\":\"Austria V\",\"dt\":\"2026-09-05\",\"tm\":\"17:30\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"6\"},\"rP\":[\"0\",\"4\"],\"c\":0,\"wn\":\"2\"},\"g1948852\":{\"id\":\"1948852\",\"p1\":\"Austria Klagenfurt\",\"p2\":\"Rapid\",\"dt\":\"2026-09-05\",\"tm\":\"20:30\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"5\"},\"rP\":[\"1\",\"2\"],\"c\":0,\"wn\":\"2\"},\"g1948478\":{\"id\":\"1948478\",\"p1\":\"Altach\",\"p2\":\"Bischofshofen\",\"dt\":\"2026-09-04\",\"tm\":\"18:30\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"7\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1948479\":{\"id\":\"1948479\",\"p1\":\"Kapfenberg\",\"p2\":\"Hertha Wels\",\"dt\":\"2026-09-04\",\"tm\":\"18:30\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"1\"},\"rP\":[],\"c\":0,\"wn\":\"2\"},\"g1948480\":{\"id\":\"1948480\",\"p1\":\"Floridsdorfer AC\",\"p2\":\"Bregenz\",\"dt\":\"2026-09-04\",\"tm\":\"19:00\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"Pen\",\"r1\":\"0\",\"r2\":\"0\"},\"rP\":[\"0\",\"0\",\"0\",\"0\",\"4\",\"5\"],\"c\":0,\"wn\":\"0\"},\"g1948481\":{\"id\":\"1948481\",\"p1\":\"Wallern\",\"p2\":\"Ried\",\"dt\":\"2026-09-04\",\"tm\":\"19:00\",\"stT\":\"1788765547\",\"cm\":\"814\",\"sh\":0,\"rL\":\"2\",\"h\":\"0\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"5\"},\"rP\":[\"0\",\"4\"],\"c\":0,\"wn\":\"2\"}},\"comps\":{\"814\":{\"id\":\"814\",\"nm\":\"National cup\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"}},\"rc\":{\"1948850\":{\"rc1\":\"\",\"rc2\":\"1\"},\"1949423\":{\"rc1\":\"0\",\"rc2\":\"1\"}},\"ev\":{\"1948845\":[{\"e\":\"goal\",\"m\":\"2\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"7\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"32\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"38\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"34\",\"p\":\"\",\"c\":\"1\"}],\"1948846\":[{\"e\":\"goal\",\"m\":\"15\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"67\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"70\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"83\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"88\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"43\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"47\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"85\",\"p\":\"\",\"c\":\"1\"}],\"1948847\":[{\"e\":\"goal\",\"m\":\"6\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"20\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"74\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"78\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"86\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"56\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"88\",\"p\":\"\",\"c\":\"2\"}],\"1948848\":[{\"e\":\"yc\",\"m\":\"14\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"31\",\"p\":\"\",\"c\":\"1\"}],\"1948849\":[{\"e\":\"goal\",\"m\":\"30\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"55\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"69\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"90\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"18\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"41\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"49\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"87\",\"p\":\"\",\"c\":\"2\"}],\"1948850\":[{\"e\":\"goal\",\"m\":\"13\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"31\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"53\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"87\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"rc\",\"m\":\"72\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"14\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"16\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"29\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"39\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"42\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"56\",\"p\":\"\",\"c\":\"1\"}],\"1948851\":[{\"e\":\"goal\",\"m\":\"22\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"29\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"30\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"38\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"90\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"90\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"10\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"43\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"53\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"58\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"64\",\"p\":\"\",\"c\":\"1\"}],\"1948852\":[{\"e\":\"goal\",\"m\":\"27\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"33\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"40\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"46\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"58\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"62\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"69\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"18\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"58\",\"p\":\"\",\"c\":\"1\"}],\"1949422\":[{\"e\":\"goal\",\"m\":\"3\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"77\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"51\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"73\",\"p\":\"\",\"c\":\"1\"}],\"1949423\":[{\"e\":\"goal\",\"m\":\"79\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"90\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"97\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"107\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"rc\",\"m\":\"91\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"33\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"51\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"68\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"94\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"102\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"110\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"120\",\"p\":\"\",\"c\":\"1\"}],\"1949424\":[{\"e\":\"goal\",\"m\":\"23\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"31\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"50\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"54\",\"p\":\"\",\"c\":\"1\"}],\"1949425\":[{\"e\":\"goal\",\"m\":\"15\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"17\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"29\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"41\",\"p\":\"\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"73\",\"p\":\"\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"81\",\"p\":\"\",\"c\":\"2\"}]}},{\"games\":{},\"comps\":{\"814\":{\"id\":\"814\",\"nm\":\"National cup\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"}},\"rc\":{},\"ev\":{}},{\"comps\":{},\"tables\":{}}]";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: ["","