日期:2011-06-23  浏览次数:20501 次

<!--
// outline.js
// See KB article about changing this dynamic HTML
    function getControlTag(src)
    {
        TRok = false
        while ("HTML" != src.tagName)
        {
            if ("IMG" == src.tagName || "FONT" == src.tagName || "A" == src.tagName || "TD" == src.tagName)
                TRok = true
            if ("LI" == src.tagName)
                return src
            if ("TR" == src.tagName)
            {
                if(TRok)
                    return src
                return null
            }
            src = src.parentElement
        }
        return null
    }
    function dynOutlineEnabled(src)
    {
        while ("BODY" != src.tagName)
        {
            table = "TABLE" == src.tagName;
            if(table && src.getAttribute("border", false) != "0")
                return false;
            if("OL" == src.tagName || "UL" == src.tagName || table)
            {
                if(null != src.getAttribute("nodynamicoutline", false))
                    return false
                if(null != src.getAttribute("dynamicoutline", false))
                    return true
                if(mac > 0)
                {
                    var at = src.outerHTML.indexOf("dynamicoutline")
                    if(at > 0)
                    {
             &n