/*
 * 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 code provides a function to use when one wants to open something in a new window without the decorations.
 *
 * This function requires three parameters. The first one is the name of the file to open (normally an image), the second one is the width and the last one is the height of the window to open.
 * example: <a href="javascript: openw('openw.php', 400, 300)">
 */
function openw(f, w, h) {
	type = "status=no,menu=no,toolbar=no,scrollbars=yes,width=" ;
	type = type + w ;
	type = type + ",height=" ;
	type = type + h ;
	f1=window.open(f,'Doc',type) ;
	f1.focus() ;
}
