//***********************************
//	aspButtonSubmit
//	Sets the form command to the specified value and then 
//	submits the form.
function aspButtonSubmit( form_id, command_name ) {
	// get reference to form
	var form = document.forms[ form_id ];
	
	// set command
	if ( form != null ) {
		if ( form[ '_FormCommand' ] != null ) form[ '_FormCommand' ].value = command_name;
		form.submit();
	}
}