Changed pagecode to ANSI