/**************************************************
 * Attempts to find the specified form within the
 * current document.
 * IN : name: [scalar] The name of the form to
 *            retrieve.
 * OUT: form | false
 */
function findForm(name)
{
	var index = -1;
	
	for (var i = 0; i < document.forms.length; i++)
		if (document.forms[i].name == name)
			{
				index = i;
				break;
			}
	
	return (index >= 0)?(document.forms[index]):(false);
}