/**
* * There are two variants of content's modification in this method.
* The first one:
* If it's ajax-hit the content will be replaced by json data with dynamic blocks,
* javascript files and etc. - dynamic part
*
* The second one:
* If it's simple hit the content will be modified also,
* all dynamic blocks will be cutted out of the content - static part.
*
* @param string $content Html page content.
*
* @return string
*/
public function processPageContent($content)
{
global $APPLICATION;