
function xgoNewWin() { 
// Set height and width 
var NewWinHeight=200; 
var NewWinWidth=200; 
// Place the window 
var NewWinPutX=10; 
var NewWinPutY=10; 
//Get what is below onto one line 
TheNewWin=window.open("untitled.html",'TheNewpop', 'titlebar=no, xfullscreen=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no'); 
//Get what is above onto one line 
TheNewWin.resizeTo(NewWinHeight,NewWinWidth); 
TheNewWin.moveTo(NewWinPutX,NewWinPutY); 
} 

    function goNewWin(ttl,txt){
      var myBars = 'directories=no,location=no,menubar=no,status=no';

      myBars += ',toolbar=no';
	o2=parent.document.getElementById("boddy");
      var w=screen.availWidth; //o2.clientWidth;
      var h=screen.availHeight; //o2.clientHeight;

	oh=( h - 200) / 2;
	ow=( w - 400) / 2;
   myBars += ',left=' + parseInt(ow) + 'px, top=' + parseInt(oh) + 'px';

      var myOptions = 'scrollbars=no,width=400,height=200,resizeable=no';
      var myFeatures = myBars + ',' + myOptions;
      var myReadme = txt;

      var newWin = open('', 'myDoc', myFeatures); 
	newWin.moveTo(ow,oh);
	document.title=ttl;

      newWin.document.writeln('<html<head><title>' + ttl + '</title></head>');
      newWin.document.writeln('<body>');
      newWin.document.writeln('<form>');
      newWin.document.writeln('<table class=searchBox>');
      newWin.document.writeln('<tr valign=TOP><td>');
      newWin.document.writeln('<textarea cols=45 rows=7 wrap=SOFT>');
      newWin.document.writeln(myReadme + '</textarea>');
      newWin.document.writeln('</td></tr>');
      newWin.document.writeln('<tr><td>');
      newWin.document.writeln('<input type=BUTTON value="Close"');
      newWin.document.writeln(' onClick="window.close()">');
      newWin.document.writeln('</td></tr>');
      newWin.document.writeln('</table></form>');
      newWin.document.writeln('</body></html>');
      newWin.document.close();
      newWin.focus();
    }

