title: fading divs in and out with if-statment
body: <p>Basically I'm trying to either fade in or out <code>&lt;div id="speech-bubble-sun"&gt;</code> or <code>&lt;div id="speech-bubble-dark"&gt;</code>, dependent on the visibility of an animated fading div <code>&lt;div id="headlights"&gt;</code>. So <a href="http://jsfiddle.net/lexbi/hWvJ4/39/" rel="nofollow">here is what I have so far</a>.</p>
  
  <p>I'm calling the if statement at different intervals throughout the function, and it does now work! </p>
  
  <p>But, the if-statement ceases to work once the function has been called upon itself again (in the loop).</p>