// Version: 1.14 // Last updated: Tue, 06 May 2003 18:25:46 GMT function rac_openPopup(url, name, width, height, no_features) { if (width == null) { width = 440; } if (height == null) { height = 450; } var feature = 1; if (no_features == 1) { feature = 0; } var popup = window.open(url, name, "height="+height+",width="+width+ ",channelmode=0,dependent=0,directories=0,fullscreen=0" + ",location=0,menubar=0,resizable="+feature+ ",scrollbars="+feature+",status="+feature+",toolbar=0"); popup.focus(); } function openAnyWindow(url, name) { rac_openPopup(url, name); } if (isPrintNativeSupport()) { window.print = window.print; } else { window.print = printUsingActiveX; } function printUsingActiveX() { var WebBrowser = ''; document.body.insertAdjacentHTML('beforeEnd', WebBrowser); PrintControl.ExecWB(6, 2); PrintControl.outerHTML = ""; } function isPrintNativeSupport() { var agent = window.navigator.userAgent; var i = agent.indexOf("MSIE ")+5; return navigator.appName == "Netscape" || (parseInt(agent.substr(i)) >= 5 && agent.indexOf("5.0b1") < 0); } function bookmark() { var agent = window.navigator.userAgent; var i = agent.indexOf("MSIE ")+5; if (navigator.appName == "Microsoft Internet Explorer" && parseInt(agent.substr(i)) >= 4) { window.external.AddFavorite(window.location.href,document.title); } else { alert('To bookmark this page\n\nNetscape users\nPress Ctrl-D\n\nOpera users\nPress CTRL+SHIFT+T\n\nOther users\nConsult your browser help'); } } 
