fires before HTML page starts to load
$$('myIframe').attachEvent("onBeforeLoad",function(){ alert("Loading is starting!"); });