﻿// JScript 文件	
var  html = "<ul>"
	+ "  <li><a href=\"http://www.yaolan.com/\" target=\"_blank\">首页</a></li>"
	+ "    <li onmouseover=\"MM_showHideLayers('PopIndex3',0);\" onmouseout=\"MM_showHideLayers('PopIndex3',1);\">"
	+ "	    <a href=\"http://www.yaolan.com/index/\" target=\"_blank\">知识</a>"
	+ "	    <div id=\"PopIndex3\" style=\"display:none\" onmouseover=\"MM_showHideLayers('PopIndex3',0);\" onmouseout=\"MM_showHideLayers('PopIndex3',1);\">"
	+ "	        <p style=\"position:absolute; z-index:1\">"
	+ "	            <a href=\"http://www.yaolan.com/preconception\" target=\"_blank\">孕前</a>"
	+ "	            <a href=\"http://www.yaolan.com/pregnant\" target=\"_blank\">孕期</a>"
	+ "	            <a href=\"http://www.yaolan.com/birth\" target=\"_blank\">分娩</a>"
	+ "	            <a href=\"http://www.yaolan.com/infant\" target=\"_blank\">婴儿</a>"
	+ "	            <a href=\"http://www.yaolan.com/toddler\" target=\"_blank\">幼儿</a>"
	+ "	            <a href=\"http://www.yaolan.com/preschool\" target=\"_blank\">学龄</a>"
	+ "	        </p>"
	+ "	    </div>"	
	+ "   </li>"
	+ "  <li><a href=\"http://ask.yaolan.com/\" target=\"_blank\">问答</a></li>"
	+ "    <li><a href=\"http://chat.yaolan.com/\" target=\"_blank\">专家</a></li>		"   
	+ "    <li onmouseover=\"MM_showHideLayers('PopIndex1',0);\" onmouseout=\"MM_showHideLayers('PopIndex1',1);\">"
	+ "        <a href=\"http://space.yaolan.com/\" target=\"_blank\">空间</a>"
	+ "	    <div id=\"PopIndex1\" style=\"display:none\" onmouseover=\"MM_showHideLayers('PopIndex1',0);\" onmouseout=\"MM_showHideLayers('PopIndex1',1);\">"
	+ "	        <p style=\"position:absolute; z-index:1\">"
	+ "	            <a href=\"http://space.yaolan.com/diary/commend\" target=\"_blank\">育儿日记</a>"
	+ "	            <a href=\"http://space.yaolan.com/babyface/\" target=\"_blank\">亲子相册</a>"
	+ "	            <a href=\"http://cn.yaolan.com/cn\" target=\"_blank\">宝宝域名</a>"
	+ "	            <a href=\"http://baobao.yaolan.com/\" target=\"_blank\">宝贝小家</a>"
	+ "	        </p>"
	+ "	    </div>"
	+ "    </li>"
	+ "    <li><a href=\"http://bbs.yaolan.com/\" target=\"_blank\">论坛</a></li>"
	+ "    <li><a href=\"http://group.yaolan.com/\" target=\"_blank\">圈子</a></li>"
	+ "    <li><a href=\"http://event.yaolan.com/\" target=\"_blank\">活动</a></li>"
	+ "    <li><a href=\"http://abc.yaolan.com/\" target=\"_blank\">成长阶梯</a></li>"
	+ "    <li><a href=\"http://emag.yaolan.com/\" target=\"_blank\">摇篮杂志</a></li>"
	+ "    <li onmouseover=\"MM_showHideLayers('PopIndex2',0);\" onmouseout=\"MM_showHideLayers('PopIndex2',1);\">"
	+ "	    <a href=\"\" target=\"_blank\">更多</a>"
	+ "	    <div id=\"PopIndex2\" style=\"display:none\" onmouseover=\"MM_showHideLayers('PopIndex2',0);\" onmouseout=\"MM_showHideLayers('PopIndex2',1);\">"
	+ "		    <p style=\"position:absolute; z-index:1\">"
	+ "		        <a href=\"http://elf.yaolan.com/\" target=\"_blank\">精灵学院</a>"
	+ "		        <a href=\"http://try.yaolan.com/\" target=\"_blank\">免费试用</a>"
	+ "		        <a href=\"http://www.yaolan.com/tools\" target=\"_blank\">育儿工具</a>"
	+ "		        <a href=\"http://haodf.yaolan.com/\" target=\"_blank\">就医指南</a>"
	+ "		        <a href=\"http://poster.yaolan.com/\" target=\"_blank\">精彩画报</a>"
	+ "		    </p>"
	+ "	      </div>"
	+ "    </li>"
    + "</ul>"
	    
function FillNavText(){
    document.getElementById("nav_right").innerHTML = html;
} 
function addLoadEvent(func)
{	
    var oldonload = window.onload;
    if (typeof window.onload != 'function')
    {
        window.onload = func;
    } 
    else 
    {
        window.onload = function()
        {
            oldonload();
            func();
        }
    }
}
addLoadEvent(FillNavText);