<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteRule ^catalog/([^/.]+)/([^/.]+)/?$ catalog/index.php?SECTION_CODE=$1&ELEMENT_ID=$2 [L]
	RewriteRule ^catalog/([^/.]+)/?$ catalog/index.php?SECTION_CODE=$1 [L]
</IfModule>