var jersey_home_old = '';
var jersey_road_old = '';
var stats_action = new Array;
stats_action[64] = new Array;
stats_action[64]['type'] = 'SHOT1';
stats_action[64]['team'] = 1;
stats_action[64]['shot1'] = 17246589;
stats_action[64]['shot2'] = 0;
stats_action[64]['goalie'] = 17226552;
stats_action[96] = new Array;
stats_action[96]['type'] = 'SHOT1';
stats_action[96]['team'] = 2;
stats_action[96]['shot1'] = 17226558;
stats_action[96]['shot2'] = 0;
stats_action[96]['goalie'] = 17246600;
stats_action[582] = new Array;
stats_action[582]['type'] = 'SHOT1';
stats_action[582]['team'] = 2;
stats_action[582]['shot1'] = 17226535;
stats_action[582]['shot2'] = 0;
stats_action[582]['goalie'] = 17246600;
stats_action[619] = new Array;
stats_action[619]['type'] = 'SHOT1';
stats_action[619]['team'] = 1;
stats_action[619]['shot1'] = 17246590;
stats_action[619]['shot2'] = 0;
stats_action[619]['goalie'] = 17226552;
stats_action[676] = new Array;
stats_action[676]['type'] = 'SHOT1';
stats_action[676]['team'] = 2;
stats_action[676]['shot1'] = 17226558;
stats_action[676]['shot2'] = 0;
stats_action[676]['goalie'] = 17246600;
stats_action[703] = new Array;
stats_action[703]['type'] = 'PENALTY';
stats_action[703]['team'] = 2;
stats_action[703]['player_id'] = 17226541;
stats_action[737] = new Array;
stats_action[737]['type'] = 'SHOT1';
stats_action[737]['team'] = 2;
stats_action[737]['shot1'] = 17226560;
stats_action[737]['shot2'] = 0;
stats_action[737]['goalie'] = 17246600;
stats_action[782] = new Array;
stats_action[782]['type'] = 'GOAL1';
stats_action[782]['team'] = 1;
stats_action[782]['goal'] = 17246608;
stats_action[782]['assist1'] = 17246589;
stats_action[782]['assist2'] = 17246581;
stats_action[782]['goalie'] = 17226552;
stats_action[832] = new Array;
stats_action[832]['type'] = 'SHOT1';
stats_action[832]['team'] = 1;
stats_action[832]['shot1'] = 17246587;
stats_action[832]['shot2'] = 0;
stats_action[832]['goalie'] = 17226552;
stats_action[898] = new Array;
stats_action[898]['type'] = 'GOAL1';
stats_action[898]['team'] = 2;
stats_action[898]['goal'] = 17226554;
stats_action[898]['assist1'] = 17226542;
stats_action[898]['assist2'] = 17226558;
stats_action[898]['goalie'] = 17246600;
stats_action[1033] = new Array;
stats_action[1033]['type'] = 'SHOT1';
stats_action[1033]['team'] = 1;
stats_action[1033]['shot1'] = 17246590;
stats_action[1033]['shot2'] = 0;
stats_action[1033]['goalie'] = 17226552;
stats_action[1059] = new Array;
stats_action[1059]['type'] = 'SHOT1';
stats_action[1059]['team'] = 1;
stats_action[1059]['shot1'] = 17246589;
stats_action[1059]['shot2'] = 0;
stats_action[1059]['goalie'] = 17226552;
stats_action[1165] = new Array;
stats_action[1165]['type'] = 'SHOT1';
stats_action[1165]['team'] = 2;
stats_action[1165]['shot1'] = 17226553;
stats_action[1165]['shot2'] = 0;
stats_action[1165]['goalie'] = 17246600;
stats_action[1259] = new Array;
stats_action[1259]['type'] = 'PENALTY';
stats_action[1259]['team'] = 2;
stats_action[1259]['player_id'] = 17226541;
stats_action[1296] = new Array;
stats_action[1296]['type'] = 'PENALTY';
stats_action[1296]['team'] = 2;
stats_action[1296]['player_id'] = 17226550;
stats_action[1310] = new Array;
stats_action[1310]['type'] = 'SHOT1';
stats_action[1310]['team'] = 1;
stats_action[1310]['shot1'] = 17246581;
stats_action[1310]['shot2'] = 0;
stats_action[1310]['goalie'] = 17226552;
stats_action[1339] = new Array;
stats_action[1339]['type'] = 'SHOT1';
stats_action[1339]['team'] = 1;
stats_action[1339]['shot1'] = 17246608;
stats_action[1339]['shot2'] = 0;
stats_action[1339]['goalie'] = 17226552;
stats_action[1437] = new Array;
stats_action[1437]['type'] = 'SHOT1';
stats_action[1437]['team'] = 1;
stats_action[1437]['shot1'] = 17246585;
stats_action[1437]['shot2'] = 0;
stats_action[1437]['goalie'] = 17226552;
stats_action[1510] = new Array;
stats_action[1510]['type'] = 'GOAL1';
stats_action[1510]['team'] = 1;
stats_action[1510]['goal'] = 17246583;
stats_action[1510]['assist1'] = 17246599;
stats_action[1510]['assist2'] = 17246598;
stats_action[1510]['goalie'] = 17226552;
stats_action[1575] = new Array;
stats_action[1575]['type'] = 'SHOT1';
stats_action[1575]['team'] = 2;
stats_action[1575]['shot1'] = 17226549;
stats_action[1575]['shot2'] = 0;
stats_action[1575]['goalie'] = 17246600;
stats_action[1750] = new Array;
stats_action[1750]['type'] = 'GOAL1';
stats_action[1750]['team'] = 2;
stats_action[1750]['goal'] = 17226538;
stats_action[1750]['assist1'] = 17226553;
stats_action[1750]['assist2'] = 17226533;
stats_action[1750]['goalie'] = 17246600;
stats_action[1768] = new Array;
stats_action[1768]['type'] = 'SHOT1';
stats_action[1768]['team'] = 1;
stats_action[1768]['shot1'] = 17246608;
stats_action[1768]['shot2'] = 0;
stats_action[1768]['goalie'] = 17226552;
stats_action[1927] = new Array;
stats_action[1927]['type'] = 'PENALTY';
stats_action[1927]['team'] = 2;
stats_action[1927]['player_id'] = 17226549;
stats_action[1956] = new Array;
stats_action[1956]['type'] = 'SHOT1';
stats_action[1956]['team'] = 2;
stats_action[1956]['shot1'] = 17226538;
stats_action[1956]['shot2'] = 0;
stats_action[1956]['goalie'] = 17246600;
stats_action[2000] = new Array;
stats_action[2000]['type'] = 'SHOT1';
stats_action[2000]['team'] = 1;
stats_action[2000]['shot1'] = 17246608;
stats_action[2000]['shot2'] = 0;
stats_action[2000]['goalie'] = 17226552;
stats_action[2070] = new Array;
stats_action[2070]['type'] = 'SHOT1';
stats_action[2070]['team'] = 1;
stats_action[2070]['shot1'] = 17246606;
stats_action[2070]['shot2'] = 0;
stats_action[2070]['goalie'] = 17226552;
stats_action[2084] = new Array;
stats_action[2084]['type'] = 'GOAL1';
stats_action[2084]['team'] = 1;
stats_action[2084]['goal'] = 17246586;
stats_action[2084]['assist1'] = 17246581;
stats_action[2084]['assist2'] = 17246601;
stats_action[2084]['goalie'] = 17226552;
stats_action[2109] = new Array;
stats_action[2109]['type'] = 'SHOT1';
stats_action[2109]['team'] = 1;
stats_action[2109]['shot1'] = 17246583;
stats_action[2109]['shot2'] = 0;
stats_action[2109]['goalie'] = 17226552;
stats_action[2194] = new Array;
stats_action[2194]['type'] = 'SHOT1';
stats_action[2194]['team'] = 2;
stats_action[2194]['shot1'] = 17226560;
stats_action[2194]['shot2'] = 0;
stats_action[2194]['goalie'] = 17246600;
stats_action[2215] = new Array;
stats_action[2215]['type'] = 'SHOT1';
stats_action[2215]['team'] = 1;
stats_action[2215]['shot1'] = 17246590;
stats_action[2215]['shot2'] = 0;
stats_action[2215]['goalie'] = 17226552;
stats_action[2248] = new Array;
stats_action[2248]['type'] = 'GOAL1';
stats_action[2248]['team'] = 2;
stats_action[2248]['goal'] = 17226542;
stats_action[2248]['assist1'] = 0;
stats_action[2248]['assist2'] = 0;
stats_action[2248]['goalie'] = 17246600;
stats_action[2301] = new Array;
stats_action[2301]['type'] = 'SHOT2';
stats_action[2301]['team'] = 2;
stats_action[2301]['shot1'] = 17226550;
stats_action[2301]['shot2'] = 17226551;
stats_action[2301]['goalie'] = 17246600;
stats_action[2356] = new Array;
stats_action[2356]['type'] = 'SHOT1';
stats_action[2356]['team'] = 2;
stats_action[2356]['shot1'] = 17226555;
stats_action[2356]['shot2'] = 0;
stats_action[2356]['goalie'] = 17246600;
stats_action[2375] = new Array;
stats_action[2375]['type'] = 'GOAL1';
stats_action[2375]['team'] = 2;
stats_action[2375]['goal'] = 17226533;
stats_action[2375]['assist1'] = 17226553;
stats_action[2375]['assist2'] = 0;
stats_action[2375]['goalie'] = 17246600;
stats_action[2419] = new Array;
stats_action[2419]['type'] = 'GOAL1';
stats_action[2419]['team'] = 2;
stats_action[2419]['goal'] = 17226551;
stats_action[2419]['assist1'] = 17226549;
stats_action[2419]['assist2'] = 17226537;
stats_action[2419]['goalie'] = 17246600;
stats_action[2447] = new Array;
stats_action[2447]['type'] = 'PENALTY';
stats_action[2447]['team'] = 2;
stats_action[2447]['player_id'] = 17226533;
stats_action[2505] = new Array;
stats_action[2505]['type'] = 'PENALTY';
stats_action[2505]['team'] = 2;
stats_action[2505]['player_id'] = 17226537;
stats_action[2513] = new Array;
stats_action[2513]['type'] = 'GOAL1';
stats_action[2513]['team'] = 1;
stats_action[2513]['goal'] = 17246597;
stats_action[2513]['assist1'] = 17246598;
stats_action[2513]['assist2'] = 17246599;
stats_action[2513]['goalie'] = 17226552;
stats_action[2647] = new Array;
stats_action[2647]['type'] = 'SHOT1';
stats_action[2647]['team'] = 2;
stats_action[2647]['shot1'] = 17226550;
stats_action[2647]['shot2'] = 0;
stats_action[2647]['goalie'] = 17246600;
stats_action[2674] = new Array;
stats_action[2674]['type'] = 'GOAL1';
stats_action[2674]['team'] = 2;
stats_action[2674]['goal'] = 17226541;
stats_action[2674]['assist1'] = 17226560;
stats_action[2674]['assist2'] = 17226533;
stats_action[2674]['goalie'] = 17246600;
stats_action[2735] = new Array;
stats_action[2735]['type'] = 'GOAL1';
stats_action[2735]['team'] = 2;
stats_action[2735]['goal'] = 17226542;
stats_action[2735]['assist1'] = 0;
stats_action[2735]['assist2'] = 0;
stats_action[2735]['goalie'] = 17246600;
stats_action[2860] = new Array;
stats_action[2860]['type'] = 'SHOT1';
stats_action[2860]['team'] = 2;
stats_action[2860]['shot1'] = 17226551;
stats_action[2860]['shot2'] = 0;
stats_action[2860]['goalie'] = 17246600;
stats_action[2869] = new Array;
stats_action[2869]['type'] = 'GOAL1';
stats_action[2869]['team'] = 1;
stats_action[2869]['goal'] = 17246583;
stats_action[2869]['assist1'] = 17246597;
stats_action[2869]['assist2'] = 17246599;
stats_action[2869]['goalie'] = 17226552;
stats_action[2894] = new Array;
stats_action[2894]['type'] = 'SHOT1';
stats_action[2894]['team'] = 2;
stats_action[2894]['shot1'] = 17226550;
stats_action[2894]['shot2'] = 0;
stats_action[2894]['goalie'] = 17246600;
stats_action[2907] = new Array;
stats_action[2907]['type'] = 'SHOT1';
stats_action[2907]['team'] = 1;
stats_action[2907]['shot1'] = 17246606;
stats_action[2907]['shot2'] = 0;
stats_action[2907]['goalie'] = 17226552;
stats_action[2973] = new Array;
stats_action[2973]['type'] = 'SHOT1';
stats_action[2973]['team'] = 1;
stats_action[2973]['shot1'] = 17246581;
stats_action[2973]['shot2'] = 0;
stats_action[2973]['goalie'] = 17226552;
stats_action[2996] = new Array;
stats_action[2996]['type'] = 'GOAL1';
stats_action[2996]['team'] = 1;
stats_action[2996]['goal'] = 17246589;
stats_action[2996]['assist1'] = 17246601;
stats_action[2996]['assist2'] = 17246586;
stats_action[2996]['goalie'] = 17226552;
stats_action[3010] = new Array;
stats_action[3010]['type'] = 'SHOT1';
stats_action[3010]['team'] = 1;
stats_action[3010]['shot1'] = 17246589;
stats_action[3010]['shot2'] = 0;
stats_action[3010]['goalie'] = 17226552;
stats_action[3064] = new Array;
stats_action[3064]['type'] = 'GOAL1';
stats_action[3064]['team'] = 2;
stats_action[3064]['goal'] = 17226542;
stats_action[3064]['assist1'] = 17226554;
stats_action[3064]['assist2'] = 17226558;
stats_action[3064]['goalie'] = 17246600;
stats_action[3098] = new Array;
stats_action[3098]['type'] = 'PENALTY';
stats_action[3098]['team'] = 2;
stats_action[3098]['player_id'] = 17226555;
stats_action[3157] = new Array;
stats_action[3157]['type'] = 'GOAL1';
stats_action[3157]['team'] = 1;
stats_action[3157]['goal'] = 17246585;
stats_action[3157]['assist1'] = 17246598;
stats_action[3157]['assist2'] = 17246599;
stats_action[3157]['goalie'] = 17226552;
stats_action[3264] = new Array;
stats_action[3264]['type'] = 'SHOT1';
stats_action[3264]['team'] = 1;
stats_action[3264]['shot1'] = 17246581;
stats_action[3264]['shot2'] = 0;
stats_action[3264]['goalie'] = 17226552;
stats_action[3309] = new Array;
stats_action[3309]['type'] = 'SHOT1';
stats_action[3309]['team'] = 2;
stats_action[3309]['shot1'] = 17226558;
stats_action[3309]['shot2'] = 0;
stats_action[3309]['goalie'] = 17246600;
stats_action[3321] = new Array;
stats_action[3321]['type'] = 'SHOT1';
stats_action[3321]['team'] = 1;
stats_action[3321]['shot1'] = 17246589;
stats_action[3321]['shot2'] = 0;
stats_action[3321]['goalie'] = 17226552;
stats_action[3393] = new Array;
stats_action[3393]['type'] = 'SHOT1';
stats_action[3393]['team'] = 2;
stats_action[3393]['shot1'] = 17226533;
stats_action[3393]['shot2'] = 0;
stats_action[3393]['goalie'] = 17246600;
stats_action[3417] = new Array;
stats_action[3417]['type'] = 'GOAL2';
stats_action[3417]['team'] = 1;
stats_action[3417]['goal'] = 17246589;
stats_action[3417]['assist1'] = 17246581;
stats_action[3417]['assist2'] = 17246601;
stats_action[3417]['goalie'] = 17226552;
stats_action[3440] = new Array;
stats_action[3440]['type'] = 'GOAL1';
stats_action[3440]['team'] = 2;
stats_action[3440]['goal'] = 17226560;
stats_action[3440]['assist1'] = 17226553;
stats_action[3440]['assist2'] = 17226533;
stats_action[3440]['goalie'] = 17246600;
stats_action[3535] = new Array;
stats_action[3535]['type'] = 'SHOT1';
stats_action[3535]['team'] = 2;
stats_action[3535]['shot1'] = 17226554;
stats_action[3535]['shot2'] = 0;
stats_action[3535]['goalie'] = 17246600;
stats_action[3576] = new Array;
stats_action[3576]['type'] = 'SHOT2';
stats_action[3576]['team'] = 2;
stats_action[3576]['shot1'] = 17226541;
stats_action[3576]['shot2'] = 17226560;
stats_action[3576]['goalie'] = 17246600;
var show_action = new Array;
show_action[-100] = new Array;
show_action[-100][0] = new Array;
show_action[-100][0]['text'] = "Welcome to the game between Team noname 98246 and Team noname 97530.";
show_action[-100][0]['show_all'] = 1;
show_action[-80] = new Array;
show_action[-80][0] = new Array;
show_action[-80][0]['text'] = "Iksens Kurancs starts in the net for the home team. Raimonds Grope is between the pipes on the other side.";
show_action[-80][0]['mask'] = 'show';
show_action[-80][0]['mask_g1'] = 17246600;
show_action[-80][0]['mask_g2'] = 17226552;
show_action[-80][0]['show_all'] = 1;
show_action[0] = new Array;
show_action[0][0] = new Array;
show_action[0][0]['text'] = "The puck was dropped and the game has begun.";
show_action[0][0]['mask'] = 'hide';
show_action[0][0]['img_1'] = "13";
show_action[64] = new Array;
show_action[64][0] = new Array;
show_action[64][0]['text'] = "The puck will be dropped in the Team noname 97530 zone. Ainis Muzejnieks wins the faceoff and sends it to Hugo Kardeģis. He walks in to get a better angle, snaps it, *glove save by Raimonds Grope and he hangs on for another faceoff.";
show_action[64][0]['img_1'] = "4";
show_action[64][0]['img_2'] = "7";
show_action[339] = new Array; /* SPE 2 */
show_action[339][0] = new Array;
show_action[339][0]['text'] = "Itars Krencelis breaks into the offensive zone along the boards. He makes a blind cross-ice pass to Endijs Pionieris who sends a centering feed picked up by the streaking Niks Rats. Wrist shot goes wide. The puck comes back off the end boards. It\'s loose in front of the crease and Klaudijs Ekšelis clears it out for *icing.";
show_action[339][0]['img_1'] = "8";
show_action[339][0]['img_2'] = "17";
show_action[582] = new Array;
show_action[582][0] = new Array;
show_action[582][0]['text'] = "Vjačeslavs Piebaldzēns has the puck behind the net and waits for his linemates to complete the change. He carries the puck all the way to center and passes it to Aigars Uncēns who gains entry into the offensive zone despite a check from an opponent. He puts the brakes on and goes between the legs of Magnārs Raps, pass right into Revalds Tidiķis\'s wheelhouse *and Iksens Kurancs waffleboards that away! That\'s great hockey all around.";
show_action[582][0]['img_1'] = "2";
show_action[582][0]['img_2'] = "8";
show_action[619] = new Array;
show_action[619][0] = new Array;
show_action[619][0]['text'] = "Klaudijs Ekšelis passes the puck across the offensive zone. But wait! He mishits it and the pass is too weak. Endijs Pionieris takes advantage and goes on a breakaway, without any opposing player to challenge him. He has all the time in the world to pick the way of his finish. He takes a shot to the blocker side of Raimonds Grope who *makes a kick save. Maybe he could have gone for a deke. Either way Raimonds Grope was a big help to his team there.";
show_action[619][0]['img_1'] = "8";
show_action[619][0]['img_2'] = "7";
show_action[703] = new Array;
show_action[703][0] = new Array;
show_action[703][0]['text'] = "Chaos in the crease of team Team noname 97530. The puck is bouncing among the sticks. Finally it gets to Artūrs Pelēkvaigs, who can\'t shoot, because he is hooked by an opponent. Augvalds Geisteris *makes his way towards the penalty box.";
show_action[703][0]['img_1'] = "8";
show_action[703][0]['img_2'] = "11";
show_action[737] = new Array;
show_action[737][0] = new Array;
show_action[737][0]['text'] = "Alvils Onkulis collects the puck in his defensive zone. He skates through the left, gets right in front of Iksens Kurancs on a great individual play, but his deke *is stopped, unfortunately for Team noname 97530.";
show_action[737][0]['img_1'] = "3";
show_action[737][0]['img_2'] = "10";
show_action[782] = new Array;
show_action[782][0] = new Array;
show_action[782][0]['text'] = "Raimonds Grope has to keep his head on a swivel here. Vasilijs Zilpēdis takes the puck to the corner, he centers it and Gundars Trambaks ties up the stick of to prevent a point blank chance. The bouncing puck is found by Hugo Kardeģis who fires one to the stick side of Raimonds Grope. Tipped in front by Ainis Muzejnieks and *he SCORES! Raimonds Grope had no chance to react to the change of direction.";
show_action[782][0]['img_1'] = "8";
show_action[782][0]['img_2'] = "1";
show_action[832] = new Array;
show_action[832][0] = new Array;
show_action[832][0]['text'] = "Ēriks Broks breaks into the offensive zone along the boards. He makes a blind cross-ice pass to Mežvaldis Upmans but it is intercepted by Itars Krencelis who clears it out to the neutral zone where it is picked up by Endijs Pionieris. He walks around one opponent and crosses the offensive blue line. He sets up Niks Rats who fires it and *Raimonds Grope makes the save.";
show_action[832][0]['img_1'] = "8";
show_action[832][0]['img_2'] = "7";
show_action[898] = new Array;
show_action[898][0] = new Array;
show_action[898][0]['text'] = "Magnārs Raps receives a pass at the offensive blue line. He walks in but he is double-teamed and stopped before he could create anything. And here comes a rush the other way. Kaspars Banda headmans the puck for Laurijs Grāpītis floating in the center ice. He gains entry to the zone along the half boards, he goes down low almost to the goal line. He centers the puck for Ēriks Broks who dekes, lets a shot go and *beats Iksens Kurancs blocker side!";
show_action[898][0]['img_1'] = "5";
show_action[898][0]['img_2'] = "2";
show_action[966] = new Array; /* SPE 1 */
show_action[966][0] = new Array;
show_action[966][0]['text'] = "Otto Kūla collects the puck in his defensive zone. He moves down the left side and gets to the offensive zone on a nice individual effort. Kaspars Banda hits the attacker on the boards and stops the offensive. That was a hard check to the head. But the referee\'s whistle remains silent. So Endijs Pionieris takes the role of the policeman and attacks the checker. *We have a fight. Kaspars Banda is winning on points. He pulls the opponent down on the ice and the linesmen come in and stop the fight.";
show_action[966][0]['img_1'] = "3";
show_action[966][0]['img_2'] = "17";
show_action[1059] = new Array;
show_action[1059][0] = new Array;
show_action[1059][0]['text'] = "Dzintris Balasters works his way through the neutral zone. Two players are on him as he centers the puck at Hugo Kardeģis who has an opponent on his back. He fires a shot *and he is robbed by Raimonds Grope! The goalie was out of position but he managed to get his pad into the shot just in time to make a highlight reel save.";
show_action[1059][0]['img_1'] = "5";
show_action[1059][0]['img_2'] = "7";
show_action[1165] = new Array;
show_action[1165][0] = new Array;
show_action[1165][0]['text'] = "Gusts Kautrītis is with the puck at the blue line. He passes it to the end boards. Alvils Onkulis receives it and waits. Nobody is coming at him. Alvils Onkulis sends a centering feed on the tape of Gundars Trambaks who fires it from the slot *and it is stopped by Iksens Kurancs. The shot hit him in the chest. But the defense of team Team noname 98246 was in total disarray. The Team noname 98246 coach is yelling at his players. He can hardly believe his eyes.";
show_action[1165][0]['img_1'] = "8";
show_action[1165][0]['img_2'] = "7";
show_action[1200] = new Array;
show_action[1200][0] = new Array;
show_action[1200][0]['text'] = "The horn sounds and the first period is over.";
show_action[1200][0]['img_1'] = "15";
show_action[1200][1] = new Array;
show_action[1200][1]['text'] = "Start of second period. The game is watched by 400 spectators in the arena.";
show_action[1200][1]['img_1'] = "13";
show_action[1259] = new Array;
show_action[1259][0] = new Array;
show_action[1259][0]['text'] = "Team noname 97530 are looking to break out. At long last Gusts Kautrītis is able to gain possession, lead pass for Augvalds Geisteris creates and odd-man rush with Dans Bareika. Dzintris Balasters is back-checking and gives Augvalds Geisteris a couple of slashes. Saucer pass for Dans Bareika who fires a knuckleball into the mesh. A little action here after the whistle as Augvalds Geisteris knocks Dzintris Balasters down as a payback for those slashes. *The official wastes no time in sending him off for roughing.";
show_action[1259][0]['img_1'] = "5";
show_action[1259][0]['img_2'] = "14";
show_action[1296] = new Array;
show_action[1296][0] = new Array;
show_action[1296][0]['text'] = "Both teams change on the fly. Team noname 98246 control the puck. Kristers Vaimaniņš carries it through the neutral zone, but he has his pocket picked by Buhards Beverīns and a rush goes the other way... *But the whistle blows and the referee sends Buhards Beverīns to the box for holding on that play.";
show_action[1296][0]['img_1'] = "5";
show_action[1296][0]['img_2'] = "13";
show_action[1510] = new Array;
show_action[1510][0] = new Array;
show_action[1510][0]['text'] = "Artūrs Pelēkvaigs tries to walk into the slot from the half-boards, but he is knocked off the puck by Gundars Trambaks. Kristers Vaimaniņš gobbles up the loose puck, lets a shot go *and he scores to take a 2:1 lead! He just picked a corner and a split second later he lit the red lamp. Now he celebrates with Krišus Jaunliepiņš who will get a secondary helper on this tally.";
show_action[1510][0]['img_1'] = "8";
show_action[1510][0]['img_2'] = "2";
show_action[1663] = new Array; /* SPE 2 */
show_action[1663][0] = new Array;
show_action[1663][0]['text'] = "Gilberts Pamuļķis wins the battle for the puck down low and circles around the opponent\'s goal. He goes all the way to the faceoff dot… and he gets upended by Ainars Kārkls who clears the puck all the way down the ice. *Icing is the only call on that play which is not appreciated by some of the fans in attendance.";
show_action[1663][0]['img_1'] = "9";
show_action[1663][0]['img_2'] = "17";
show_action[1750] = new Array;
show_action[1750][0] = new Array;
show_action[1750][0]['text'] = "They battle for it near the bench of Team noname 97530. Dans Bareika comes up with the puck. Krišus Jaunliepiņš tries to check him but Dans Bareika avoids him nicely. He dumps it in. It is chased by Gundars Trambaks, who gobbles it up and dangles around Gilberts Pamuļķis. He centers it towards Gusts Kautrītis. A shot from the doorstep and he *scores! Gusts Kautrītis ties the score at 2:2. Great work by this line is rewarded with a goal.";
show_action[1750][0]['img_1'] = "12";
show_action[1750][0]['img_2'] = "2";
show_action[1768] = new Array;
show_action[1768][0] = new Array;
show_action[1768][0]['text'] = "Hugo Kardeģis breaks into the offensive zone along the boards. He makes a blind cross-ice pass to Magnārs Raps who sends a centering feed picked up by the streaking Ainis Muzejnieks. Wrist shot and *he gets robbed by Raimonds Grope who flashes his quick glove.";
show_action[1768][0]['img_1'] = "8";
show_action[1768][0]['img_2'] = "7";
show_action[1927] = new Array;
show_action[1927][0] = new Array;
show_action[1927][0]['text'] = "The puck is loose behind the Team noname 98246 goal. Matīss Rutiņš gobbles it up and head-mans it to Artūrs Pelēkvaigs, who carries it to the neutral zone. He shakes off a little hook by Vjačeslavs Piebaldzēns at center ice and continues on. Artūrs Pelēkvaigs fires it in from neutral zone *and a penalty is called against Vjačeslavs Piebaldzēns as they touch up. Hooking is the call.";
show_action[1927][0]['img_1'] = "2";
show_action[1927][0]['img_2'] = "11";
show_action[2084] = new Array;
show_action[2084][0] = new Array;
show_action[2084][0]['text'] = "Magnārs Raps wins the battle for the puck in the corner and clears it out to the neutral zone. Vasilijs Zilpēdis gobbles up the puck and walks into the offensive zone. He fakes a shot and Gundars Trambaks throws himself down on the ice to block it. Vasilijs Zilpēdis walks around him and he makes a drop pass for Dzintris Balasters skating close behind. Dzintris Balasters fires at Raimonds Grope *and scores!";
show_action[2084][0]['img_1'] = "3";
show_action[2084][0]['img_2'] = "2";
show_action[2152] = new Array; /* SPE 1 */
show_action[2152][0] = new Array;
show_action[2152][0]['text'] = "Aigars Uncēns moves past two opponents in the neutral zone, takes a shot, which is blocked by the falling Gilberts Pamuļķis. *The puck ends up underneath his body.";
show_action[2152][0]['img_1'] = "5";
show_action[2152][0]['img_2'] = "17";
show_action[2248] = new Array;
show_action[2248][0] = new Array;
show_action[2248][0]['text'] = "The puck is dumped into the Team noname 98246 zone. Laurijs Grāpītis is able to force a turnover by Niks Rats with a good fore-check. He walks across the face of the goal and slides the puck past the sprawling netminder *and scores! A great individual effort by Laurijs Grāpītis who ties the score at 3:3!";
show_action[2248][0]['img_1'] = "12";
show_action[2248][0]['img_2'] = "2";
show_action[2356] = new Array;
show_action[2356][0] = new Array;
show_action[2356][0]['text'] = "Team noname 97530 are under pressure in their defensive zone. Gilberts Pamuļķis exchanges the puck with Matīss Rutiņš who sends it into the corner where it is received by Krišus Jaunliepiņš. He tries to create something but he is marked by Mežvaldis Upmans who takes the puck away from him and clears it out to the neutral zone where it is picked up by Klaudijs Ekšelis. He sprints forward and trades the puck with Kaspars Banda. Klaudijs Ekšelis fires a wrist shot and *Iksens Kurancs deflects it over the net with a bit of trouble.";
show_action[2356][0]['img_1'] = "12";
show_action[2356][0]['img_2'] = "7";
show_action[2375] = new Array;
show_action[2375][0] = new Array;
show_action[2375][0]['text'] = "Kristers Vaimaniņš dumps the puck deep into the Team noname 97530 zone and skates off to the bench. Gundars Trambaks gobbles up the puck and headmans the puck all the way to the attacking blue line to take advantage of a Team noname 98246 line change. Dans Bareika does a good job handling the pass and he is in the clear! There are no Team noname 98246 players left to bother him. Iksens Kurancs comes out to challenge, Dans Bareika goes from forehand to backhand and *SCORES TOP SHELF, where grandma hides the cookies! What a thing of beauty by Dans Bareika, but give credit to Gundars Trambaks as well for the great heads up play.";
show_action[2375][0]['img_1'] = "5";
show_action[2375][0]['img_2'] = "5";
show_action[2400] = new Array;
show_action[2400][0] = new Array;
show_action[2400][0]['text'] = "End of second period.";
show_action[2400][0]['img_1'] = "15";
show_action[2400][1] = new Array;
show_action[2400][1]['text'] = "Start of third period. In a few minutes we will know how this game ends. ";
show_action[2400][1]['img_1'] = "13";
show_action[2419] = new Array;
show_action[2419][0] = new Array;
show_action[2419][0]['text'] = "Here come Team noname 97530 on the rush. Team noname 98246 get caught in the neutral zone. Ainars Kārkls breaks in with Vjačeslavs Piebaldzēns, it\'s a 2-on-1. They do a little give-and-go, now a pass finds the trailer Aigars Uncēns, he shoots *and scores! Itars Krencelis came backchecking to turn it into a 3-on-2 but he couldn\'t prevent the goal. What a thing of beauty by Team noname 97530.";
show_action[2419][0]['img_1'] = "8";
show_action[2419][0]['img_2'] = "2";
show_action[2447] = new Array;
show_action[2447][0] = new Array;
show_action[2447][0]['text'] = "Team noname 98246 have pressure in the offensive zone. Dzintris Balasters is manning the point, he receives a pass from Ainis Muzejnieks. His shot is blocked by Gusts Kautrītis who starts an attack the other way. Cross ice pass to Dans Bareika who breaks in along the boards, moves to the slot, snaps it past Iksens Kurancs and hits the goalpost! He reaches for the loose puck and *slashes Iksens Kurancs. He will get called for that. Vasilijs Zilpēdis takes justice into his hands and knocks Dans Bareika down. But he gets away with that. That\'s a strange decision.";
show_action[2447][0]['img_1'] = "8";
show_action[2447][0]['img_2'] = "13";
show_action[2505] = new Array;
show_action[2505][0] = new Array;
show_action[2505][0]['text'] = "Team noname 98246 with a potential scoring chance. Krišus Jaunliepiņš centers the puck from the corner, finds Kristers Vaimaniņš, the shot is blocked by Vjačeslavs Piebaldzēns, Kristers Vaimaniņš doesn\'t give up on the play. Raimonds Grope reaches for the puck and Kristers Vaimaniņš slashes him on the glove. Ainars Kārkls is all over Kristers Vaimaniņš to protect his goalie. No penalty for the Team noname 98246 player *but Ainars Kārkls is sent off for roughing. There are two Team noname 97530 players in the box now.";
show_action[2505][0]['img_1'] = "8";
show_action[2505][0]['img_2'] = "13";
show_action[2513] = new Array;
show_action[2513][0] = new Array;
show_action[2513][0]['text'] = "The faceoff is to the left of Raimonds Grope. Kristers Vaimaniņš wins the draw, shot through traffic by Artūrs Pelēkvaigs goes wide and hits the end boards. Krišus Jaunliepiņš picks up the loose puck in the corner, dipsy-doodles around a defenseman, walks in, feeds Matīss Rutiņš *and he tips it in! A perfect pass and an easy task for the goalscorer!";
show_action[2513][0]['img_1'] = "4";
show_action[2513][0]['img_2'] = "1";
show_action[2580] = new Array; /* SPE PP 1 */
show_action[2580][0] = new Array;
show_action[2580][0]['text'] = "Krišus Jaunliepiņš wins the puck in the corner. He sends the puck to Artūrs Pelēkvaigs who is very aggressive on the top of the crease. He lays down a defenseman as well as Raimonds Grope. *And we have a scramble. Alvils Onkulis is all over Artūrs Pelēkvaigs who drops down on the ice but Alvils Onkulis takes no notice and continues to punish the violator. Other players on the ice don\'t get left behind and we have several duels going on. This is how you protect your goalie in hockey these days. And the fans love to see a bit of action.";
show_action[2580][0]['img_1'] = "12";
show_action[2580][0]['img_2'] = "16";
show_action[2674] = new Array;
show_action[2674][0] = new Array;
show_action[2674][0]['text'] = "They battle for it near the bench of Team noname 97530. Dans Bareika comes up with the puck. Vasilijs Zilpēdis tries to check him but Dans Bareika avoids him nicely. He dumps it in. It is chased by Alvils Onkulis, who gobbles it up and dangles around Magnārs Raps. He centers it towards Augvalds Geisteris. A shot from the doorstep and he *scores! Augvalds Geisteris increases the lead to 4:6. Great work by this line is rewarded with a goal.";
show_action[2674][0]['img_1'] = "12";
show_action[2674][0]['img_2'] = "2";
show_action[2735] = new Array;
show_action[2735][0] = new Array;
show_action[2735][0]['text'] = "Itars Krencelis passes the puck across the offensive zone. But wait! He mishits it and it\'s way too weak. Laurijs Grāpītis takes advantage and gets into a breakaway without anyone chasing him down. He has plenty of time to pick his target. He shoots and *scores underneath the blocker! Laurijs Grāpītis showed no nerves there.";
show_action[2735][0]['img_1'] = "8";
show_action[2735][0]['img_2'] = "2";
show_action[2869] = new Array;
show_action[2869][0] = new Array;
show_action[2869][0]['text'] = "Team noname 98246 have been controlling the play in this shift. Matīss Rutiņš gobbles up the puck behind the net of Raimonds Grope. He skates out in front. But he is knocked off the puck by Gusts Kautrītis. Loose puck taken by Kristers Vaimaniņš and he fires it *past the Team noname 97530 goalie! Artūrs Pelēkvaigs who dumped the puck will also get credited with the helper.";
show_action[2869][0]['img_1'] = "9";
show_action[2869][0]['img_2'] = "2";
show_action[2996] = new Array;
show_action[2996][0] = new Array;
show_action[2996][0]['text'] = "Dzintris Balasters controls the puck behind the opponents\' net. He looks for a passing lane. Finally he dishes it to Magnārs Raps, who directs the pass to Hugo Kardeģis, the shot goes upstairs and *finds the back of the net! Great play by the whole line. They connect for a beautiful goal.";
show_action[2996][0]['img_1'] = "9";
show_action[2996][0]['img_2'] = "2";
show_action[3064] = new Array;
show_action[3064][0] = new Array;
show_action[3064][0]['text'] = "Team noname 98246 players are lining up for an offensive zone faceoff. Ainis Muzejnieks and Hugo Kardeģis finally get into their positions and the referee is ready for the puck drop. Ainis Muzejnieks plays it forward, but he fails to gain control of it. Kaspars Banda gobbles it up and carries it behind the net. Long lead all the way to center ice. Laurijs Grāpītis tips the pass for Ēriks Broks who gets by Magnārs Raps with a toe-drag. He feeds it back to Laurijs Grāpītis who snaps it *and SCORES! He didn\'t get all of it, but it rang of the post and went in. Iksens Kurancs is frustrated, he knows that was stoppable.";
show_action[3064][0]['img_1'] = "11";
show_action[3064][0]['img_2'] = "2";
show_action[3098] = new Array;
show_action[3098][0] = new Array;
show_action[3098][0]['text'] = "A bad turnover by Team noname 97530 at their own blue line. Klaudijs Ekšelis has his pocket picked by Magnārs Raps. Magnārs Raps moves towards the Team noname 97530 net and he *draws a penalty from Klaudijs Ekšelis. Tripping is the call. Team noname 97530 coach is furious with his players right now.";
show_action[3098][0]['img_1'] = "3";
show_action[3098][0]['img_2'] = "14";
show_action[3157] = new Array;
show_action[3157][0] = new Array;
show_action[3157][0]['text'] = "Artūrs Pelēkvaigs has the puck behind the net and waits for his linemates to complete the change. He carries the puck all the way to center and passes it to Krišus Jaunliepiņš who gains entry into the offensive zone despite a check from an opponent. He puts the brakes on and goes between the legs of Vjačeslavs Piebaldzēns, pass right into Gilberts Pamuļķis\'s wheelhouse *and he scores! Top shelf! Gilberts Pamuļķis cashes in on the power play as he cuts the deficit to 7:8. This is one for the highlight reel.";
show_action[3157][0]['img_1'] = "2";
show_action[3157][0]['img_2'] = "3";
show_action[3211] = new Array; /* SPE 2 */
show_action[3211][0] = new Array;
show_action[3211][0]['text'] = "The faceoff is in the offensive zone of Team noname 97530. Revalds Tidiķis wins the faceoff and moves the puck to Vjačeslavs Piebaldzēns who sends a rocket towards the opponent\'s cage. But the referee *blows the whistle, offside is the call. The puck probably crossed over to the neutral zone but it was very close.";
show_action[3211][0]['img_1'] = "11";
show_action[3211][0]['img_2'] = "17";
show_action[3417] = new Array;
show_action[3417][0] = new Array;
show_action[3417][0]['text'] = "Team noname 98246 quickly move the puck up ice. Magnārs Raps sends it along the boards. Vasilijs Zilpēdis chases it and enters the offensive zone. Raimonds Grope braces himself for a potential pass across to the other side. Vasilijs Zilpēdis releases a quick wrist shot, turned away by Raimonds Grope. He leaves a big rebound, Hugo Kardeģis drives for the net, hits the puck from the air and finds the back of the net. But this will go upstairs to the video judge because it may have been a high stick. The referee points to *center ice and Hugo Kardeģis ties the score at 8:8.";
show_action[3417][0]['img_1'] = "3";
show_action[3417][0]['img_2'] = "3";
show_action[3440] = new Array;
show_action[3440][0] = new Array;
show_action[3440][0]['text'] = "Huge pile up in front of the Team noname 98246 goal. The puck gets to Gundars Trambaks through the traffic but he can\'t get the shot away as he was crosschecked by Magnārs Raps. We have a delayed penalty as Alvils Onkulis takes control of the puck, fires it and *scores to take a 8:9 lead. Team noname 97530 quickly take advantage of the delayed penalty. Dans Bareika will get the secondary assist.";
show_action[3440][0]['img_1'] = "8";
show_action[3440][0]['img_2'] = "1";
show_action[3600] = new Array;
show_action[3600][0] = new Array;
show_action[3600][0]['text'] = "End of game.";
show_action[3600][0]['img_1'] = "16";
var match_end = 3600;
var hash = '21121212121211212121';
SetRoadDir('https://appspowerplaymanager.vshcdn.net/images/pptv/hockey_broadcast/');
SetRoadDirControl('https://appspowerplaymanager.vshcdn.net/images/pptv/control_panel/');
SetRoadDirSound('https://data.powerplaymanager.com/pptv/sounds_hockey/');
PreloadImages();
MatchLive = 0;
MatchTime = -120;
MatchSpeed = 100;
document.getElementById('live_panel').style.display='none'; control_panel_status = '';
var Shootouts = 0;
var instantChallenge = 0;
//if (document.getElementById('control_panel') != null){
// control_panel_status = document.getElementById('control_panel').style.display;
//}
if (video_length[1] != ''){
var t=setTimeout('run_match()', (parseInt(video_length[1]) + 4000)); // 31500
} else {
DoMatch();
}
function run_match()
{
if (document.getElementById('control_panel') != null && control_panel_status == ''){
document.getElementById('control_panel').style.display = '';
}
DoMatch();
}