If your page is dynamically generated, technically all HTML output are already output as variables according to your server side script. If you mean specifying the animated DIVs' HTML as JavaScript variables, there's no benefit to that, only disadvantages, as you have to make sure everything is escaped properly to avoid throwing JavaScript errors.
Bookmarks