/*
 * Client:		Faith in Action Evanston
 *
 * Language:	JavaScript
 *
 * Created by:	Dean Jensen
 * Created on:	23-OCTOBER-03
 * Modified on:	18-MARCH-04
 *
 * Description:	General Form Scripts
 * 
 * Version:	1.1.0
 *
 * Copyright:	The contents of this file are protected under the United States
 *   			copyright laws as an unpublished work, and is confidential and
 *   			proprietary to Synergistic Networks, Inc.  Its use or disclosure in
 *   			whole or in part without the expressed written permission of
 *   			Synergistic Networks, Inc. is expressly prohibited.
 *
 *   			© Copyright 2003-2004 by Synergistic Netowrks, Inc. All rights reserved.
 */

// -------------------------------------------------------
// Set focus to the first field
// -------------------------------------------------------
	function setFocus(field)
	 {
		switch (field)
		 {
			case 'ActivityReport':
			 {
				window.document.frmActivityReport.txtVolunteerName.focus();
				break;
			 }
			case 'Application':
			 {
				window.document.frmApplication.txtTodaysDate.focus();
				break;
			 }
			case 'RequestForService':
			 {
				window.document.frmRequestForService.txtFirstName.focus();
				break;
			 }
		 }
	 }

// EOF