This plugin will apply several dynamic classes to your '<body>' tag.  Use it like so in your template:  '<body{exp:ee_body_class}>'