<html>
<head>
<title></title>
<script type="text/javascript">
[red]var inter;[/red]
function hmm()
{
var headID = window.document.getElementsByTagName("HEAD")[0];
var newScript = window.document.createElement("SCRIPT");
newScript.type = "text/javascript";
newScript.src = "js.js";
headID.appendChild(newScript);
[red]inter=window.setInterval('wait4load()',100);[/red]
}
[red]function wait4load()
{
if (imloaded) {
window.clearInterval(inter);
alert('3');
}
}[/red]
</script>
</head>
<body onload="hmm()">
</body>
</html>