// openNewWindow(winURL,winTitle,winOptions)
//
// This functionw will open a new browser window.
// If called with only the winURL parameter, a standard
// browser window will be opened.

// Input parameters:
//   winURL - path to page/image to display (Required)
//   winTitle - Title of new window
//   winOptions - the options used to open new window
//
//      Window.Open  Options
//   Option      Values  Description 
// --------------------------------------------------
//  location     yes|no  Does the location bar show? 
//  menubar      yes|no  Does the menubar show? 
//  scrollbars   yes|no  Do scrollbars show? 
//  status       yes|no  Does the status bar show? 
//  titlebar     yes|no  Does the titlebar show? 
//  toolbar      yes|no  Does the toolbar show? 
//  resizable    yes|no  Can you resize the window? 
//  height       pixels  height of window 
//  width        pixels  width of window 
//  directories  yes|no  Does the personal toolbar show? 
//

function openNewWindow(winURL,winTitle,winOptions) {
  if (openNewWindow.arguments.length == 1) {
    winTitle='';
	winOptions='';
  }
	
  newWindow=window.open(winURL,winTitle,winOptions)     
  newWindow.focus()
}