var newWin = null; function openExplain(strUrl) { var explainURL = ""; if(newWin != null && !newWin.closed) newWin.close(); newWin = null; var width = parseInt( screen.width * 0.4 ); var height = parseInt( screen.height * 0.4); var left = parseInt( ( screen.width - width ) /2 ); var top = parseInt( ( screen.height - height ) /2 ); var features = "width="+ width + ",height="+height; // explainURL = "http://explain.callagenix.net/ExplainFrame.asp?Page=" + escape(strUrl); explainURL = "http://explain.callagenix.net/ExplainFrame.asp?Page=" + strUrl; newWin = window.open( explainURL, "Explain", "scrollbars=yes,resizable=yes,status=yes,toolbar=no,location=no,menubar=no," + features); return (false); } function openxWin(strUrl) { var explainURL = ""; if(newWin != null && !newWin.closed) newWin.close(); newWin = null; var width = parseInt( screen.width * 0.5 ); var height = parseInt( screen.height * 0.5); var left = parseInt( ( screen.width - width ) /2 ); var top = parseInt( ( screen.height - height ) /2 ); var features = "width="+ width + ",height="+height; explainURL = "http://explain.callagenix.net/ExplainFrame.asp?Page=" + escape(strUrl); newWin = window.open( explainURL, "Super CGX", "scrollbars=yes,resizable=yes,status=yes,toolbar=no,location=no,menubar=no," + features); return (false); }