/** * REMINDER * Progressively change functions so they use document.getElementById() func * instead of document.
* as forms must not have a "name" value according to xHTML STRICT DOCTYPE */ /** * Errors checking * Searching for , * Modifying parent node className * Setting appropriate left margin to other fields */ function formErrorCheck() { var labels = document.getElementsByTagName("label"); if (labels) { var labelWidth = labels[0].offsetWidth; if (document.all && !window.sidebar) { // this check should recognise only IE labelWidth += 3; } } for (i=0; i