s




function popup (u,n,w,h) {

	var verticalAdjustment = 30;

	var url = 'javascript:';
	var name = 'untitled';
	var width = 600;
	var height = 480;

	var menubar = 'no';
	var toolbar = 'no';
	var location = 'no';
	var directories = 'no';
	var scrollbars = 'yes';
	var resizable = 'no';
	var status = 'no';

	if (u == null) { u = url; }
	if (n == null) { n = name; }
	if (w == null) { w = width; }
	if (h == null) { h = height; }

	var left = Math.round((window.screen.availWidth-w)/2);
	var top = Math.round((window.screen.availHeight-h)/2) - verticalAdjustment;

	if (left < 0) { left = 0; }
	if (top < 0) { top = 0; }

	var f =	'menubar='+menubar+','+
			'toolbar='+toolbar+','+
			'location='+location+','+
			'directories='+directories+','+
			'scrollbars='+scrollbars+','+
			'resizable='+resizable+','+
			'status='+status+','+
			'width='+w+','+
			'height='+h+','+
			'left='+left+','+
			'top='+top;

	newWin = window.open(u,n,f);

	if (newWin.opener == null) { newWin.opener = window; }

}









// JavaScript Document



	
	