{strip}
<tr>
	<td width="25%" height="36" valign="bottom">
		<div id="menu_block_1" class="menu_block_1_top">
			<div style="padding-top:8px; padding-{$default_right}:10px; padding-bottom:8px; padding-{$default_left}:15px;">
		{if $registered}
			<a href="#" class="menu_block_1_big_link" onMouseOver="ChangeTopMenu('1'); return false;" onClick="ChangeTopMenu('1'); return false;">{$lang.index_top_big_1}</a>
		{else}
			<a class="menu_block_1_big_link">&nbsp;</a>
		{/if}
			</div>
			<div id="menu_corner_div_1" style="z-index: 2; align: {$default_right}; position: absolute; {$default_right}: 10px; top: 35px; display: {if $sub_menu_num eq 1}block{else}none{/if};"><img src="{$site_root}{$template_root}{$template_images_root}/niche_menu_corner.gif" alt=""></div>
		</div>
	</td>
	<td width="25%" height="36">
		<div id="menu_block_2" class="menu_block_2_top">
		<div style="padding-top:8px; padding-{$default_right}:10px; padding-bottom:8px; padding-{$default_left}:15px;">
		{if $registered}
		<a href="#" class="menu_block_2_big_link" onMouseOver="ChangeTopMenu('2'); return false;" onClick="ChangeTopMenu('2'); return false;">{$lang.index_top_big_2}</a>
		{else}
		<a class="menu_block_2_big_link">&nbsp;</a>
		{/if}
		</div>
		<div id="menu_corner_div_2" style="z-index: 2; align: {$default_right}; position: absolute; {$default_right}: 10px; top: 35px;display: {if $sub_menu_num eq 2}block{else}none{/if};"><img src="{$site_root}{$template_root}{$template_images_root}/niche_menu_corner.gif" alt=""></div>
		</div>
	</td>
	<td width="25%" height="36">
		<div id="menu_block_3" class="menu_block_3_top">
		<div style="padding-top:8px; padding-{$default_right}:10px; padding-bottom:8px; padding-{$default_left}:15px;">
		{if $registered}
		<a href="#" class="menu_block_3_big_link" onMouseOver="ChangeTopMenu('3'); return false;" onClick="ChangeTopMenu('3'); return false;">{$lang.index_top_big_3}</a>
		{else}
		<a class="menu_block_3_big_link">&nbsp;</a>
		{/if}
		</div>
		<div id="menu_corner_div_3" style="z-index: 2; align: {$default_right}; position: absolute; {$default_right}: 10px; top: 35px;display: {if $sub_menu_num eq 3}block{else}none{/if};"><img src="{$site_root}{$template_root}{$template_images_root}/niche_menu_corner.gif" alt=""></div>
		</div>
	</td>
	<td width="25%" height="36">
		<div id="menu_block_4" class="menu_block_4_top">
		<div style="padding-top:8px; padding-{$default_right}:10px; padding-bottom:8px; padding-{$default_left}:15px;">
		{if $registered}
		<a href="#" class="menu_block_4_big_link" onMouseOver="ChangeTopMenu('4'); return false;" onClick="ChangeTopMenu('4'); return false;">{$lang.index_top_big_4}</a>
		{else}
		<a class="menu_block_4_big_link">&nbsp;</a>
		{/if}
		</div>
		<div id="menu_corner_div_4" style="z-index: 2; align: {$default_right}; position: absolute; {$default_right}: 10px; top: 35px; display: {if $sub_menu_num eq 4}block{else}none{/if};"><img src="{$site_root}{$template_root}{$template_images_root}/niche_menu_corner.gif" alt=""></div>
		</div>
	</td>
</tr>
<tr>
	<td colspan="7" valign="top" style="border: 1px solid #cac6c6;">
	<div id="sub_menu_div_1" class="menu_block_1" style="padding-top:12px; padding-{$default_right}:12px; padding-bottom:10px; padding-{$default_left}:12px; display: {if $sub_menu_num eq 1}block{else}none{/if};">
		{if $registered}
			{if ($use_pilot_module_flashchat)}
			<a class="menu_block_1_link" href="{$site_root}{$menu_path.4}" onClick="javascript: window.open('{$site_root}{$menu_path.4}','flash_chat','menubar=0, resizable=1, scrollbars=0,status=0,toolbar=0, width=800,height=600');return false;">{$left_menu.chat}</a>
			{elseif ($use_pilot_module_toksta_chat)}
			<a class="menu_block_1_link" href="{$site_root}{$menu_path.35}" onClick="javascript: window.open('{$site_root}{$menu_path.35}','video_chat','menubar=0, resizable=1, scrollbars=0,status=0,toolbar=0, width=800,height=600');return false;">{$left_menu.chat}</a>
			{elseif ($use_pilot_module_webchat)}
			<a class="menu_block_1_link" href="{$site_root}{$menu_path.24}" onClick="javascript: window.open('{$site_root}{$menu_path.24}','video_chat','menubar=0, resizable=1, scrollbars=0,status=0,toolbar=0, width=800,height=600');return false;">{$left_menu.chat}</a>
			{elseif $use_pilot_module_flashcomschat eq 1}
			<a class="menu_block_1_link" href="z5_chat.php">{$lang.z5_chat.title}</a>
			{elseif $use_pilot_module_123flashchat eq 1}
			<a class="menu_block_1_link" target="_blank" href="{$site_root}/topcmm_123flashchat/123flashchat.php">{$left_menu.chat}</a>
			{/if}
			{if (!$use_pilot_module_toksta_im) && (!$use_pilot_module_flashcomsmessenger)}
		
			<a class="menu_block_1_link" href="{$site_root}{$menu_path.20}" onClick="javascript: open_im_window(); return false;">{$left_menu.im}</a>
			{/if}
	
			<a class="menu_block_1_link" href="{$site_root}{$menu_path.5}">{$left_menu.email}</a>
			{if ($use_pilot_module_videodate)}
	
			<a class="menu_block_1_link" href="{$site_root}facetalkonline.php">{$left_menu.facetalk_online}</a>
			{/if}
			{if ($use_pilot_module_forum)}
			<a class="menu_block_1_link" href="{$site_root}{$menu_path.21}">{$left_menu.forum}</a>
			{/if}
			{if ($use_pilot_module_blog)}
			<a class="menu_block_1_link" href="{$site_root}{$menu_path.19}">{$lang.blog.blog_menu_1}</a>
			{/if}
			{if ($use_pilot_module_club) && ($social ne 1)}
			<a class="menu_block_1_link" href="{$site_root}{$menu_path.27}">{$left_menu.clubs}</a>
			{/if}
			<a class="menu_block_1_link" href="{$site_root}{$menu_path.29}">{$lang.tell_a_friend.top_header}</a>
			{if $voipcall_feature}
			<a class="menu_block_1_link" href="{$site_root}{$menu_path.31}">{$left_menu.voip_call}</a>
			{/if}
		{else}
		&nbsp;
		{/if}
	</div>
	<div id="sub_menu_div_2" class="menu_block_2" style="padding-top:12px; padding-{$default_right}:12px; padding-bottom:10px; padding-{$default_left}:12px; display: {if $sub_menu_num eq 2}block{else}none{/if};">
		{if $registered}
			<a class="menu_block_2_link" href="{$site_root}/{$seo.homepage}">{$lang.home}</a>
			<a class="menu_block_2_link" href="{$site_root}{$menu_path.0}">{$lang.top_menu.my_profile}</a>
			<a class="menu_block_2_link" href="{$site_root}{$menu_path.1}">{$lang.top_menu.my_account}</a>
			<a class="menu_block_2_link" href="{$site_root}{$menu_path.6}">{$lang.top_menu.my_hotlist}</a>
			<a class="menu_block_2_link" href="{$site_root}{$menu_path.18}">{$lang.top_menu.my_blacklist}</a>
			{if $use_pilot_module_organizer eq 1}
			<a class="menu_block_2_link" href="{$site_root}/organizer.php">{$lang.modules.organizer.name}</a>
			{/if}
		{else}
		&nbsp;
		{/if}
	</div>
	<div id="sub_menu_div_3" class="menu_block_3" style="padding-top:12px; padding-{$default_right}:12px; padding-bottom:10px; padding-{$default_left}:12px; display: {if $sub_menu_num eq 3}block{else}none{/if};">
		{if $registered}
			<a class="menu_block_3_link" href="{$site_root}{$menu_path.2}">{$lang.top_menu.q_search}</a>
			<a class="menu_block_3_link" href="{$site_root}{$menu_path.3}">{$lang.section.a_search}</a>
			{if $social ne 1}
			<a class="menu_block_3_link" href="{$site_root}{$menu_path.7}">{$lang.top_menu.perfect_match}</a>
			{else}
			<a class="menu_block_3_link" href="{$site_root}{$menu_path.2}">{$lang.top_menu.keywords_search}</a>
			{/if}
		{else}
		&nbsp;
		{/if}
	</div>
	<div id="sub_menu_div_4" class="menu_block_4" style="padding-top:12px; padding-{$default_right}:12px; padding-bottom:10px; padding-{$default_left}:12px; display: {if $sub_menu_num eq 4}block{else}none{/if};">
		{if $registered}
			{if ($use_pilot_module_classified)}
			<a class="menu_block_4_link" href="{$site_root}{$menu_path.28}">{$lang.modules.classified.name}</a>
			{/if}
			<a class="menu_block_4_link" href="{$site_root}{$menu_path.16}?upload_type=f">{$lang.section.photo_gallary}</a>
			<a class="menu_block_4_link" href="{$site_root}{$menu_path.16}?upload_type=v">{$lang.section.video_gallary}</a>
			{if ($use_pilot_module_events)}
			<a class="menu_block_4_link" href="{$site_root}{$menu_path.23}">{$left_menu.events}</a>
			{/if}
			{if ($use_pilot_module_giftshop)}
			<a class="menu_block_4_link" href="{$site_root}{$menu_path.25}">{$left_menu.giftshop}</a>
			{/if}
			<a class="menu_block_4_link" href="{$site_root}{$menu_path.26}">{$left_menu.invite_friends}</a>
			{if ($use_pilot_module_club) && ($social eq 1)}
			<a class="menu_block_4_link" href="{$site_root}{$menu_path.27}">{$left_menu.clubs}</a>
			{/if}
			{if $user_banners_feature}
			<a class="menu_block_4_link" href="{$site_root}{$menu_path.30}">{$left_menu.banners}</a>
			{/if}
			<a class="menu_block_4_link" href="{$site_root}{$menu_path.32}">{$lang.section.hotornot}</a>
			<a class="menu_block_4_link" href="{$site_root}{$menu_path.33}">{$lang.section.answers}</a>
			<a class="menu_block_4_link" href="{$site_root}{$menu_path.34}">{$lang.top_menu.send_ecard}</a>
			{if ($use_pilot_module_games)}
      		<a class="menu_block_4_link" href="{$site_root}{$menu_path.37}">{$lang.top_menu.games}</a>
      		{/if}
		{else}
		&nbsp;
		{/if}
	</div>
	</td>
</tr>

{/strip}