public static function &getParams($jname, $reset = false)
	{
		static $instances;
		if (!isset($instances)) {
			$instances = array();
		}

		try {
			//only create a new parameter instance if it has not been created before
			if (!isset($instances[$jname]) || $reset) {
				$db = self::getDBO();

				$query = $db->getQuery(true)
					->select('params')
					->from('#__jfusion')
					->where('name = ' . $db->quote($jname));

				$db->setQuery($query);
				$params = $db->loadResult();
				$instances[$jname] = new Registry($params);
			}
			return $instances[$jname];
		} catch (Exception $e) {
			return new Registry();
		}
	}