I know how to show or hide a div.
But don\'t how to check if (in this case) \'sec2\' is ended.
The div must be invisible when \'sec3\' or \'sec1\' showing on t