In this line of code:
<body <?php echo $this->getBodyClass()?'class="'.$this->getBodyClass().'"':'' ?>>
Where is the BodyClass() variable changed?
I discovered you can add this in the XML. For example, to add ‘customer’ class to every page in the customer area.
In customer.xml add
<action method="addBodyClass"><className>customer</className></action>
...