							<div id="generalMenu" class="yuimenubar topmenubar">
								<div class="bd">
									<ul class="first-of-type">
										<li class="yuimenubaritem first-of-type"><a class="yuimenubaritemlabel" href="<?php e(HTTP_ACTION); ?>private/home/living/"><img src="<?php e(BASE_URL); ?>resource/img/icons/house.gif" width="16" height="16" align="absmiddle" />&nbsp;<?php _e('My Home'); ?></a></li>
										<li class="yuimenubaritem"><a class="yuimenubaritemlabel" href="#"><img src="<?php e(BASE_URL); ?>resource/img/icons/emoticon_happy.gif" width="16" height="16" align="absmiddle" />&nbsp;<?php _e('Communication'); ?></a></li>
										<li class="yuimenubaritem"><a class="yuimenubaritemlabel" href="#"><img src="<?php e(BASE_URL); ?>resource/img/icons/wrench.gif" width="16" height="16" align="absmiddle" />&nbsp;<?php _e('Settings'); ?></a></li>
										<li class="yuimenubaritem"><a class="yuimenubaritemlabel" href="<?php e(HTTP_ACTION); ?>public/login/logout/"><img src="<?php e(BASE_URL); ?>resource/img/icons/door_out.gif" width="16" height="16" align="absmiddle" />&nbsp;<?php _e('Sign Out'); ?></a></li>
									</ul>
								</div>
							</div><script type="text/javascript">
YAHOO.util.Event.onContentReady("generalMenu", function () {
	function onMenuBarBeforeRender(p_sType, p_sArgs) {
		var oSubmenuData = {
			"communication": [
				{ id: "gFriends",   text: "<?php _e('Search for Friends'); ?>",   url: "<?php e(HTTP_ACTION); ?>member/personal/search/" },
				{ id: "gCommunity", text: "<?php _e('Search for Community'); ?>", url: "<?php e(HTTP_ACTION); ?>community/view/search/" },
				{ id: "gBlog",      text: "<?php _e('Search for Blog'); ?>",      url: "<?php e(HTTP_ACTION); ?>member/blog/search/" },
				{ id: "gReview",    text: "<?php _e('Search for Review'); ?>",    url: "<?php e(HTTP_ACTION); ?>public/review/search/" }
			],
			"settings": [
				{ id: "gBase",   text: "<?php _e('Basic Info'); ?>",  url: "<?php e(HTTP_ACTION); ?>private/setting/account/" },
				{ id: "gTheme",  text: "<?php _e('Color Theme'); ?>", url: "<?php e(HTTP_ACTION); ?>private/setting/theme/" },
				{ id: "gGadget", text: "<?php _e('Gadget'); ?>",      url: "<?php e(HTTP_ACTION); ?>private/post/gadget/0/" }
			]
		};
		// Add a submenu to each of the menu items in the menu bar
		this.getItem(1).cfg.setProperty("submenu", { id: "communication", itemdata: oSubmenuData["communication"] });
		this.getItem(2).cfg.setProperty("submenu", { id: "settings", itemdata: oSubmenuData["settings"] });
	}
	var oMenuBar = new YAHOO.widget.MenuBar("generalMenu", { autosubmenudisplay: true , showdelay: 0, hidedelay:250, lazyload: true });
	oMenuBar.beforeRenderEvent.subscribe(onMenuBarBeforeRender);
	oMenuBar.render();
});</script>