Except as provided in AS 12.61.010 and AS 47.12.110(b), upon the request of either party the judge may exclude from the courtroom any witness of the adverse party not under examination at the time so that the witness may not hear the testimony of other witnesses.