/*   Copyright (c) 2002, Wm E. Riddle, All Rights Reserved

Change Log
	 1 May 02	wer	created 
*/


/* The following attributes can be set when a window is spawned in the window.open() function call:

     alwaysLowered=[yes|no|1|0] (Navigator 4.0 only) 
          Specifies whether to create a new window that floats below other windows, whether
          it is active or not. This is a secure feature and must be set in signed scripts. 
     alwaysRaised=[yes|no|1|0] (Navigator 4.0 only) 
          Specifies whether to create a new window that floats on top of other windows,
          whether it is active or not. This is a secure feature and must be set in signed scripts. 
     channelmode=[yes|no|1|0] (Internet Explorer 4.0 only) 
          Specifies whether to display the window in theater mode and show the channel
          band. 
     dependent=[yes|no|1|0] (Navigator 4.0 only) 
          Specifies whether to create a new window as a child of the current window. A
          dependent window closes when its parent window closes. On Windows platforms, a
          dependent window does not show on the task bar. It also has a narrow title bar, and
          a smaller "x" button to close the dependent window. 
     directories=[yes|no|1|0] 
          Specifies whether to create the standard browser directory buttons. In some
          browsers the directory buttons can be customized by the user. 
     fullscreen=[yes|no|1|0] (Internet Explorer 4.0 only) 
          Specifies whether to display the browser in a full-screen or normal window. Use
          Alt+F4 to close the window. 
     height=number 
          Specifies the height of the window in pixels. The minimum value should be 100. 
     hotkeys=[yes|no|1|0] (Navigator 4.0 only) 
          Specifies whether to enable most hotkeys in a new window that has no menu bar.
          The security and quit hotkeys remain enabled in any case. 
     innerHeight=number (Navigator 4.0 only) 
          Specifies the height, in pixels, of the window's content area. A signed script is
          required to create a window smaller than 100 x 100 pixels. This feature replaces
          height, which remains for backwards compatibility. 
     innerWidth=number (Navigator 4.0 only) 
          Specifies the width, in pixels, of the window's content area. A signed script is
          required to create a window smaller than 100 x 100 pixels. This feature replaces
          width, which remains for backwards compatibility. 
     location=[yes|no|1|0] 
          Specifies whether to display the Location field, the input field for entering URLs
          directly into the browser. 
     menubar=[yes|no|1|0] 
          Specifies whether to create the menu at the top of the window. In Internet Explorer,
          this feature is yes by default. A menu normally consists of a "File" option, an "Edit"
          option, and other browser-specific options. 
     outerHeight=number (Navigator 4.0 only) 
          Specifies the vertical dimension, in pixels, of the outside boundary of the window. A
          signed script is required to create a window smaller than 100 x 100 pixels. 
     outerWidth=number (Navigator 4.0 only) 
          Specifies the horizontal dimension, in pixels, of the outside boundary of the window.
          A signed script is required to create a window smaller than 100 x 100 pixels. 
     resizable=[yes|no|1|0] 
          Specifies whether to display resize handles at the corners of the window, which
          enable the user to resize the window. If this feature is not turned on explicitly, the
          user cannot resize the new window. 
     screenX=number (Navigator 4.0) left=number (Internet Explorer 4.0) 
          Specifies the distance the new window is placed from the left side of the screen. In
          Navigator, to place a window offscreen, set this feature in a signed scripts. 
     screenY=number (Navigator 4.0) top=number (Internet Explorer 4.0) 
          Specifies the distance the new window is placed from the top of the screen. In
          Navigator, to place a window offscreen, set this feature in a signed scripts. 
     scrollbars=[yes|no|1|0] 
          Specifies whether to display horizontal and vertical scroll bars, when the content
          exceeds the dimensions of the window. This feature is yes by default. 
     status=[yes|no|1|0] 
          Specifies whether to create a status bar at the bottom of the window. In Internet
          Explorer, this feature is yes by default. 
     titlebar=[yes|no|1|0] (Navigator 4.0 only) 
          Specifies whether to create a window with a title bar at the top. This feature is yes
          by default, but can be set to no in a signed script. 
     toolbar=[yes|no|1|0] 
          Specifies whether to display the browser toolbar, with buttons such as Back and
          Forward. 
     z-lock=[yes|no|1|0] (Navigator 4.0 only) 
          Specifies whether to create a new window that does not rise above other windows
          when activated. This is a secure feature and must be set in signed scripts. 
     width=number 
          Specifies the width of the window in pixels. The minimum value should be 100. 

     Many of these features can be either yes or no, 1 or 0. Alternatively, if you want to turn a
     feature on, you can simply specify the feature name in the comma-separated list.
*/

function openCopyright(href) {
  win = window.open(href,'notices','left=10,top=10,location=no,directories=no,menubar=no,toolbar=no,resizable=no,width=300,height=370');
  win.focus();
  return(win);
}

function openNotices(href) {
  win = window.open(href,'notices','left=10,top=10,location=no,directories=no,menubar=no,toolbar=no,resizable=no,width=300,height=350');
  win.focus();
  return(win);
}

function openGlossary(href) {
  win = window.open(href,'glossary','left=20,top=20,location=no,directories=no,menubar=no,toolbar=no,resizable=no,width=560,height=400');
  win.focus();
  return(win);
}

function openPopup(href) {
  win = window.open(href,'popup','left=20,top=20,location=no,directories=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=640,height=550');
  win.focus();
  return(win);
}

function openLargeImage(href) {
  win = window.open(href,'image','left=60,top=60,background=#999999,location=no,directories=no,menubar=no,toolbar=no,resizable=yes,width=645,height=450');
  win.focus();
  return(win);
}

function openDocument(href) {
  win = window.open(href,'document','left=100,top=100,location=no,directories=no,menubar=no,toolbar=no,resizable=yes,width=600,height=400');
  win.focus();
  return(win);
}

function openHelpDirectory(href) {
  win = window.open(href,'helpdirectory','left=400,top=10,location=no,directories=no,menubar=no,toolbar=no,scrollbars=no, resizable=yes,width=305,height=350');
  win.focus();
  return(win);
}

function openInfoPage(href) {
  win = window.open(href,'infopage','left=50,top=50,location=no,directories=no,menubar=no,toolbar=no,scrollbars=yes, resizable=yes,width=570,height=300');
  win.focus();
  return(win);
}

function openInfoDirectory(href) {
  win = window.open(href,'infodirectory','left=450,top=175,location=no,directories=no,menubar=no,toolbar=no,scrollbars=no, resizable=no,width=300,height=360');
  win.focus();
  return(win);
}

function openArticle(href) {
  win = window.open(href,'article','left=150,top=150,location=no,directories=no,menubar=no,toolbar=no,resizable=yes,width=600,height=300');
  win.focus();
  return(win);
}

