The funeral for the guard killed in a shooting at the gates of Ariel has begun in Beit Shemesh, with hundreds in attendance.