Replaced the .click commands with .live.