var competitionId="150", cntId="178", name="SWITZERLAND: Super League"; var jsTxt="[{\"games\":{},\"comps\":{},\"rc\":{},\"ev\":{}},{\"games\":{\"g1831537\":{\"id\":\"1831537\",\"p1\":\"Thun\",\"p2\":\"Basel\",\"dt\":\"2026-04-18\",\"tm\":\"20:30\",\"stT\":\"1779433711\",\"cm\":\"69\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"3\",\"r2\":\"1\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1831535\":{\"id\":\"1831535\",\"p1\":\"Luzern\",\"p2\":\"St. Gallen\",\"dt\":\"2026-04-12\",\"tm\":\"16:30\",\"stT\":\"1779433711\",\"cm\":\"69\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"2\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1831536\":{\"id\":\"1831536\",\"p1\":\"Sion\",\"p2\":\"Lausanne\",\"dt\":\"2026-04-12\",\"tm\":\"16:30\",\"stT\":\"1779433711\",\"cm\":\"69\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"3\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1831540\":{\"id\":\"1831540\",\"p1\":\"Young Boys\",\"p2\":\"Servette\",\"dt\":\"2026-04-12\",\"tm\":\"16:30\",\"stT\":\"1779433711\",\"cm\":\"69\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"1\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1831538\":{\"id\":\"1831538\",\"p1\":\"Winterthur\",\"p2\":\"Grasshoppers\",\"dt\":\"2026-04-11\",\"tm\":\"18:00\",\"stT\":\"1779433711\",\"cm\":\"69\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"2\"},\"rP\":[\"0\",\"1\"],\"c\":0,\"wn\":\"2\"},\"g1831539\":{\"id\":\"1831539\",\"p1\":\"Zurich\",\"p2\":\"Lugano\",\"dt\":\"2026-04-11\",\"tm\":\"18:00\",\"stT\":\"1779433711\",\"cm\":\"69\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"1\"},\"rP\":[],\"c\":0,\"wn\":\"2\"},\"g1883322\":{\"id\":\"1883322\",\"p1\":\"Lugano\",\"p2\":\"Basel\",\"dt\":\"2026-05-17\",\"tm\":\"16:30\",\"stT\":\"1779433711\",\"cm\":\"8360\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"4\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1883323\":{\"id\":\"1883323\",\"p1\":\"St. Gallen\",\"p2\":\"Thun\",\"dt\":\"2026-05-17\",\"tm\":\"16:30\",\"stT\":\"1779433711\",\"cm\":\"8360\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"1\"},\"rP\":[],\"c\":0,\"wn\":\"0\"},\"g1883324\":{\"id\":\"1883324\",\"p1\":\"Young Boys\",\"p2\":\"Sion\",\"dt\":\"2026-05-17\",\"tm\":\"16:30\",\"stT\":\"1779433711\",\"cm\":\"8360\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"3\",\"r2\":\"3\"},\"rP\":[\"1\",\"1\"],\"c\":0,\"wn\":\"0\"},\"g1882648\":{\"id\":\"1882648\",\"p1\":\"Basel\",\"p2\":\"St. Gallen\",\"dt\":\"2026-05-14\",\"tm\":\"16:30\",\"stT\":\"1779433711\",\"cm\":\"8360\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"3\"},\"rP\":[],\"c\":0,\"wn\":\"2\"},\"g1882649\":{\"id\":\"1882649\",\"p1\":\"Sion\",\"p2\":\"Lugano\",\"dt\":\"2026-05-14\",\"tm\":\"16:30\",\"stT\":\"1779433711\",\"cm\":\"8360\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"2\"},\"rP\":[\"0\",\"1\"],\"c\":0,\"wn\":\"0\"},\"g1882650\":{\"id\":\"1882650\",\"p1\":\"Thun\",\"p2\":\"Young Boys\",\"dt\":\"2026-05-14\",\"tm\":\"16:30\",\"stT\":\"1779433711\",\"cm\":\"8360\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"3\",\"r2\":\"8\"},\"rP\":[\"2\",\"3\"],\"c\":0,\"wn\":\"2\"},\"g1881849\":{\"id\":\"1881849\",\"p1\":\"Lugano\",\"p2\":\"St. Gallen\",\"dt\":\"2026-05-10\",\"tm\":\"14:00\",\"stT\":\"1779433711\",\"cm\":\"8360\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"2\"},\"rP\":[],\"c\":0,\"wn\":\"2\"},\"g1881850\":{\"id\":\"1881850\",\"p1\":\"Sion\",\"p2\":\"Thun\",\"dt\":\"2026-05-10\",\"tm\":\"16:30\",\"stT\":\"1779433711\",\"cm\":\"8360\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1881851\":{\"id\":\"1881851\",\"p1\":\"Young Boys\",\"p2\":\"Basel\",\"dt\":\"2026-05-10\",\"tm\":\"16:30\",\"stT\":\"1779433711\",\"cm\":\"8360\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"3\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1883018\":{\"id\":\"1883018\",\"p1\":\"Lausanne\",\"p2\":\"Grasshoppers\",\"dt\":\"2026-05-16\",\"tm\":\"18:00\",\"stT\":\"1779433711\",\"cm\":\"8361\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"3\"},\"rP\":[\"0\",\"2\"],\"c\":0,\"wn\":\"2\"},\"g1883019\":{\"id\":\"1883019\",\"p1\":\"Winterthur\",\"p2\":\"Luzern\",\"dt\":\"2026-05-16\",\"tm\":\"18:00\",\"stT\":\"1779433711\",\"cm\":\"8361\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"3\"},\"rP\":[\"0\",\"1\"],\"c\":0,\"wn\":\"2\"},\"g1883020\":{\"id\":\"1883020\",\"p1\":\"Zurich\",\"p2\":\"Servette\",\"dt\":\"2026-05-16\",\"tm\":\"18:00\",\"stT\":\"1779433711\",\"cm\":\"8361\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"0\",\"r2\":\"2\"},\"rP\":[\"0\",\"1\"],\"c\":0,\"wn\":\"2\"},\"g1882099\":{\"id\":\"1882099\",\"p1\":\"Grasshoppers\",\"p2\":\"Winterthur\",\"dt\":\"2026-05-12\",\"tm\":\"20:30\",\"stT\":\"1779433711\",\"cm\":\"8361\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"3\",\"r2\":\"2\"},\"rP\":[\"0\",\"2\"],\"c\":0,\"wn\":\"1\"},\"g1882100\":{\"id\":\"1882100\",\"p1\":\"Luzern\",\"p2\":\"Zurich\",\"dt\":\"2026-05-12\",\"tm\":\"20:30\",\"stT\":\"1779433711\",\"cm\":\"8361\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"1\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1882101\":{\"id\":\"1882101\",\"p1\":\"Servette\",\"p2\":\"Lausanne\",\"dt\":\"2026-05-12\",\"tm\":\"20:30\",\"stT\":\"1779433711\",\"cm\":\"8361\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"0\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1881348\":{\"id\":\"1881348\",\"p1\":\"Winterthur\",\"p2\":\"Lausanne\",\"dt\":\"2026-05-09\",\"tm\":\"18:00\",\"stT\":\"1779433711\",\"cm\":\"8361\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"1\"},\"rP\":[],\"c\":0,\"wn\":\"1\"},\"g1881349\":{\"id\":\"1881349\",\"p1\":\"Zurich\",\"p2\":\"Grasshoppers\",\"dt\":\"2026-05-09\",\"tm\":\"18:00\",\"stT\":\"1779433711\",\"cm\":\"8361\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"2\",\"r2\":\"1\"},\"rP\":[\"0\",\"1\"],\"c\":0,\"wn\":\"1\"},\"g1881350\":{\"id\":\"1881350\",\"p1\":\"Luzern\",\"p2\":\"Servette\",\"dt\":\"2026-05-09\",\"tm\":\"20:30\",\"stT\":\"1779433711\",\"cm\":\"8361\",\"sh\":0,\"rL\":\"2\",\"h\":\"2\",\"n\":\"\",\"v\":\"\",\"R\":{\"st\":\"FT\",\"r1\":\"3\",\"r2\":\"3\"},\"rP\":[\"0\",\"2\"],\"c\":0,\"wn\":\"0\"}},\"comps\":{\"69\":{\"id\":\"69\",\"nm\":\"Super League\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"},\"739\":{\"id\":\"739\",\"nm\":\"Super League, Playoff\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"},\"8360\":{\"id\":\"8360\",\"nm\":\"Super League, Championship Round\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"},\"8361\":{\"id\":\"8361\",\"nm\":\"Super League, Relegation Round\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"}},\"rc\":{\"1881349\":{\"rc1\":\"\",\"rc2\":\"1\"},\"1882100\":{\"rc1\":\"1\",\"rc2\":\"0\"},\"1882650\":{\"rc1\":\"2\",\"rc2\":\"0\"},\"1883018\":{\"rc1\":\"1\",\"rc2\":\"0\"},\"1883019\":{\"rc1\":\"1\",\"rc2\":\"0\"},\"1883020\":{\"rc1\":\"1\",\"rc2\":\"0\"}},\"ev\":{\"1831535\":[{\"e\":\"goal\",\"m\":\"9\",\"p\":\"Andrej Vasovic\",\"c\":\"1\"},{\"e\":\"pen\",\"m\":\"73\",\"p\":\"Aliou Balde\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"77\",\"p\":\"Lars Villiger\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"87\",\"p\":\"Aliou Balde\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"7\",\"p\":\"Carlo Boukhalfa\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"48\",\"p\":\"Taisei Abe\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"55\",\"p\":\"Ruben Dantas\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Colin Kleine-Bekel\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Alessandro Vogt\",\"c\":\"2\"}],\"1831536\":[{\"e\":\"goal\",\"m\":\"57\",\"p\":\"Benjamin Kololli\",\"c\":\"1\"},{\"e\":\"pen\",\"m\":\"70\",\"p\":\"Ilyas Chouaref\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"74\",\"p\":\"Franck Surdez\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"9\",\"p\":\"Seydou Traore\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"31\",\"p\":\"Omar Janneh\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"56\",\"p\":\"Beyatt Lekoueiry\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"59\",\"p\":\"Karim Sow\",\"c\":\"2\"},{\"e\":\"m.pen\",\"m\":\"60\",\"p\":\"Ali Kabacalman\",\"c\":\"1\"}],\"1831537\":[{\"e\":\"goal\",\"m\":\"28\",\"p\":\"Christopher Ibayi\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"53\",\"p\":\"Michael Heule\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"56\",\"p\":\"Julien Duranville\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"64\",\"p\":\"Elmin Rastoder\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"14\",\"p\":\"Genis Montolio\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"27\",\"p\":\"Ibrahim Salah\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"58\",\"p\":\"Leo Leroy\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"80\",\"p\":\"Xherdan Shaqiri\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Marco Burki\",\"c\":\"1\"}],\"1831538\":[{\"e\":\"goal\",\"m\":\"18\",\"p\":\"Jonathan Asp Jensen\",\"c\":\"2\"},{\"e\":\"var\",\"m\":\"25\",\"p\":\"1\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"90\",\"p\":\"Michael Frey\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"22\",\"p\":\"Fabian Rohner\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"32\",\"p\":\"Bafode Dansoko\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"45\",\"p\":\"Tim Meyer\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"65\",\"p\":\"Simone Stroscio\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"69\",\"p\":\"Allan Arigoni\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"73\",\"p\":\"Dirk Abels\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"87\",\"p\":\"Silvan Sidler\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Stefanos Kapino\",\"c\":\"1\"},{\"e\":\"m.pen\",\"m\":\"90\",\"p\":\"Michael Frey\",\"c\":\"2\"}],\"1831539\":[{\"e\":\"goal\",\"m\":\"61\",\"p\":\"Renato Steffen\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"21\",\"p\":\"Daniel Dos Santos\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"59\",\"p\":\"Damian Kelvin\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"68\",\"p\":\"Sebastian Walker\",\"c\":\"1\"}],\"1831540\":[{\"e\":\"goal\",\"m\":\"59\",\"p\":\"Thomas Lopes\",\"c\":\"2\"},{\"e\":\"pen\",\"m\":\"71\",\"p\":\"Chris Bedia\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"37\",\"p\":\"David Douline\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"43\",\"p\":\"Loris Benito\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"52\",\"p\":\"Armin Gigovic\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"57\",\"p\":\"Gregory Wuthrich\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"70\",\"p\":\"Steve Rouiller\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"89\",\"p\":\"Lamine Fomba\",\"c\":\"2\"}],\"1881348\":[{\"e\":\"goal\",\"m\":\"12\",\"p\":\"Nishan Burkart\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"56\",\"p\":\"Omar Janneh\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"66\",\"p\":\"Andrin Hunziker\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"10\",\"p\":\"Fabian Rohner\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"14\",\"p\":\"Luca Zuffi\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"17\",\"p\":\"Beyatt Lekoueiry\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"49\",\"p\":\"Oscar Renovales\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"76\",\"p\":\"Kevin Mouanga\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"84\",\"p\":\"Theo Bergvall\",\"c\":\"2\"}],\"1881349\":[{\"e\":\"goal\",\"m\":\"35\",\"p\":\"Felix Emmanuel Tsimba\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"49\",\"p\":\"Alexander Hack\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"61\",\"p\":\"Ilan Sauter\",\"c\":\"1\"},{\"e\":\"rc\",\"m\":\"45\",\"p\":\"Felix Emmanuel Tsimba\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"23\",\"p\":\"Cheveyo Tsawa\",\"c\":\"1\"},{\"e\":\"m.pen\",\"m\":\"66\",\"p\":\"Jonathan Asp Jensen\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"79\",\"p\":\"Silas Huber\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"87\",\"p\":\"Samuel Marques\",\"c\":\"2\"}],\"1881350\":[{\"e\":\"goal\",\"m\":\"11\",\"p\":\"Miroslav Stevanovic\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"39\",\"p\":\"Thomas Lopes\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"67\",\"p\":\"Levin Winkler\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"73\",\"p\":\"Adrian Bajrami\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"79\",\"p\":\"Lilian Njoh\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"81\",\"p\":\"Oscar Kabwit\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"48\",\"p\":\"Thomas Lopes\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"54\",\"p\":\"Severin Ottiger\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"57\",\"p\":\"Junior Kadile\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"76\",\"p\":\"Jeremy Guillemenot\",\"c\":\"2\"}],\"1881849\":[{\"e\":\"goal\",\"m\":\"53\",\"p\":\"Mohamed Belhaj Mahmoud\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"69\",\"p\":\"Mihailo Stevanovic\",\"c\":\"2\"},{\"e\":\"pen\",\"m\":\"74\",\"p\":\"Lukas Gortler\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"31\",\"p\":\"Nino Weibel\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"52\",\"p\":\"Renato Steffen\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"66\",\"p\":\"Hugo Vandermersch\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"73\",\"p\":\"Hannes Delcroix\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"77\",\"p\":\"Carlo Boukhalfa\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Lukas Daschner\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Hicham Mahou\",\"c\":\"1\"},{\"e\":\"m.pen\",\"m\":\"90\",\"p\":\"Ezgjan Alioski\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Diego Besio\",\"c\":\"2\"}],\"1881850\":[{\"e\":\"goal\",\"m\":\"22\",\"p\":\"Winsley Boteli\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"23\",\"p\":\"Ilyas Chouaref\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"26\",\"p\":\"Marco Burki\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"38\",\"p\":\"Jan Kronig\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"55\",\"p\":\"Dominik Franke\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"66\",\"p\":\"Franck Surdez\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"73\",\"p\":\"Franz-Ethan Meichtry\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"88\",\"p\":\"Mattias Kait\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Noah Rupp\",\"c\":\"2\"}],\"1881851\":[{\"e\":\"goal\",\"m\":\"49\",\"p\":\"Dominik Pech\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"74\",\"p\":\"Darian Males\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"90\",\"p\":\"Christian Fassnacht\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"18\",\"p\":\"Kevin Ruegg\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"27\",\"p\":\"Yan Valery\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"56\",\"p\":\"Giacomo Koloto\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Moussa Cisse\",\"c\":\"2\"}],\"1882099\":[{\"e\":\"goal\",\"m\":\"7\",\"p\":\"Pajtim Kasami\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"10\",\"p\":\"Pajtim Kasami\",\"c\":\"2\"},{\"e\":\"pen\",\"m\":\"60\",\"p\":\"Dirk Abels\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"62\",\"p\":\"Young-joon Lee\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"70\",\"p\":\"Dirk Abels\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"28\",\"p\":\"Dirk Abels\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"55\",\"p\":\"Tim Meyer\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"62\",\"p\":\"Mirlind Kryeziu\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"63\",\"p\":\"Young-joon Lee\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"83\",\"p\":\"Mouhamed El Bachir Ngom\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Michael Frey\",\"c\":\"1\"}],\"1882100\":[{\"e\":\"goal\",\"m\":\"70\",\"p\":\"Oscar Kabwit\",\"c\":\"1\"},{\"e\":\"rc\",\"m\":\"77\",\"p\":\"Bung Meng Freimann\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"56\",\"p\":\"Pius Dorn\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"80\",\"p\":\"Stefan Knezevic\",\"c\":\"1\"}],\"1882101\":[{\"e\":\"goal\",\"m\":\"61\",\"p\":\"David Douline\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"65\",\"p\":\"Samuel Mraz\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"36\",\"p\":\"David Douline\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"63\",\"p\":\"Jamie Roche\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"66\",\"p\":\"Karim Sow\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"69\",\"p\":\"Florent Mollet\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"84\",\"p\":\"Marco Burch\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"87\",\"p\":\"Souleymane N'Diaye\",\"c\":\"2\"}],\"1882648\":[{\"e\":\"goal\",\"m\":\"51\",\"p\":\"Aliou Balde\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"78\",\"p\":\"Carlo Boukhalfa\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"88\",\"p\":\"Nicolas Vouilloz\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"89\",\"p\":\"Nevio Scherrer\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"10\",\"p\":\"Tom Gaal\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"10\",\"p\":\"Benie Traore\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"13\",\"p\":\"Aliou Balde\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"39\",\"p\":\"Nicolas Vouilloz\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"47\",\"p\":\"Leo Leroy\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"50\",\"p\":\"Colin Kleine-Bekel\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"60\",\"p\":\"Dominik Schmid\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"87\",\"p\":\"Betim Fazliji\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Chima Okoroji\",\"c\":\"2\"}],\"1882649\":[{\"e\":\"goal\",\"m\":\"31\",\"p\":\"Georgios Koutsias\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"55\",\"p\":\"Ilyas Chouaref\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"63\",\"p\":\"Baltazar\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"90\",\"p\":\"Antonios Papadopoulos\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"7\",\"p\":\"Anto Grgic\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"51\",\"p\":\"Nias Hefti\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"54\",\"p\":\"Kreshnik Hajrizi\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"58\",\"p\":\"Baltazar\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Winsley Boteli\",\"c\":\"1\"}],\"1882650\":[{\"e\":\"goal\",\"m\":\"1\",\"p\":\"Samuel Essende\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"11\",\"p\":\"Elmin Rastoder\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"13\",\"p\":\"Elmin Rastoder\",\"c\":\"1\"},{\"e\":\"pen\",\"m\":\"26\",\"p\":\"Samuel Essende\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"43\",\"p\":\"Alvyn Sanches\",\"c\":\"2\"},{\"e\":\"pen\",\"m\":\"54\",\"p\":\"Samuel Essende\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"64\",\"p\":\"Alan Virginius\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"68\",\"p\":\"Christian Fassnacht\",\"c\":\"2\"},{\"e\":\"pen\",\"m\":\"77\",\"p\":\"Chris Bedia\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"79\",\"p\":\"Leonardo Bertone\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"81\",\"p\":\"Christian Fassnacht\",\"c\":\"2\"},{\"e\":\"rc\",\"m\":\"45\",\"p\":\"Marco Burki\",\"c\":\"1\"},{\"e\":\"rc\",\"m\":\"76\",\"p\":\"Jan Bamert\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"17\",\"p\":\"Christopher Ibayi\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"29\",\"p\":\"Ebrima Colley\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"61\",\"p\":\"Leonardo Bertone\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"78\",\"p\":\"Sandro Lauper\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"86\",\"p\":\"Samuel Essende\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"89\",\"p\":\"Niklas Steffen\",\"c\":\"1\"}],\"1883018\":[{\"e\":\"goal\",\"m\":\"14\",\"p\":\"Dominik Papic\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"39\",\"p\":\"Demis Fiechter\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"87\",\"p\":\"Gaoussou Diakite\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"90\",\"p\":\"Christian Kouam\",\"c\":\"2\"},{\"e\":\"2yc\",\"m\":\"75\",\"p\":\"Theo Bair\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"59\",\"p\":\"Nathan Butler-Oyedeji\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"71\",\"p\":\"Theo Bair\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"82\",\"p\":\"Denis Sahin\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"84\",\"p\":\"Gabriel Gonzalez\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Theo Bergvall\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Karim Sow\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Christian Kouam\",\"c\":\"2\"}],\"1883019\":[{\"e\":\"goal\",\"m\":\"39\",\"p\":\"Oscar Kabwit\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"54\",\"p\":\"Pius Dorn\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"68\",\"p\":\"Oscar Kabwit\",\"c\":\"2\"},{\"e\":\"rc\",\"m\":\"45\",\"p\":\"Tibault Citherlet\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"2\",\"p\":\"Adrian Bajrami\",\"c\":\"2\"},{\"e\":\"m.pen\",\"m\":\"45\",\"p\":\"Matteo Di Giusto\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"85\",\"p\":\"Stefan Knezevic\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Stephane Cueni\",\"c\":\"1\"}],\"1883020\":[{\"e\":\"goal\",\"m\":\"27\",\"p\":\"Jeremy Guillemenot\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"87\",\"p\":\"Junior Kadile\",\"c\":\"2\"},{\"e\":\"rc\",\"m\":\"36\",\"p\":\"Ivan Cavaleiro\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"40\",\"p\":\"Jeremy Guillemenot\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"42\",\"p\":\"Lamine Fomba\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"52\",\"p\":\"Philippe Keny\",\"c\":\"1\"}],\"1883322\":[{\"e\":\"goal\",\"m\":\"10\",\"p\":\"Kevin Behrens\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"36\",\"p\":\"Kevin Behrens\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"52\",\"p\":\"Renato Steffen\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"56\",\"p\":\"Georgios Koutsias\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"27\",\"p\":\"Kevin Ruegg\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"30\",\"p\":\"Antonios Papadopoulos\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"39\",\"p\":\"Andrej Bacanin\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"85\",\"p\":\"Mattia Zanotti\",\"c\":\"1\"}],\"1883323\":[{\"e\":\"goal\",\"m\":\"65\",\"p\":\"Corsin Konietzke\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"73\",\"p\":\"Michael Heule\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"21\",\"p\":\"Chima Okoroji\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"43\",\"p\":\"Corsin Konietzke\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"68\",\"p\":\"Kastriot Imeri\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"76\",\"p\":\"Betim Fazliji\",\"c\":\"1\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Michael Heule\",\"c\":\"2\"}],\"1883324\":[{\"e\":\"pen\",\"m\":\"8\",\"p\":\"Donat Rrudhani\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"24\",\"p\":\"Dominik Pech\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"49\",\"p\":\"Samuel Essende\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"59\",\"p\":\"Winsley Boteli\",\"c\":\"2\"},{\"e\":\"goal\",\"m\":\"65\",\"p\":\"Alan Virginius\",\"c\":\"1\"},{\"e\":\"goal\",\"m\":\"90\",\"p\":\"Liam Chipperfield\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"16\",\"p\":\"Kreshnik Hajrizi\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"37\",\"p\":\"Baltazar\",\"c\":\"2\"},{\"e\":\"yc\",\"m\":\"90\",\"p\":\"Liam Chipperfield\",\"c\":\"2\"}]}},{\"games\":{},\"comps\":{\"69\":{\"id\":\"69\",\"nm\":\"Super League\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"},\"739\":{\"id\":\"739\",\"nm\":\"Super League, Playoff\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"},\"8360\":{\"id\":\"8360\",\"nm\":\"Super League, Championship Round\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"},\"8361\":{\"id\":\"8361\",\"nm\":\"Super League, Relegation Round\",\"cont\":\"1\",\"cn\":\"\",\"st\":\"\"}},\"rc\":{},\"ev\":{}},{\"comps\":{\"a69\":{\"id\":\"69\",\"nm\":\"Super League\"},\"a8360\":{\"id\":\"8360\",\"nm\":\"Super League, Championship Round\"},\"a8361\":{\"id\":\"8361\",\"nm\":\"Super League, Relegation Round\"}},\"tables\":{\"69\":[{\"c\":\"Thun\",\"p\":\"33\",\"w\":\"24\",\"d\":\"2\",\"l\":\"7\",\"fa1\":\"75\",\"fa2\":\"37\",\"pnt\":\"74\"},{\"c\":\"St. Gallen\",\"p\":\"33\",\"w\":\"17\",\"d\":\"9\",\"l\":\"7\",\"fa1\":\"64\",\"fa2\":\"40\",\"pnt\":\"60\"},{\"c\":\"Lugano\",\"p\":\"33\",\"w\":\"16\",\"d\":\"9\",\"l\":\"8\",\"fa1\":\"50\",\"fa2\":\"38\",\"pnt\":\"57\"},{\"c\":\"Basel\",\"p\":\"33\",\"w\":\"15\",\"d\":\"8\",\"l\":\"10\",\"fa1\":\"51\",\"fa2\":\"45\",\"pnt\":\"53\"},{\"c\":\"Sion\",\"p\":\"33\",\"w\":\"13\",\"d\":\"13\",\"l\":\"7\",\"fa1\":\"51\",\"fa2\":\"35\",\"pnt\":\"52\"},{\"c\":\"Young Boys\",\"p\":\"33\",\"w\":\"13\",\"d\":\"9\",\"l\":\"11\",\"fa1\":\"65\",\"fa2\":\"60\",\"pnt\":\"48\"},{\"c\":\"Luzern\",\"p\":\"33\",\"w\":\"10\",\"d\":\"10\",\"l\":\"13\",\"fa1\":\"64\",\"fa2\":\"61\",\"pnt\":\"40\"},{\"c\":\"Servette\",\"p\":\"33\",\"w\":\"9\",\"d\":\"13\",\"l\":\"11\",\"fa1\":\"57\",\"fa2\":\"57\",\"pnt\":\"40\"},{\"c\":\"Lausanne\",\"p\":\"33\",\"w\":\"10\",\"d\":\"9\",\"l\":\"14\",\"fa1\":\"47\",\"fa2\":\"57\",\"pnt\":\"39\"},{\"c\":\"Zurich\",\"p\":\"33\",\"w\":\"10\",\"d\":\"4\",\"l\":\"19\",\"fa1\":\"45\",\"fa2\":\"63\",\"pnt\":\"34\"},{\"c\":\"Grasshoppers\",\"p\":\"33\",\"w\":\"6\",\"d\":\"9\",\"l\":\"18\",\"fa1\":\"40\",\"fa2\":\"65\",\"pnt\":\"27\"},{\"c\":\"Winterthur\",\"p\":\"33\",\"w\":\"4\",\"d\":\"7\",\"l\":\"22\",\"fa1\":\"35\",\"fa2\":\"86\",\"pnt\":\"19\"}],\"8360\":[{\"c\":\"Thun\",\"p\":\"38\",\"w\":\"24\",\"d\":\"3\",\"l\":\"11\",\"fa1\":\"80\",\"fa2\":\"52\",\"pnt\":\"75\"},{\"c\":\"St. Gallen\",\"p\":\"38\",\"w\":\"20\",\"d\":\"10\",\"l\":\"8\",\"fa1\":\"72\",\"fa2\":\"47\",\"pnt\":\"70\"},{\"c\":\"Lugano\",\"p\":\"38\",\"w\":\"19\",\"d\":\"10\",\"l\":\"9\",\"fa1\":\"59\",\"fa2\":\"42\",\"pnt\":\"67\"},{\"c\":\"Sion\",\"p\":\"38\",\"w\":\"16\",\"d\":\"15\",\"l\":\"7\",\"fa1\":\"63\",\"fa2\":\"40\",\"pnt\":\"63\"},{\"c\":\"Basel\",\"p\":\"38\",\"w\":\"16\",\"d\":\"8\",\"l\":\"14\",\"fa1\":\"55\",\"fa2\":\"58\",\"pnt\":\"56\"},{\"c\":\"Young Boys\",\"p\":\"38\",\"w\":\"15\",\"d\":\"10\",\"l\":\"13\",\"fa1\":\"80\",\"fa2\":\"69\",\"pnt\":\"55\"}],\"8361\":[{\"c\":\"Luzern\",\"p\":\"38\",\"w\":\"14\",\"d\":\"11\",\"l\":\"13\",\"fa1\":\"76\",\"fa2\":\"66\",\"pnt\":\"53\"},{\"c\":\"Servette\",\"p\":\"38\",\"w\":\"13\",\"d\":\"14\",\"l\":\"11\",\"fa1\":\"71\",\"fa2\":\"63\",\"pnt\":\"53\"},{\"c\":\"Lausanne\",\"p\":\"38\",\"w\":\"11\",\"d\":\"9\",\"l\":\"18\",\"fa1\":\"53\",\"fa2\":\"67\",\"pnt\":\"42\"},{\"c\":\"Zurich\",\"p\":\"38\",\"w\":\"11\",\"d\":\"5\",\"l\":\"22\",\"fa1\":\"49\",\"fa2\":\"72\",\"pnt\":\"38\"},{\"c\":\"Grasshoppers\",\"p\":\"38\",\"w\":\"8\",\"d\":\"9\",\"l\":\"21\",\"fa1\":\"48\",\"fa2\":\"74\",\"pnt\":\"33\"},{\"c\":\"Winterthur\",\"p\":\"38\",\"w\":\"5\",\"d\":\"8\",\"l\":\"25\",\"fa1\":\"44\",\"fa2\":\"100\",\"pnt\":\"23\"}]}}]";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: ["","
GOAL
"] }; var min, minSt=""; var res; var id=initObj.games[Match].id; var rL=""; if(initObj.games[Match].rL) rL=" rL"; min=initObj.games[Match].R.st; if(initObj.games[Match].sh===3){ min=Math.floor(Number(initObj.games[Match].stT)/60); initObj.games[Match].stT=tmNow+Number(initObj.games[Match].stT); if(initObj.games[Match].R.st==="1T" && min>45){ min-=45; if(min>10) min=""; min="45+"+min; } else if(initObj.games[Match].R.st==="2T" && min>90){ min-=90; if(min>10) min=""; min="90+"+min; } else min+=" '"; } if(min){ if(initObj.games[Match].sh > 1) minSt=" l w"; res=initObj.games[Match].R.r1+" : "+initObj.games[Match].R.r2; } else res="-"; if(initObj.rc[id]){ if(initObj.rc[id].rc1>0) strRC1=""+initObj.rc[id].rc1+""; if(initObj.rc[id].rc2>0) strRC2=""+initObj.rc[id].rc2+""; } if(min){ str="
"+initObj.games[Match].tm+"
"; str+="
"+min+"
"; } else{ str=""; str+="
"+min+"
"; } str+=goalFl.html[initObj.games[Match].c]; str+="
"+ strRC1+initObj.games[Match].p1+"
"+ "
"+res+"
"+ "
"+ initObj.games[Match].p2+strRC2+"
"+ "
"; //""; //""+ //""+ //""+ //""+ //""+ //""+ if(initObj.games[Match].h==="1") str+=" h2h"; if(initObj.games[Match].h==="2"){ //var hrefL="/"+initObj.games[Match].p1+"-"+initObj.games[Match].p2+"-highlights/result/"; var hrefL="/"+initObj.games[Match].p1+"-vs-"+initObj.games[Match].p2+"-"+id+"/"; hrefL=hrefL.replaceAll("\* ",""); hrefL=hrefL.replaceAll(" \*",""); hrefL=hrefL.replaceAll(" ","-").toLowerCase(); //console.log("hrefL="+hrefL); str+="MC"; } str+="
"; if(brief) return str; if(initObj.games[Match].n){ strN="
"+initObj.games[Match].n+"
"; // rowT=" rowInfo"; } // else rowT=" rowSt"; if(cnt%2===0) rowT=" white"; rowT+=goalFl.row[initObj.games[Match].c]; // if(!min) rowT+=" rowF"; // else rowT+=" rowR"; str="
"+str; str+="
"; str+=strN; if(Match===gameIdM){ var detEl=document.getElementById("matchInfo"); if(detEl){ str+="
"; str+=detEl.innerHTML; str+="
"; } } str+="
"; if(initObj.games[Match].v) str+="
"; return str; }, sport2: function(Match,cnt,brief=0){ var str, rowT=""; var strResP=strRC1=strRC2=strN=""; var goalFl={ row: [""," red"], html: ["","
"] }; var min, minSt=""; var res; var id=initObj.games[Match].id; for(var i=0; i"; i++; strResP+="
"+initObj.games[Match].rP[i]+"
"; strResP+=""; } min=initObj.games[Match].R.st; if(initObj.games[Match].sh===3){ min+=" '"; } if(min){ if(initObj.games[Match].sh > 1 && min) minSt=" l w"; str="
"+initObj.games[Match].tm+"
"; str+="
"+min+"
"; } else{ str=""; str+="
"+min+"
"; } str+=goalFl.html[initObj.games[Match].c]; str+="
"+initObj.games[Match].p1+ "
"+initObj.games[Match].p2+"
"+ "
"+initObj.games[Match].R.r1+"
"+ "
"+initObj.games[Match].R.r2+"
"+strResP+ "
"; if(initObj.games[Match].h==="1") str+=" h2h"; str+="
"; if(brief) return 0; if(initObj.games[Match].n){ strN="
"+initObj.games[Match].n+"
"; //rowT="rowInfo"; } //else rowT="rowSt"; if(cnt%2===0) rowT+=" white"; //if(!min) rowT+=" rowF"; //else rowT+=" rowR"; rowT+=goalFl.row[initObj.games[Match].c]; str="
"+str; str+="
"; str+=strN; str+="
"; if(initObj.games[Match].v) str+="
"; return str; } } init(); function init(){ var initID=["TODAY","RESULT","FIXTURES"]; var strMenu=""; var j; name=""+name+""; document.getElementsByClassName("icon")[2].style.backgroundImage="url(\"//s3.amazonaws.com/bookmkrs/img/flags/"+cntId+".png\")"; document.getElementsByClassName("title")[2].innerHTML=name; //console.log(jsTxt); var getObj=JSON.parse(jsTxt); initObj=getObj[0]; for(j=0;j<3;j++){ str=showComp(getObj[j],j); var itemTmp=document.getElementById(initID[j]); itemTmp.innerHTML = str; itemTmp.style.display="none"; if(str){ if(!strMenu){ strMenu="
"+initID[j].toLowerCase()+"
"; itemTmp.style.display="block"; } else strMenu+="
"+initID[j].toLowerCase()+"
"; } } //table var strTable=""; for(i in getObj[3].comps){ strTable+="
"; strTable+="
"+getObj[3].comps[i].nm+"
"; strTable+="
"; strTable+="
"; strTable+="
"; strTable+="
N
"; strTable+="
Club
"; strTable+="
P
"; strTable+="
W
"; strTable+="
D
"; strTable+="
L
"; strTable+="
F - A
"; strTable+="
P
"; strTable+="
"; var id=getObj[3].comps[i].id; var table=getObj[3].tables[id]; for(j in table){ var n=Number(j)+1; if(n%2===0) strTable+="
"; else strTable+="
"; strTable+="
"+n+"
"; strTable+="
"+table[j].c+"
"; strTable+="
"+table[j].p+"
"; strTable+="
"+table[j].w+"
"; strTable+="
"+table[j].d+"
"; strTable+="
"+table[j].l+"
"; strTable+="
"+table[j].fa1+" - "+table[j].fa2+"
"; strTable+="
"+table[j].pnt+"
"; strTable+="
"; } strTable+="
"; } var itemTmp=document.getElementById("TABLE"); itemTmp.innerHTML = strTable; itemTmp.style.display="none"; if(strTable){ if(!strMenu){ strMenu="
table
"; itemTmp.style.display="block"; } else strMenu+="
table
"; } //!table document.getElementsByClassName("TabMenu")[0].innerHTML=strMenu; var cmpItem = document.getElementsByClassName("item"); for (var i = 0; i < cmpItem.length; i++) { cmpItem[i].addEventListener("click", clCompItem, 1); if(cmpItem[i].classList[1]==="active") cmpActiveItem=cmpItem[i]; } getComp(); } function showComp(getObj, dateFlag) { var compStr=gameStr=str=""; //gameStr-um gruma ete gmFl-a var currComp,currDate,compShow,gmCnt=0; // var i; for(i in getObj.rc){ initObj.rc[i]=getObj.rc[i]; } for(i in getObj.comp){ initObj.comps[i]=getObj.comps[i]; } for(i in getObj.ev){ initObj.ev[i]=getObj.ev[i]; } tmNow=0; for(i in getObj.games){ initObj.games[i]=getObj.games[i]; if(getObj.games[i].cm!==currComp || getObj.games[i].dt!==currDate){ if(gameStr){ str+=compStr+gameStr;//+"
"; } currComp=getObj.games[i].cm; currDate=getObj.games[i].dt; compStr="
"+getObj.comps[currComp].nm; if(dateFlag) compStr+=" - "+currDate; compStr+="
";//table"; gameStr=""; compShow=gmCnt=0; } //gameStr+=makeMatch["sport](i,gmCnt); gameStr+=makeMatch["sport"+corrH[sportId]](i,gmCnt); gmCnt++; } if(gameStr){ str+=compStr+gameStr; } return str; } function clCompItem(){ var cmpPrevItem=document.getElementById(cmpActiveItem.innerText); var cmpClItem=document.getElementById(this.innerText); this.classList.toggle("active"); cmpActiveItem.classList.toggle("active"); cmpActiveItem.classList.remove="active"; cmpPrevItem.style.display="none"; cmpClItem.style.display="block"; cmpActiveItem=this; getComp(); //makeDetails["Goal"]("730228", 0); return 0; } var makeDetails = { Goal: function(Id,cnt){ if(gameId!==Id) return; //timeout-na ashxatel bayc arden poxvela var ev = document.getElementById("matchInfo"); var evIcon={"goal": ["",""], "og": ["
"," (og)"], "pen": [""," (pen)"], "yc": ["
1
",""], "rc": ["
1
",""], "2yc": ["
1
",""], "m.pen": ["
×
"," (m.pen)"], "var": ["
","VAR - Goal Disallowed"] }; var strHtm=""; if(ev){ ev.remove(); } var match = document.getElementById(Id); var htm=document.createElement("div"); htm.setAttribute("id","matchInfo"); if(initObj.ev[Id]) initTmpObj[0]=initObj.ev[Id]; else if(!initTmpObj[0]){ //dnuma loader u sksum qashel strHtm="
"; htm.innerHTML="
"+strHtm+"
"; match.appendChild(htm); getTmp(Id,"Goal"); return; } for(var i=0;i
"+evIcon[initTmpObj[0][i].e][0]+"
"+initTmpObj[0][i].m+"'
"; } else{ var c2Long=mLong=""; if(initTmpObj[0][i].m.length > 3){ c2Long=" c2Long"; mLong=" mLong"; } strHtm+="
"+initTmpObj[0][i].m+"'
"+evIcon[initTmpObj[0][i].e][0]+"
"+initTmpObj[0][i].p+evIcon[initTmpObj[0][i].e][1]+"
"; } if(initTmpObj[0][i].v){ strHtm+="
"; } strHtm+=""; } if(initObj.games["g"+Id].rP[4] || initObj.games["g"+Id].rP[5]){ strHtm+="
On penalties: "+initObj.games["g"+Id].rP[4]+" - "+initObj.games["g"+Id].rP[5]+"
"; } /* if(initObj.games["g"+Id].cm==="15") strHtm+="
England Premier League Goals...
"; */ //advertizing /* var evT = document.getElementsByClassName("advB")[0]; evT.innerHTML=""; */ if(window.innerWidth < 600){ htm.innerHTML="
"+strHtm+"
";//mec } else{ htm.innerHTML="
"+strHtm+"
";//poqr } //strHtm+="
"; //!advertizing //htm.innerHTML="
"+strHtm+"
";//poqr //"
Sergei Ignashevich
17'
"; match.appendChild(htm); var bounding = match.getBoundingClientRect(); scrollBy(0,bounding.top-100); /* if(bounding.top<0 && heightPrev){ console.log("heightPrev="+heightPrev+";"+bounding.top); if(-bounding.top