	<script>
		var pm_interval;
		var check_mess;
	</script>

	<div id="messages_sound_player"></div>
	<div class="r_block">
		<div class="r_block_head">
			<div class="f-l">
				<span class="glyphicon glyphicon-envelope"></span> Мои сообщения
			</div>
			<button id="back_btn" class="disp-n btn btn-default messages_back_btn" onclick="load_dialogs();">К списку диалогов</button>
		</div> 
		<div class="r_block_c">
			<div id="place_for_messages" class="dialogs_place">
				<center><img src="{site_host}templates/{template}/img/loader.gif?v={cache}"></center><br>
			</div>
			<script>
				{load_dialogs}
			</script>
		</div>
	</div>
</div>

<div class="right_block">
	<div class="l_block">
		<div class="l_block_head">
			<span class="glyphicon glyphicon-user"></span> Собеседники
		</div> 
		<div class="l_block_c">
			<div id="companions"><center><img src="{site_host}templates/{template}/img/loader.gif?v={cache}"></center></div>
			<script>load_companions();</script>
		</div>
	</div>
</div>