title: Magento - Display image instead of another if body has a specific class
body: <p>I need your help to do this with my Magento website.</p>
  
  <p>In my header.phtml file I have this code that shows logo.</p>
  
  <pre><code>&lt;img src='&lt;?php echo $this-&gt;getLogoSrc(); ?&gt;' alt='&lt;?php echo $this-&gt;getLogoAlt(); ?&gt;' /&gt;
  </code></pre>
  
  <p>This logo it's ok for all pages of the website, but I need to have another one logo (different colors) for the homepage. 
  Homepage body has this specific class "cms-home" that maybe we can use to detect the page.</p>
  
  <p>This is the url of the image I want to show: <a href="http://www.mydomain.it/skin/frontend/neighborhood/child/images/gm-home.png" rel="nofollow">http://www.mydomain.it/skin/frontend/neighborhood/child/images/gm-home.png</a></p>
  
  <p>Many thanks</p>