function xlaALSprecheck(){ if ((document.body && typeof(document.body.innerHTML)) != 'undefined'){ xlaALSrequest(); } else { alert('Sorry, but your browser does not support several features of this system.'); } } function xlaALSrequest(){ var w = 640, h = 480; if (document.all || document.layers) { w = screen.availWidth; h = screen.availHeight; } var leftPos = (w-520)/2, topPos = (h-350)/2; xlaALSwindow=window.open("........","ALSRoom","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=520,height=350,top=" + topPos + ",left=" + leftPos); xlaALSwindow.focus(); } function xlaALScheckstatus(){ var nt=String(Math.random()).substr(2,10); document.getElementById("xlaALSstatusimg").src='xxx' + nt; setTimeout("xlaALScheckstatus();", 10000); } document.write; //xlaALScheckstatus();