//--------------------------------------------------------------------------------------
    protected void LoadResourceCenter()
    {
        Footer footer = new Footer();
        DataSet dsResource = new DataSet();
        StringBuilder sb = new StringBuilder();
        dsResource = footer.Get_LeftMenu_All_ResourceCenter();
        foreach (DataTable table in dsResource.Tables)
        {
            foreach (DataRow row in table.Rows)
            {
                sb.AppendLine("<li><a href=\"" + row["tempsitepage"].ToString() + "?id=" + row["geneid"].ToString() + "\">" + row["genetitle"].ToString() + "</a></li>");
            }
        }

        PlaceHolder_ResourceCenter.Controls.Add(new LiteralControl(sb.ToString()));
        dsResource = null;
        sb = null;
    }
    protected void LoadResourceCenter()
    {
        Footer footer = new Footer();
        DataSet dsResource = new DataSet();
        StringBuilder sb = new StringBuilder();
        int asm = 1;
        dsResource = footer.Get_LeftMenu_All_ResourceCenter();
        foreach (DataTable table in dsResource.Tables)
        {
            foreach (DataRow row in table.Rows)
            {
                if ((row["tempsitepage"].ToString() == "requestACatalog.aspx") && (((bool)Session[SiteConstants.UserValidLogin]) == false))
                {
                    sb.AppendLine("<li><a href=\"#htmlElement\" id=\"mb15\" class=\"mb\" rel=\"type:element\" onClick=\"followLink='" + row["tempsitepage"].ToString() + "?id=" + row["geneid"].ToString() + "&TypeGen=1&am=2&asm=" + asm.ToString() + "';clear_follow();\">" + row["genetitle"].ToString() + "</a></li>");
                }
                else
                {
                    sb.AppendLine("<li><a href=\"" + row["tempsitepage"].ToString() + "?id=" + row["geneid"].ToString() + "&TypeGen=1&am=2&asm=" + asm.ToString() + "\">" + row["genetitle"].ToString() + "</a></li>");
                }
                asm++;
            }
        }

        PlaceHolder_ResourceCenter.Controls.Add(new LiteralControl(sb.ToString()));
        dsResource = null;
        sb = null;
    }