<?php
  /**************************************************************************\
  * phpGroupWare app (NNTP)                                                  *
  * http://www.phpgroupware.org                                              *
  * Written by Mark Peters <mpeters@satx.rr.com>                             *
  * --------------------------------------------                             *
  *  This program is free software; you can redistribute it and/or modify it *
  *  under the terms of the GNU General Public License as published by the   *
  *  Free Software Foundation; either version 2 of the License, or (at your  *
  *  option) any later version.                                              *
  \**************************************************************************/

  /* $Id: functions.inc.php,v 1.27.4.1 2005/12/15 14:06:42 skwashd Exp $ */

	if(isset($GLOBALS['folder']) && isset($GLOBALS['msgnum']))
	{
		$param = array
			(
				'folder' => $folder,
				'msgnum' => $msgnum
			);
		$GLOBALS['nntp'] = CreateObject('nntp.nntp', $param);
	}
	else
	{
		$GLOBALS['nntp'] = CreateObject('nntp.nntp');
	}
?>
