function document.onreadystatechange() { if("complete"==document.readyState) { } }