private static String RenderSectionHeader(UrlHelper url, String title, bool isCurrent, int number, IMenuItem item)
        {
            var h3 = new TagBuilder("h3");

            if (isCurrent)
            {
                h3.Attributes["id"]     = "active";
                h3.Attributes["number"] = number.ToString();
            }
            var em = new TagBuilder("em");

            if (item != null && !String.IsNullOrEmpty(item.Image))
            {
                em.Attributes["style"] = String.Format("background: url(\"{0}\") no-repeat scroll 5px 50% transparent;", item.GetImageUrl(url));
            }
            var link = new TagBuilder("a");

            link.Attributes["href"] = item != null?item.GetUrl(url) : "javascript:void(0)";

            link.InnerHtml = title;
            em.InnerHtml   = link.ToString();
            h3.InnerHtml   = em.ToString();

            return(h3.ToString());
        }
        private static String RenderSectionHeader(UrlHelper url, String title, bool isCurrent, int number, IMenuItem item)
        {
            var h3 = new TagBuilder("h3");
            if (isCurrent)
            {
                h3.Attributes["id"] = "active";
                h3.Attributes["number"] = number.ToString();
            }
            var em = new TagBuilder("em");
            if (item != null && !String.IsNullOrEmpty(item.Image))
            {
                em.Attributes["style"] = String.Format("background: url(\"{0}\") no-repeat scroll 5px 50% transparent;", item.GetImageUrl(url));
            }
            var link = new TagBuilder("a");
            link.Attributes["href"] = item != null ? item.GetUrl(url) : "javascript:void(0)";
            link.InnerHtml = title;
            em.InnerHtml = link.ToString();
            h3.InnerHtml = em.ToString();

            return h3.ToString();
        }