added 'effect' and 'closeEffect' with some predefined animation effects
defined $.parseData which parses data strings to objects