//                            detailwin.js
//
//function to open a detail window of an HTML page
// and CENTER it on the screen
// newWin is the relative path to an HTML page.
// 2004


function detailWin(newWin) {
		detailWindow=window.open(newWin,'detail',config='height=730,width=800,scrollbars=yes');
		detailWindow.focus();
     	w = screen.width;
     	h = screen.height;
		x = (w-800)/2;
		y = ((h-730)/2)-15;
   		detailWindow.moveTo(x,y);
		//document.write('screen w & H '+ w + ' & '+ h +' and move to coorinates x & y ' + x + ' & ' + y);
		
}
function detailWin2(newWin) {
		detailWindow2=window.open(newWin,'detail',config='height=600,width=800,scrollbars=yes');
		detailWindow2.focus();
     	w = screen.width;
     	h = screen.height;
		x = (w-800)/2;
		y = ((h-600)/2);
   		detailWindow2.moveTo(x,y);
		//document.write('screen w & H '+ w + ' & '+ h +' and move to coorinates x & y ' + x + ' & ' + y);
		
}