The markup of the current Google Doodle looks like this:
<img alt="84. Geburtstag von Shakuntala Devi" border="0" height="162" src="/logos/doodles/2013/shakuntala-devis-84th-birthday-5315657683959808-hp.gif" title="84. Geburtstag von Shakuntala Devi" width="700" id="hplogo" onload="window.lol&&lol()" style="padding-top:45px">
with the interesting part being onload="window.lol&&lol()"
Just out of curiosity: What does window.functionname&&functionname() actually do? Why not just call the function? Is there any benefit or is it just done because it can be done, to show off? ;)