//**************************************************************************************
//
// Open in New Window Script - v1.0
//
// Copyright 2002, Pedro Ribeiro <m42@clix.pt>. Licensed under GPL - GNU General Public
// License, version 2.0 or above. You can get a copy of GPL at www.gnu.org
//
//**************************************************************************************
//
// This function requires three parameters. The first one is the name of the file to
// open,  the second one is the width and the last one is the height of the window.
//
function openpic(f, w, h) {
  type = "status=no,menu=no,toolbar=no,width=" ;
  type = type + w ;
  type = type + ",height=" ;
  type = type + h ;
  pic = window.open('','Doc',type) ;

  pic.document.open('text/html') ;

  pic.document.writeln('<html>') ;
  pic.document.writeln('<head>') ;
  pic.document.writeln('<title>fundijacto.com</title>') ;
  pic.document.writeln('</head>') ;
  pic.document.writeln('<body style="margin: 0px">') ;
  pic.document.writeln('<img src="'+f+'">') ;
  pic.document.writeln('</body>') ;
  pic.document.writeln('</html>') ;
}
