Thanks, Saar. The revenues for the second quarter of 2017 were $13.3 million, 3% below those of the second quarter of 2016. Geographies revenue breakdown for the quarter was fairly evenly spread across all regions as follows: Africa, 11%; North America, 23%; Israel, 20%; Latin America, 13%; Europe, 19%; Asia and the rest of the world, 15%. Second quarter gross margin improved to 50.2% of revenues versus 44.5% last year.
Operating loss in the quarter was $1.7 million compared with the profit of a -- sorry, with a loss of $2.2 million last year. Financial expenses for the second quarter of 2017 were $1.4 million compared with financial income of $303,000 in the second quarter of 2016. There was a noncash financial charge of $1.3 million in second quarter.
If you remember last quarter, we saw a similar noncash charge, amounting to $2.4 million. The cost was again a further strengthening of the shekel versus the U.S. dollars. The functional currency of Magal's Israeli entity is the Israeli shekel, and under accounting rules, we recognize and include in our P&L any changes in value of this entity's monitory assets and liabilities. This includes foreign-currency holdings, which in this case, are our U.S. dollar holdings.
Because the U.S. dollar declined in value by 9.1% against the Israeli shekel between the end of 2016 and the end of June 2017, we recorded a non-cash financial expense due to the accounting valuation of our cash and short-term deposits in both the first and the second quarters, which are held mostly in the US dollars. Although this valuation expense reflects the reduction of the cash deposits value in terms of the Israeli currency, the original U.S. dollar value of the deposits actually does not change and even increases due to the U.S. dollar interest earned. So we maintained the dollar purchasing power of our cash deposits. I'll note that in the third quarter, so far, the shekel dollar rate has been stable. Net loss in the quarter was $3.3 million or $0.14 per share. Net loss in the second quarter of last year was $2 million or $0.12 per share.
EBITDA in the second quarter of 2017 was a negative $1.2 million compared to a negative EBITDA of $1.7 million in the second quarter of 2016. Cash, short-term deposits and restricted deposits as of June 30, 2017, was $47.9 million or $2.08 per share versus $52.5 million or $2.29 per share on December 31, 2016. As of June 30, 2017, we have no bank debt in Magal.
That concludes my remarks. We would be happy to take your questions now. Operator?