title: updating javascript in the body tag using zend framework
body: <p>Hi not sure if this is possible or not but I want to programaticaly update the &lt;body&gt; tags to change the onload function in my zend framework application.</p>
  
  <p>The App is using layouts so the body tag currently looks like this <strong>&lt;body class="trandra"&gt;</strong></p>
  
  <p>However in one of my views I have a map from google being loaded and it needs the following in the body tag this particular view <strong>&lt;body onload="initialize()" onunload="GUnload()"&gt;</strong>  </p>
  
  <p>As you can understand I don't want this to be hardcoded in my layout as this will cause all matter of nightmares with the different views.</p>
  
  <p>How can this be done programaticaly, if at all it is possible?  Im using the headScript functions to add the javascript so is there an equivalant for the body tag?</p>
  
  <p>Thanks in advance...</p>