How to catch onload event on css styles?
<p>I load css</p>

<pre><code>var ss = document.createElement("link");
var url = 'http://site.ru/style.css';
ss.setAttribute("rel", "stylesheet");
ss.setAttribute("type", "text/css");
ss.setAttribute("href", url);
document.getElementsByTagName("head")[0].appendChild(ss);
</code></pre>

<p>I want to call function after css loading, but tag link hasn't onload event, is there a way to do it? </p>
