//CVS:       $Id: benchmark_help.js,v 1.2 2003/05/06 19:31:50 cvsdevel Exp $
//Title:     benchmark_help.js
//Version:   1.00
//Copyright: Copyright (c) 2003
//Author:    REVIE
//Company:   Rhino Internet

/**
 * Javascript for displaying Financial Benchmark help information.
 * 
 * <p>
 * <b>Changelog:</b><pre>
 *  1.00  REVIE 2003/03/19  created
 * </pre>
 *
 * @author  REVIE
 * @version 1.00
 * @since   JDK1.0
 */


// -----------------------------------------------
//
//  main methods
//

/**
 * Displays the popup window for the specified URL.
 *
 * @param url the URL of the page to display in the popup window
 * @param width the width of the new popup window
 * @param height the height to set the new popup window to
 * @return <code>FALSE</code> for when showWin() is called from
 *        a URL link and not wanting to actually change the underlying page
 */
function showWin(url, width, height) {
   if (!width || width < 532) {
      width = 532;
   }

   if (!height || height < 480) {
      height = 480;
   }

   var newwin = window.open(url, 'ext', 'width='+width+',height='+height+
                            ',status=yes,toolbar=no,resizable=yes,scrollbars=yes');
   if (window.focus) {
      newwin.focus();
   }

   return false;
} // showWin
