// isBlank utility JavaScript Function
// File:    isBlank.js
// Author:  Eric Baars
// WEBCAT:  2.2
// Version: 1.0
// History:
//    23 May 2001  Initial creation

//-----------------------------------------------------------------------------
// Utility: Determine if a string has non-blank characters
function isBlank(s) {
	if (s == null) return true;
	if (s.length < 1) return true;
	for (var i = 0; i < s.length; i++) {
		if (s.charAt(i) != ' ' &&
			s.charAt(i) != '\t' &&
			s.charAt(i) != '\n') {
			return false;
		}
	}
    return true;
}

