Microsoft VBScript runtime error '800a005e'

Invalid use of Null: 'replace'

/hotels/shtml12/readmdhoteldb.asp, line 157