// #####################################################################################
// Functions here are intended to be CLIENT side JavaScript only. They are utility
// functions shared by many HTML files.
// #####################################################################################


// --------------------------------------------------------------------------------------
// is it a IE browser
// --------------------------------------------------------------------------------------
function isIE() {
	if (navigator.appName=="Netscape") return false;
	else return true;
}

function isEmpty(str) {
	var tmpStr = "";
	var notThese = " \n\r";
	
	for (var i=0; i<str.length; i++) if ( notThese.indexOf( str.charAt(i) )==-1 ) tmpStr += str.charAt(i);
	
	if (tmpStr=="") return(true);
	else return(false);
}

function buildArray() {
	var a = buildArray.arguments;
	for (i=0; i<a.length; i++) this[i] = a[i];
	this.length = a.length;
}

