Updated code to work with changed ids and classes in OPAC