/* Version Date: 5/12/2004 */
/* Previous Version Dates: 1/15/2003, 5/6/2003 */
/* Original Author: JPS */
/* 5/12/2004 The comments at the top of this page were changed. */
/* 5/6/2003 Mostly only comments and tab spacing were changed. */
/* No warranties are either expressed or implied. */
/* Not responsible for any problems. */

function jpsjsRefreshPg(pstrFldName, pstrPreviousFieldName) {
	// Purpose: Refresh pg. to update other fld(s) based on selection.
	// Author:  JPS, 9/2000.
	// Remarks: Used by combo's onchange.
	//					Assumes existence of document.frmMain.FocusedFldName hidden fld.

	// Set focused fld for when come back.
	document.frmMain.FocusedFldName.value = pstrFldName;
	document.frmMain.PreviousFieldName.value = pstrPreviousFieldName;	

	// Msg.
	//alert("Refreshing page to update other field(s) based on your selection.");

	// Submit pg to itself to refresh other combo based on this combo.
	document.frmMain.submit();
}
