another improvement:
Code:
Spry.Widget.Utils.firstValid = function() {
	for (var i in arguments)
		if (typeof arguments[i] !== 'undefined')
			return arguments[i];
};
Not really sure of the value of this function, to be frank.