function evColorFG(event)
{
  var ret = arrEvColorFG[event];
  return ret ? ret : "black";
}

function evGColorFG(event)
{
  var ret = arrEvGColorFG[event];
  return ret ? ret : "black";
}

const arrEvGColorFG = {
1:"black",
2:"black",
3:"yellow",
4:"black",
5:"lightgreen",
6:"black",
7:"black",
8:"black",
9:"white"};

const arrEvColorFG = {
1:"lightgreen",
2:"black",
3:"yellow",
4:"yellow",
6:"lightgreen",
9:"red",
10:"lightgreen",
15:"yellow",
17:"yellow",
18:"yellow",
22:"lightgreen",
23:"lightgreen",
24:"lightgreen",
25:"brown",
26:"red",
27:"red",
28:"turquoise",
29:"brown",
30:"lightgreen",
31:"lightgreen",
32:"blue",
33:"red",
35:"lightgreen",
36:"red",
37:"yellow",
38:"red",
39:"lightgreen",
40:"yellow",
41:"yellow",
42:"gray",
43:"yellow",
44:"yellow",
45:"yellow",
46:"yellow",
47:"lightgreen",
48:"yellow",
58:"yellow",
69:"gray",
70:"gray",
71:"yellow",
72:"lightgreen",
74:"yellow",
75:"yellow",
76:"yellow",
77:"yellow",
78:"lightgreen",
79:"yellow",
80:"lightgreen",
82:"yellow",
83:"lightgreen",
90:"black",
91:"lightgreen",
95:"yellow",
96:"yellow",
97:"yellow",
98:"yellow",
99:"yellow",
109:"turquoise",
110:"turquoise",
111:"lightgreen",
112:"gray",
113:"lightgreen",
114:"gray",
117:"turquoise",
118:"yellow",
119:"yellow",
121:"yellow",
122:"yellow",
123:"lightgreen",
126:"gray",
127:"lightgreen",
130:"lightgreen",
131:"turquoise",
135:"gray",
136:"lightgreen",
137:"yellow",
138:"yellow",
139:"yellow",
141:"yellow",
142:"turquoise",
143:"yellow",
144:"yellow",
145:"yellow",
146:"yellow",
147:"yellow",
148:"lightgreen",
149:"yellow",
150:"yellow",
151:"yellow",
152:"lightgreen",
153:"yellow",
154:"lightgreen",
155:"yellow",
156:"yellow",
157:"yellow",
158:"lightgreen",
159:"yellow",
160:"yellow",
161:"yellow",
162:"yellow",
165:"black",
186:"black",
187:"gray",
188:"lightgreen",
189:"yellow",
190:"yellow",
191:"lightgreen",
192:"yellow",
193:"lightgreen",
194:"yellow",
195:"lightgreen",
196:"yellow",
197:"lightgreen",
198:"black",
199:"lightgreen",
200:"lightgreen",
201:"lightgreen",
202:"black",
203:"gray",
204:"black",
205:"black",
206:"yellow",
211:"black",
212:"black",
213:"lightgreen",
214:"yellow",
215:"yellow",
216:"yellow",
217:"yellow",
218:"yellow",
219:"yellow",
220:"yellow",
221:"yellow",
222:"yellow",
224:"black",
225:"black",
226:"lightgreen",
227:"turquoise",
228:"yellow",
229:"yellow",
230:"yellow",
231:"yellow",
232:"turquoise",
233:"turquoise",
234:"yellow",
237:"turquoise",
241:"lightgreen",
242:"turquoise",
243:"lightgreen",
244:"turquoise",
250:"gray",
251:"lightgreen",
252:"gray"}
