function xlaALSprecheck(){ xlaALSleavemsg(); } function xlaALSleavemsg(){ 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("http://www.thegospel.com/livesupport/UserForm.asp?status=offline","ALSRoom","toolbar=0,location=0,status=1,menubar=0,scrollbars=1,resizable=1,width=520,height=350,top=" + topPos + ",left=" + leftPos); xlaALSwindow.focus(); } 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(); } document.write("<\/a>");