See note above. I have just changed the name of the div. Otherwise the logic is the same as before.