Under the Act, contempt of court may be civil or criminal.