// Copyright 1999 - 2002 by Ray Stott, Pop-up Windows Script ver 2.0
// OK to use if this copyright is included
// Script is available at http://www.crays.com/jsc          

function openWin(URL, h, w) {
  var scroll = 'yes'; 
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  var settings  ='height=400,';
      settings +='width='+w+',';
      settings +='top='+wint+',';
      settings +='left='+winl+',';
      settings +='scrollbars='+scroll+',';
      settings +='resizable=0';

 
  	 childWindow=window.open(URL,'child',settings);
 	 if (childWindow.opener == null)	{
    		childWindow.opener = self;
    		childWindow.focus();  	
  	 }

}