<!--
	function validateText(textItem, textDesc, allowSpaces, callFocus)
	{
		if(textItem.value == "")
		{
			alert("Please enter something for '" + textDesc + "'.");
			
			if(callFocus)
			{
				textItem.focus();
			}
			
			return(false);
		}
		else if(!allowSpaces)
		{
			var temp = new String(textItem.value);
			
			for(i = 0; i < temp.length; i++)
			{
				if(temp.charAt(i) == " ")
				{
					alert("'" + textDesc + "' may not contain any spaces. Please\nremove the space(s) from '" + textDesc + "' and try again.");
					
					if(callFocus)
					{
						textItem.focus();
					}
					
					return(false);
				}
			}
		}
		
		return(true);
	}
//-->