function ow(wname)
{
	if ( wname == window.name)
		return true ;

	var width = 600 ;
	var height = 400 ;
	var x = 0;
	var y= 0 ;

	var menubar = "yes" ;
	var toolbar = "no" ;
	var status = "yes" ;

	switch (wname) {
		case "recipe_print" :
			width = 730;
			height = 460;
			x = (screen.availWidth - width) * 0.75 ;
			y = (screen.availHeight - height) / 4 ;

			menubar = "yes" ;
			toolbar = "no" ;
			status = "no" ;
			break;
		default :
	}

	var win = window.open(	"",
				wname,
				"toolbar=" + toolbar
				+ ",status=" + status
				+ ",menubar=" + menubar
				+ ",width=" + width
				+ ",height=" + height
				+ ",location=no,directories=no,scrollbars=yes,resizable=yes");
	win.moveTo(x,y) ;

	win.focus();
	win.document.open();
	win.document.write("<title>Loading ...</title><p>Loading ...");
	win.document.close() ;
	return true ;
}

