/* ================================================================ This copyright notice must be untouched at all times. The original version of this script and the associated (x)html is available at http://www.stunicholls.com/various/more.html Copyright (c) 2005-2007 Stu Nicholls. All rights reserved. This script and the associated (x)html may be modified in any way to fit your requirements. Highly modified, Richard Coleman, 14 April 2013 ++ Added addEvent function to run clickMenu on window.load ++ Changed clickMenu so that the onclick happens to the H2 tag rather than anywhere in the DIV tag - so clicking on the text would hide the text ++ Added a class "cls_noscript" (see c1text.css) to default to showing the text and hiding the +/- when Javascript not available =================================================================== */ clickMenu = function() { var getEls = document.getElementById('contentWrapper').getElementsByTagName('h2'); /*div*/ var getElcN = ""; /* stores the class name of the parent to the H2 */ for (var i=0; i