var gameTeamHistory = {"A":{"all":{"history":{"id":[3776342,3814537,3776309,3776291,3814534,3776200,3828230,3776173,3814532,3776169,3776157,3814531,3776133,3776125,3776119,3814529,3776107,3816337,3776095,3776083],"mid":[85,74,85,85,74,85,54,85,74,85,85,74,85,85,85,74,85,166,85,85],"aid":[345,2,350,333,350,350,21385,476,693,350,350,239,344,350,63,350,350,3309,275,549],"bid":[350,350,351,350,693,1663,350,350,350,295,514,350,350,181,350,2,489,350,350,350],"date":["02/12/18","28/11/18","24/11/18","10/11/18","08/11/18","04/11/18","31/10/18","27/10/18","24/10/18","20/10/18","08/10/18","03/10/18","29/09/18","27/09/18","23/09/18","20/09/18","16/09/18","06/09/18","02/09/18","27/08/18"],"liveA":[2,1,3,0,3,0,1,0,1,1,1,0,0,1,0,0,0,0,2,2],"liveB":[0,0,0,1,1,1,2,0,1,1,1,0,1,1,0,2,0,3,2,0],"redA":[0,0,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0],"redB":[0,0,1,0,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0],"bc":["1-0","0-0","1-0","0-0","2-1","0-0","0-0","0-0","0-1","0-0","1-1","0-0","0-1","1-0","0-0","0-1","0-0","0-2","2-1","0-0"],"ng":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"rq":["-1.0","-1.25","-1.25","-0.0","-1.25","-1.0","2.25","-0.0","0.25","-0.75","0.75","-0.75","-0.25","-0.75","-0.25","0.5","-0.75","1.5","0.25","0.25"],"rql":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1],"worl":[2,2,0,0,0,2,0,1,1,1,1,1,0,1,1,2,1,0,1,2],"oworl":[3,1,0,0,0,3,3,2,4,3,0,0,0,3,1,3,3,0,4,3]},"match":[85,74,54,166]},"home":{"history":{"id":[3776309,3814534,3776200,3776169,3776157,3776125,3814529,3776107,3776078,3790924,2080422,2080392,2080371,2080351,2080331,2080311,2080291,2080271,2935196,2080251],"mid":[85,74,85,85,85,85,74,85,85,166,85,85,85,85,85,85,85,85,54,85],"aid":[350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350,350],"bid":[351,693,1663,295,514,181,2,489,664,281,307,17,333,549,557,489,344,275,514,345],"date":["24/11/18","08/11/18","04/11/18","20/10/18","08/10/18","27/09/18","20/09/18","16/09/18","21/08/18","12/08/18","20/05/18","30/04/18","19/04/18","09/04/18","17/03/18","05/03/18","26/02/18","12/02/18","09/02/18","27/01/18"],"liveA":[3,3,0,1,1,1,0,0,1,3,2,0,1,1,3,2,2,3,0,1],"liveB":[0,1,1,1,1,1,2,0,1,0,1,0,2,0,1,0,1,1,2,4],"redA":[0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0],"redB":[1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0],"bc":["1-0","2-1","0-0","0-0","1-1","1-0","0-1","0-0","0-1","2-0","1-0","0-0","0-1","1-0","2-0","1-0","1-0","1-1","0-0","0-2"],"ng":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"rq":["-1.25","-1.25","-1.0","-0.75","0.75","-0.75","0.5","-0.75","0.25","-0.5","-1.5","-1.0","-1.0","-1.25","-1.25","-1.25","-0.75","-1.0","0.75","1.0"],"rql":[1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1],"worl":[0,0,2,1,1,1,2,1,1,0,0,1,2,0,0,0,0,0,2,2],"oworl":[0,0,3,3,0,3,3,3,1,0,3,3,3,4,0,0,1,0,3,3]},"match":[85,74,166,54]}},"B":{"all":{"history":{"id":[3803425,3803414,3803407,3803393,3803383,3828230,3803372,3803368,3823177,3803353,3803344,3803333,3803322,3803314,3816768,3803305,3799224,3803294,3803280,3780246],"mid":[353,353,353,353,353,54,353,353,54,353,353,353,353,353,54,353,54,353,353,166],"aid":[4914,21385,6462,21385,3618,21385,21385,22622,21385,21385,18773,21385,1665,21385,21385,1186,3307,21385,4916,21385],"bid":[21385,6463,21385,8509,21385,350,795,21385,1186,800,21385,3309,21385,24,233,21385,21385,1662,21385,10750],"date":["01/12/18","25/11/18","18/11/18","11/11/18","04/11/18","31/10/18","27/10/18","21/10/18","17/10/18","14/10/18","07/10/18","30/09/18","23/09/18","16/09/18","12/09/18","10/09/18","06/09/18","02/09/18","26/08/18","02/08/18"],"liveA":[0,2,0,1,1,1,0,1,2,1,0,0,1,0,0,2,0,0,2,3],"liveB":[0,0,2,3,1,2,0,2,1,3,0,0,1,1,0,1,1,0,0,0],"redA":[0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"redB":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],"bc":["0-0","1-0","0-0","0-1","1-0","0-0","0-0","0-1","0-1","0-1","0-0","0-0","0-1","0-1","0-0","0-1","0-1","0-0","1-0","2-0"],"ng":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"rq":["-0.5","0.0","-0.25","-0.0","-0.75","2.25","-0.5","-0.0","0.25","-0.25","0.0","-0.0","-0.5","0.25","0.0","-0.75","-0.5","-0.25","-0.5","-1.0"],"rql":[0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"worl":[1,0,0,2,1,2,1,0,0,2,1,1,1,2,1,2,0,1,2,0],"oworl":[0,0,0,3,0,0,3,0,0,3,2,2,0,3,2,4,0,4,3,0]},"match":[353,54,166]},"away":{"history":{"id":[3803425,3803407,3803383,3803368,3803344,3803322,3803305,3799224,3803280,3775879,2086542,2086521,2086500,2086479,2086340,2086291,2086224,2086165,2086096,2085987],"mid":[353,353,353,353,353,353,353,54,353,166,353,353,353,353,353,353,353,353,353,353],"aid":[4914,6462,3618,22622,18773,1665,1186,3307,4916,3622,8509,22622,1662,16912,1186,247,6463,24,3309,6462],"bid":[21385,21385,21385,21385,21385,21385,21385,21385,21385,21385,21385,21385,21385,21385,21385,21385,21385,21385,21385,21385],"date":["01/12/18","18/11/18","04/11/18","21/10/18","07/10/18","23/09/18","10/09/18","06/09/18","26/08/18","26/07/18","13/05/18","29/04/18","15/04/18","31/03/18","19/03/18","04/03/18","17/02/18","11/02/18","28/01/18","14/01/18"],"liveA":[0,0,1,1,0,1,2,0,2,0,3,1,1,0,1,0,2,0,0,2],"liveB":[0,2,1,2,0,1,1,1,0,1,1,2,2,0,0,1,0,0,1,1],"redA":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0],"redB":[0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0],"bc":["0-0","0-0","1-0","0-1","0-0","0-1","0-1","0-1","1-0","0-1","2-1","0-1","0-1","0-0","0-0","0-1","1-0","0-0","0-1","2-0"],"ng":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"rq":["-0.5","-0.25","-0.75","-0.0","0.0","-0.5","-0.75","-0.5","-0.5","","-0.25","-0.0","-0.5","-0.25","-0.5","-1.0","-0.75","-0.75","-0.75","-0.5"],"rql":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"worl":[1,0,1,0,1,1,2,0,2,0,2,0,0,1,2,0,2,1,0,2],"oworl":[0,0,0,0,2,0,4,0,3,-1,3,0,0,1,3,0,3,0,0,3]},"match":[353,54,166]}},"match":{"85":{"n":"SPA D1","c":"993300"},"74":{"n":"UEFA CL","c":"8D7321"},"54":{"n":"SPA CUP","c":"C1A502"},"166":{"n":"INT CF","c":"5691D8"},"353":{"n":"SPA D3-C","c":"EE5A0F"}},"team":{"345":"Real Madrid","350":"Valencia","2":"Juventus","351":"Rayo Vallecano","333":"Getafe","693":"Young Boys","1663":"Girona","21385":"CD Ebro","476":"Athletic Bilbao","295":"Leganes","514":"Barcelona","239":"Manchester United","344":"Real Sociedad","181":"Celta Vigo","63":"Villarreal","489":"Real Betis","3309":"Alcoyano","275":"Levante","549":"Espanyol","664":"Atletico Madrid","281":"Bayer Leverkusen","307":"Deportivo La Coruna","17":"Eibar","557":"Alaves","4914":"Espanyol B","6463":"Villarreal B","6462":"Ontinyent CF","8509":"Atletico Baleares","3618":"Barcelona B","795":"UB Conquense","22622":"CF Peralada","1186":"Lleida","800":"Sabadell ","18773":"SD Ejea","1665":"CD Castellon","24":"Hercules CF","233":"Murcia","3307":"Marbella FC","1662":"CF Badalona","4916":"Valencia CF Mestalla","10750":"CD Izarra","3622":"Zaragoza B","16912":"UE Olot","247":"Mallorca"},"note":{"3816768":"90 minutes[0-0],120 minutes[0-0],Penalty Kicks[5-4]"}}