function printArticle(articleID) { var x = (screen.width-500)/2, y = (screen.height-400)/2; OpenWin = this.open(document.getElementsByTagName('base')[0].href+"index.html/articles|displayArticle?articleID="+articleID+"&printArticle=1", "CtrlWindow", "width=500,height=400,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=no, screenX="+x+", screenY="+y+", left="+x+", top="+y); }