public function SearchAndReplace($buffer)
	{
		$context = Context::getInstance();

		$posi = 0;
		$i = strpos($buffer, "<param-", $posi);
		while ($i !== false)
		{
			echo substr($buffer, $posi, $i-$posi);
			$if = strpos($buffer, "</param-", $i);

			$tamparam = $if-$i-8;
			$var = substr($buffer, $i+7, $tamparam);

			echo $context->get($var);

			$posi = $if + $tamparam + 9;
			$i = strpos($buffer, "<param-", $posi);
		}

		echo substr($buffer, $posi);
	}