function bc_validate(form)
{				
		if (isallwhite(form.fld_uname.value) == true){
			alert("You must enter a USER NAME."); 
			form.fld_uname.focus();
			form.fld_uname.select();
			return false;
		}

		if (isallwhite(form.fld_pwd.value) == true){
			alert("You must enter a PASSWORD."); 
			form.fld_pwd.focus();
			form.fld_pwd.select();
			return false;
		}
}		

function isallwhite(strText)
{
	a = 0;
	cr="";
	var white=" ";
	while (a < (strText.length))
	{
		cr = strText.substring(a,a+1);
		if (white.indexOf(cr) == -1)
			return false;
		a++;
	}
	return true;
}
