<%topicid=request("topicid") faqid=request("faqid") if faqwidth="" or not(isnumeric(faqwidth)) then faqwidth=240 response.ContentType="application/x-javascript"%> function xlaAFMlaunch(){ if (document.all) { windowheight = screen.availHeight; rightwidth=<%=faqwidth%>; leftwidth=screen.availWidth-rightwidth-11; AFMwindow=window.open('<%=applicationurl%>afmmain.asp?topicid=<%=topicid%>&faqid=<%=faqid%>','xlaAFM','width='+rightwidth+',height='+(windowheight-51)+',screenX='+leftwidth+',screenY=0,top=0,left=' +leftwidth+',toolbar=0,location=0,status=1,menubar=0,resizable=1'); AFMwindow.focus(); } else { AFMwindow=window.open('<%=applicationurl%>afmmain.asp?topicid=<%=topicid%>&faqid=<%=faqid%>','','width=<%=faqwidth%>,height=480,toolbar=0,location=0,status=1,menubar=0,resizable=1'); } }