 xmlJudge;
            cleanWhitespace(xmlDoc);

            //get the judge tags and make sure they are sorted by last name
            x=xmlDoc.getElementsByTagName("JUDGE");
            var xArray = [],
                    length = x.length;
            for(var i=0; i < length; i++){
                xArray.push(x[i]);
            }
            xArray.sort(function(a,b) {
                var aCat = a.getElementsByTagName("NAMELAST")[0].childNodes[0].nodeValue;
                var bCat = b.getElementsByTag