
	//===============================================================================
	//	FUNCTION:	FSS_SetFocus
	// 
	//	INPUT: 		<nothing>
	//
	//	RETURN:		Can we update / read cookies from this browser ?
	//				( True; False; )
	//
	//	DESC:		This function is used with client-side JavaScript to detect
	//				if we can update / read cookies on this 'User' browser.
	//
	//	PLATFORMS:	Netscape Navigator 3.01 and higher,
	//			  	Microsoft Internet Explorer 3.02 and higher,
	//
	//	Used In:
	//
	// <BODY onLoad="return setFocus()"> 
	// <input type=reset value="Reset" onClick="return setFocus()"> 
	//
	//===============================================================================
	function FSS_SetFocus()
	{
		var bRtrn = false;

		// - Loop through all the forms.
		for (var frm = 0; frm < document.forms.length; frm++)
		{
			for (var fld = 0; fld < document.forms[frm].elements.length; fld++)
			{
				var elt = document.forms[frm].elements[fld];
				// - Skip buttons, radio, or check-boxes
				//   to skip "select" types, remove from if statement
				if ((elt.type == "text") || 
					(elt.type == "textarea") ||
					(elt.type == "select-one") ||
					(elt.type == "select-multiple"))
				{
					elt.focus();
					// - Select text in text field or textarea
					if (elt.type.indexOf("text") != -1) elt.select();

					bRtrn = true;
					break;
				}
			}
		}

		return (bRtrn);
	}
