code to hide and display various part of the licence section depending on which of the three radio buttons were selected