function addClass(target, className)
    {
        if (!hasClass(target, className))
            target.className += ' ' + className;
    }
Adds CSS class name to the target DOM element.
@param {DOMElement} target Target DOM element.
@param {String} className New CSS class to add.