Microsoft VBScript runtime error '800a005e'

Invalid use of Null: 'Replace'

C:\SITES\ECOVIAGEM\HTTODOCS\BRASIL\GOIAS\PIRENOPOLIS\HOTEL-FAZENDA\AGUAS-VIVAS-HOTEL-FAZENDA\../../../../../inc-could/tipos/3.asp, line 244