// Absolute FAQ Manager .NET // FAQ Launcher JS function xlaAFMlaunch(){ xlaAFMopenwindow('','',''); } function xlaAFMopenwindow(faqid,topicid,question){ if (document.body.clientHeight) { var windowheight = screen.availHeight; var windowwidth=screen.availWidth; rightwidth=440; leftwidth=screen.availWidth-rightwidth-11; AFMwindow=window.open('http://word.christianjobs.com/faq/faq_CJ/afmmain.aspx?topicid=' + topicid + '+faqid=' + faqid + '+question=' + question ,'xlaAFM','width='+rightwidth+',height='+windowheight+',screenX='+leftwidth+',screenY=0,top=0,left=' +leftwidth+',toolbar=0,location=0,status=1,menubar=0,resizable=1'); AFMwindow.focus(); // Resize Current Window // top.resizeTo(leftwidth,windowheight); top.moveTo(0,0); top.focus(); } else { AFMwindow=window.open('http://word.christianjobs.com/faq/faq_CJ/afmmain.aspx?topicid=' + topicid + '+faqid=' + faqid + '+question=' + question ,'','width=440,height=480,toolbar=0,location=0,status=1,menubar=0,resizable=1'); } } function xlaAFMopentopic(what){ xlaAFMopenwindow('',what,''); } function xlaAFMopenfaq(what){ xlaAFMopenwindow(what,'',''); } function xlaAFMsearch(what,topicid,selfpage){ if (selfpage==''){ xlaAFMopenwindow('',topicid,what); } else { self.location.href='http://word.christianjobs.com/faq/faq_CJ/afmmain.aspx?topicid=' + topicid + '+question=' + what; } }