oAttribute = (strAttributeName == 'class') ? oCurrent.className : oCurrent.getAttribute(strAttributeName);