Open Widnow

function Open_Window(win_name)
{
  attr = ''
  attr = attr + 'menubar=no,'
  attr = attr + 'toolbar=no,'
  attr = attr + 'location=no,'
  attr = attr + 'directories=no,'
  attr = attr + 'status=no,'
  attr = attr + 'scrollbars=no,'
  attr = attr + 'resizable=no,'
  attr = attr + 'copyhistory=no,'
  attr = attr + 'screenX=20,screenY=20,'
  attr = attr + 'width=400,height=400'

  win = window.open ('',win_name,attr);

  win.document.writeln('<head>');
  win.document.writeln('<title>'+win_name+'</title>');
  win.document.writeln('</head>');
  win.document.writeln('<body><div id="divPage">');
  win.document.writeln('<div id="divHeader"></div>');
  win.document.writeln('<div id="divContent"></div>');
  win.document.writeln('<div id="divTrailer"></div>');
  win.document.writeln('</div></body>');

  win.document.bgColor = 'black';
  win.document.fgColor = 'green';

  win.document.close();
}