function popUpWindow (theURL, wname, W, H) {

        var windowW = W;
        var windowH = H;
//        var windowX = Math.ceil( (window.screen.width  - windowW) / 2 );
//        var windowY = Math.ceil( ((window.screen.height - windowH) / 2)+30 );
        var windowX = Math.ceil( (window.screen.availWidth  - windowW) / 2 );
        var windowY = Math.ceil( ((window.screen.availHeight - windowH) / 2) );

        s = ",width="+W+",height="+H;

//	var splashWin = window.open(theURL, wname, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,dependent=1"+s, true)
	var splashWin = window.open(theURL, wname, "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,dependent=1,width=600,height=600", true)
//	splashWin.moveTo  ( Math.ceil( windowX ) , Math.ceil( windowY ) )
	splashWin.focus();
}
