<div class="panel_center">
	<div class="items_list" data-bind="customScrollbar: {x: false}">
		<div class="scroll-inner">
			
			<div class="item selectable " data-bind="visible: showPersonalContacts, css: {'selected': Enums.ContactsGroupListType.Personal === selectedGroupType()}">
				<a href="javascript: void(0);" class="title" data-bind="click: function () { selectedGroupType(0); }">
					<span class="name">
						<span class="icon type1"></span>
						<span class="text" data-bind="i18n: 'text'" data-i18n="CONTACTS/LABEL_GROUP_PERSONAL"></span>
					</span>
				</a>
			</div>

			<div class="item selectable" data-bind="visible: showGlobalContacts, css: {'selected': Enums.ContactsGroupListType.Global === selectedGroupType()}">
				<a href="javascript: void(0);" class="title" data-bind="click: function () { selectedGroupType(2); }">
					<span class="name">
						<span class="icon type2"></span>
						<span class="text" data-bind="i18n: 'text'" data-i18n="CONTACTS/LABEL_GROUP_GLOBAL"></span>
					</span>
				</a>
			</div>

			<div data-bind="visible: showPersonalContacts() && 0 < groupFullCollection().length">
				<div class="section_title" data-i18n="CONTACTS/LABEL_GROUPS" data-bind="i18n: 'text'"></div>
				<div class="items_section" data-bind="foreach: groupFullCollection">
					<div class="item selectable" data-bind="css: {'selected': selected}">
						<a href="javascript: void(0);" class="title" data-bind="css: {'recivedAnim': recivedAnim()}, droppable: function (oEvent, oUi) { $root.contactsDrop($data, oEvent, oUi); }, click: function () { $root.viewGroup($data); }">
							<span class="name">
								<span class="icon"></span>
								<span class="text" data-bind="text: Name()"></span>
							</span>
						</a>
					</div>
				</div>
			</div>
			
		</div>
	</div>
</div>
