A class for dynamic inputs
The code is not bad;


Quite configurable
Helper functions


However,


There is quite a bit of copy paste code
Placing the style classes in self.A. makes for verbose code
The css classes themselves are lengthy as well
onBlur keeps making the font larger, but focus does not make the font smaller, which could cause comically large labels
applyEL -> applyEventListeners reads/parses better 


This could be done instead:

/*****************************************************************************************
 **SDynInput - provides dynamic input for labels and borders
 */
var SDynInput = $A.Class.create({
    Name: 'SDynInput',
    // elements are passed in as input/label pairs
    set: function (inputLabelPairs) {
        var index;
        for (index = 0; index &lt; inputLabelPairs.length; index += 2) {
            this.applyEventListeners(inputLabelPairs[index], inputLabelPairs[index + 1]);
        }
    },
    // apply event listeners to the input elements
    applyEventListeners: function (input, label) {
        var self = this,
            labelSpeed = 200,
            // CSS classes used to toggle the label
            hideLabel = 'toggle_label_hide',
            obscureLabel = 'toggle_label_obscure',
            showLabel = 'toggle_label_show',
            // CSS classes used to toggle the input border
            hideBorder = 'toggle_border_hide',
            obscureBorder = 'toggle_border_obscure',
            showBorder = 'toggle_border_show',
            applyClasses = function (inputClass, labelClass) {
                $A.addClass(input, inputClass);
                $A.addClass(label, labelClass);
            },
            applyHidingClasses = function () {
                applyClasses(hideBorder, hideLabel);
            };
        input.addEventListener("blur", function () {
            if (input.value === '') {
                applyClasses(borderShow, labelShow);
                $A.expandFont(label, 'up', labelSpeed);
            }
        }, false);
        input.addEventListener("focus", function () {
            if (input.value === '') {
                applyClasses(borderObscure, labelObscure);
            }
        }, false);
        input.addEventListener("paste", applyHidingClasses false);
        input.addEventListener("keypress", applyHidingClasses, false);
        input.addEventListener("drop", function () {
            $A.setTimeout(applyHidingClasses, 0);
        }, false);
    }
}, true);