Altered existing code to work with new DB

Updtaed code to work as before. Working concept of jquery expanding
conception type divs