<!--LEFTBODY-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td width="100%" class="genmed" style="height:23px; background-color:#D9DEE2" align="center">{SITENAME}</td></tr>
<tr><td width="100%" align="center" style="height:52px" valign="middle"><a href="{SELF_URL}" title="{SITE_DESCRIPTION}"><img border="0" src="{TEMPLATE_PATH}/images/head_logo.gif" alt="{SITE_DESCRIPTION}"></a></td></tr>
</table>



	<table width="100%" border="0" cellspacing="0" cellpadding="0" style="background-image:URL('{TEMPLATE_PATH}/images/head.gif')">
	 <!-- BEGIN MAINMENU -->
	 <tr>
	<td style="background-color:#FF7400;" width="8">&nbsp;</td>
	<td 
		<!-- IF MAINMENU.S_POSTFIX eq 's' -->
		 onMouseOver="this.className='mmenu_highlight';" 
  	         onMouseOut="this.className='mmenu_active';  mm_{MAINMENU.S_ROW_COUNT}.src='{TEMPLATE_PATH}/images/arrow_rs.gif';"
		 class="mmenu_active"
		<!-- ELSE -->
		 onMouseOver="this.className='mmenu_highlight';" 
	  	 onMouseOut="this.className='mmenu_normal'; mm_{MAINMENU.S_ROW_COUNT}.src='{TEMPLATE_PATH}/images/arrow_r.gif';"
		 class="mmenu_normal"
		<!-- ENDIF -->   

		style="cursor:hand;font-family:arial;font-size:11px;font-weight:bold;height:28px;border-left:1px white solid; <!-- IF MAINMENU.S_ROW_COUNT !== 0 -->border-top:1px white solid;<!-- ENDIF -->" 
	 >
	&nbsp; <img id="mm_{MAINMENU.S_ROW_COUNT}" src="{TEMPLATE_PATH}/images/arrow_r.gif">  
	<a href="{MAINMENU.URL}"><span>&nbsp;{MAINMENU.TEXT}</span></a></td></tr>
	 <!-- END MAINMENU -->
	</table>	


<div style="position:relative;left:6px;width:197px;">   <!-- {BODY_LEFT_WIDTH} -->

{BLOCKS_LEFT}

</div>

<br/>
</td>

<!--MAINBODY-->


   
<!-- IF BODY_MAIN_WIDTH != 179 -->
<!-- HEADER WITH CATS MENU -->

<!-- IF TPL_PAGE_GEN_MODE == 7 -->
<td width="100%" valign="top"><table cellspacing="0" cellpadding="0" width="100%" border="0"><tr><td width="100%" valign="top">
<!-- ELSE -->
<td valign="top" width="{BODY_MAIN_WIDTH}" style="padding-left:{BLOCKS_H_MARGIN};padding-right:{BLOCKS_H_MARGIN}">
<!-- ENDIF -->


<map name="head_body_Map">
<area shape="rect" alt="{SITENAME}" coords="276,5,321,17" href="{SELF_URL}map.html">
<area shape="rect" alt="Карта сайта" coords="235,5,273,18" href="{SELF_URL}">
</map>


<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td width="440" valign="top" align="left" nowrap style="height:171px; background-image:URL('{TEMPLATE_PATH}/images/head_body.jpg'); background-repeat:none;">
<img border="0" src="{TEMPLATE_PATH}/images/spacer.gif" width="400" height="50" usemap="#head_body_Map">
&nbsp;</td>
<td width="90%" style="height:171px; background-image:URL('{TEMPLATE_PATH}/images/head_body_tile.gif'); background-repeat:repeat-x;">&nbsp;</td>
</tr></table>

<div style="border:0px solid #D9DEE2;border-width:0px; border-bottom-width:1px; border-top-width:1px; margin-bottom:2px; background-color:#EDEDED">
{MENU_CATEGORIES}
</div>

<!-- IF TPL_PAGE_GEN_MODE == 7 -->
</tr><tr><td width="100%"><table cellspacing="0" cellpadding="0" width="100%" border="0"><tr><td valign="top" width="{BODY_MAIN_WIDTH}" style="padding-left:{BLOCKS_H_MARGIN};padding-right:{BLOCKS_H_MARGIN}">
<!-- ENDIF -->

<!-- ELSE -->
<td valign="top" width="{BODY_MAIN_WIDTH}" style="padding-left:{BLOCKS_H_MARGIN};padding-right:{BLOCKS_H_MARGIN}">
<img src="{TEMPLATE_PATH}/images/head_face.gif">
<!-- ENDIF -->