爱爱爱

来源:互联网 发布:老凤祥黄金换购的算法 编辑:程序博客网 时间:2024/05/20 23:38

<style type="text/css">

<!--

body {

         margin-left: 0px;

         margin-top: 0px;

         margin-right: 0px;

         margin-bottom: 0px;

}

.STYLE1 {

         font-size: 12px;

         color: #FFFFFF;

}

.STYLE3 {

         font-size: 12px;

         color: #033d61;

}

-->

</style>

<style type="text/css">

    .menu_title SPAN

    {

        font-weight: bold;

        left: 3px;

        color: #ffffff;

        position: relative;

        top: 2px;

    }

    .menu_title2 SPAN

    {

        font-weight: bold;

        left: 3px;

        color: #FFCC00;

        position: relative;

        top: 2px;

    }

</style>

<script>

    var he = document.body.clientHeight - 105

    document.write("<div id=tt style=height:" + he + ";overflow:hidden>")

</script>

<table width="165" height="100%" border="0" cellpadding="0" cellspacing="0">

    <tr>

        <td height="28" background="images/main_40.gif">

            <table width="100%" border="0" cellspacing="0" cellpadding="0">

                <tr>

                    <td width="19%">

                        &nbsp;

                    </td>

                    <td width="81%" height="20">

                        <span class="STYLE1">¨¹¤¨ª?Ì£¤</span>

                    </td>

                </tr>

            </table>

        </td>

    </tr>

    <tr>

        <td valign="top">

            <table width="151" border="0" align="center" cellpadding="0" cellspacing="0">

                <tr>

                    <td>

                        <table width="100%" border="0" cellspacing="0" cellpadding="0">

                            <tr>

                                <td height="23" background="images/main_47.gif" id="imgmenu1" class="menu_title"

                                    onmouseover="this.className='menu_title2';" onclick="showsubmenu(1)" onmouseout="this.className='menu_title';"

                                    style="cursor: hand">

                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">

                                        <tr>

                                            <td width="18%">

                                                &nbsp;

                                            </td>

                                            <td id="parent_1" width="82%" class="STYLE1" onclick="setMenuColor('1', '')">

                                                °¦Ì?D?

                                            </td>

                                        </tr>

                                    </table>

                                </td>

                            </tr>

                            <tr>

                                <td background="images/main_51.gif" id="submenu1">

                                    <div class="sec_menu">

                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">

                                            <tr>

                                                <td>

                                                    <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">

                                                        <tr>

                                                            <td width="16%" height="25">

                                                                <div align="center">

                                                                    <img src="images/left.gif" width="10" height="10" /></div>

                                                            </td>

                                                            <td width="84%" height="23">

                                                                <table width="95%" border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td height="20" style="cursor: hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; " onclick="setMenuColor('1', '1')"

                                                                            onmouseout="this.style.borderStyle='none'">

                                                                            <span id="child_1" class="STYLE3">¨¬?¨o¤¡é</span>

                                                                        </td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                        <tr>

                                                            <td height="23">

                                                                <div align="center">

                                                                    <img src="images/left.gif" width="10" height="10" /></div>

                                                            </td>

                                                            <td height="23">

                                                                <table width="95%" border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td height="20" style="cursor: hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; " onclick="setMenuColor('1', '2')"

                                                                            onmouseout="this.style.borderStyle='none'">

                                                                            <span id="child_2" class="STYLE3">®?¡ìÁ¨º¢?T?</span>

                                                                        </td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                        <tr>

                                                            <td height="23">

                                                                <div align="center">

                                                                    <img src="images/left.gif" width="10" height="10" /></div>

                                                            </td>

                                                            <td height="23">

                                                                <table width="95%" border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td height="20" style="cursor: hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; " onclick="setMenuColor('1', '3')"

                                                                            onmouseout="this.style.borderStyle='none'">

                                                                            <span id="child_3" class="STYLE3">???¡é¨¹¤¨ª</span>

                                                                        </td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                        <tr>

                                                            <td height="23">

                                                                <div align="center">

                                                                    <img src="images/left.gif" width="10" height="10" /></div>

                                                            </td>

                                                            <td height="23">

                                                                <table width="95%" border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td height="20" style="cursor: hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; " onclick="setMenuColor('1', '4')"

                                                                            onmouseout="this.style.borderStyle='none'">

                                                                            <span id="child_4" class="STYLE3">??°¦Ì?</span>

                                                                        </td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                    </table>

                                                </td>

                                            </tr>

                                            <tr>

                                                <td height="5">

                                                    <img src="images/main_52.gif" width="151" height="5" />

                                                </td>

                                            </tr>

                                        </table>

                                    </div>

                                </td>

                            </tr>

                        </table>

                    </td>

                </tr>

                <tr>

                    <td>

                        <table width="100%" border="0" cellspacing="0" cellpadding="0">

                            <tr>

                                <td height="23" background="images/main_47.gif" id="imgmenu2" class="menu_title"

                                    onmouseover="this.className='menu_title2';" onclick="showsubmenu(2)" onmouseout="this.className='menu_title';"

                                    style="cursor: hand">

                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">

                                        <tr>

                                            <td width="18%">

                                                &nbsp;

                                            </td>

                                            <td id="parent_2" width="82%" class="STYLE1" onclick="setMenuColor('2', '')">

                                                ¦Ìª3¨¹¤¨ª

                                            </td>

                                        </tr>

                                    </table>

                                </td>

                            </tr>

                            <tr>

                                <td background="images/main_51.gif" id="submenu2">

                                    <div class="sec_menu">

                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">

                                            <tr>

                                                <td>

                                                    <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">

                                                        <tr>

                                                            <td width="16%" height="25">

                                                                <div align="center">

                                                                    <img src="images/left.gif" width="10" height="10" /></div>

                                                            </td>

                                                            <td width="84%" height="23">

                                                                <table width="95%" border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td height="20" style="cursor: hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "

                                                                            onmouseout="this.style.borderStyle='none'" onclick="setMenuColor('2', '5')">

                                                                            <span id="child_5" class="STYLE3">¦Ìª3??</span>

                                                                        </td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                        <tr>

                                                            <td height="23">

                                                                <div align="center">

                                                                    <img src="images/left.gif" width="10" height="10" /></div>

                                                            </td>

                                                            <td height="23">

                                                                <table width="95%" border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td height="20" style="cursor: hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "

                                                                            onmouseout="this.style.borderStyle='none'" onclick="setMenuColor('2', '6')">

                                                                            <span id="child_6" class="STYLE3">T?®?¡ì¨¹?</span>

                                                                        </td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                        <tr>

                                                            <td height="23">

                                                                <div align="center">

                                                                    <img src="images/left.gif" width="10" height="10" /></div>

                                                            </td>

                                                            <td height="23">

                                                                <table width="95%" border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td height="20" style="cursor: hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "

                                                                            onmouseout="this.style.borderStyle='none'" onclick="setMenuColor('2', '7')">

                                                                            <span id="child_7" class="STYLE3">ºyY¨¹?</span>

                                                                        </td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                        <tr>

                                                            <td height="23">

                                                                <div align="center">

                                                                    <img src="images/left.gif" width="10" height="10" /></div>

                                                            </td>

                                                            <td height="23">

                                                                <table width="95%" border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td height="20" style="cursor: hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "

                                                                            onmouseout="this.style.borderStyle='none'" onclick="setMenuColor('2', '8')">

                                                                            <span id="child_8" class="STYLE3">ª???¡è</span>

                                                                        </td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                    </table>

                                                </td>

                                            </tr>

                                            <tr>

                                                <td height="5">

                                                    <img src="images/main_52.gif" width="151" height="5" />

                                                </td>

                                            </tr>

                                        </table>

                                    </div>

                                </td>

                            </tr>

                        </table>

                    </td>

                </tr>

                <tr>

                    <td>

                        <table width="100%" border="0" cellspacing="0" cellpadding="0">

                            <tr>

                                <td height="23" background="images/main_47.gif" id="imgmenu3" class="menu_title"

                                    onmouseover="this.className='menu_title2';" onclick="showsubmenu(3)" onmouseout="this.className='menu_title';"

                                    style="cursor: hand">

                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">

                                        <tr>

                                            <td width="18%">

                                                &nbsp;

                                            </td>

                                            <td id="parent_3" width="82%" class="STYLE1" onclick="setMenuColor('3', '')">

                                                ã2¨?¨¹¤¨ª

                                            </td>

                                        </tr>

                                    </table>

                                </td>

                            </tr>

                            <tr>

                                <td background="images/main_51.gif" id="submenu3" style="display: none">

                                    <div class="sec_menu">

                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">

                                            <tr>

                                                <td>

                                                    <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">

                                                        <tr>

                                                            <td width="16%" height="25">

                                                                <div align="center">

                                                                    <img src="images/left.gif" width="10" height="10" /></div>

                                                            </td>

                                                            <td width="84%" height="23">

                                                                <table width="95%" border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td height="20" style="cursor: hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "

                                                                            onmouseout="this.style.borderStyle='none'" onclick="setMenuColor('3', '9')">

                                                                            <span id="child_9" class="STYLE3">¨®°¦Ìã2¨?</span>

                                                                        </td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                        <tr>

                                                            <td height="23">

                                                                <div align="center">

                                                                    <img src="images/left.gif" width="10" height="10" /></div>

                                                            </td>

                                                            <td height="23">

                                                                <table width="95%" border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td height="20" style="cursor: hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "

                                                                            onmouseout="this.style.borderStyle='none'" onclick="setMenuColor('3', '10')">

                                                                            <span id="child_10" class="STYLE3">?¡éã2¨?¨¹¤¨ª</span>

                                                                        </td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                        <tr>

                                                            <td height="23">

                                                                <div align="center">

                                                                    <img src="images/left.gif" width="10" height="10" /></div>

                                                            </td>

                                                            <td height="23">

                                                                <table width="95%" border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td height="20" style="cursor: hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "

                                                                            onmouseout="this.style.borderStyle='none'" onclick="setMenuColor('3', '11')">

                                                                            <span id="child_11" class="STYLE3">ã2¨?¦¨®?</span>

                                                                        </td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                        <tr>

                                                            <td height="23">

                                                                <div align="center">

                                                                    <img src="images/left.gif" width="10" height="10" /></div>

                                                            </td>

                                                            <td height="23">

                                                                <table width="95%" border="0" cellspacing="0" cellpadding="0">

                                                                    <tr>

                                                                        <td height="20" style="cursor: hand" onmouseover="this.style.borderStyle='solid';this.style.borderWidth='1';borderColor='#7bc4d3'; "

                                                                            onmouseout="this.style.borderStyle='none'" onclick="setMenuColor('3', '12')">

                                                                            <span id="child_12" class="STYLE3">ª??ã2¨?</span>

                                                                        </td>

                                                                    </tr>

                                                                </table>

                                                            </td>

                                                        </tr>

                                                    </table>

                                                </td>

                                            </tr>

                                            <tr>

                                                <td height="5">

                                                    <img src="images/main_52.gif" width="151" height="5" />

                                                </td>

                                            </tr>

                                        </table>

                                    </div>

                                </td>

                            </tr>

                        </table>

                    </td>

                </tr>

            </table>

        </td>

    </tr>

    <tr>

        <td height="18" background="images/main_58.gif">

            <table width="100%" border="0" cellspacing="0" cellpadding="0">

                <tr>

                    <td height="18" valign="bottom">

                        <div align="center" class="STYLE3">

                            ã?À?êo2008V1.0</div>

                    </td>

                </tr>

            </table>

        </td>

    </tr>

</table>

<script>

 

    function showsubmenu(sid) {

        whichEl = eval("submenu" + sid);

        imgmenu = eval("imgmenu" + sid);

        if (whichEl.style.display == "none") {

            eval("submenu" + sid + ".style.display=/"/";");

            imgmenu.background = "images/main_47.gif";

        }

        else {

            eval("submenu" + sid + ".style.display=/"none/";");

            imgmenu.background = "images/main_48.gif";

        }

    }

 

    /// <summary>

    /// ¦¨¨??Ì£¤¢DÀ¨ª??¨°Á¨®?Ì?Á?¬??¦?

    /// </summary>

    /// <param name="p_id">°a¦¨¨?Ì???Ì?Id¨®Áo</param>

    /// <param name="c_id">°a¦¨¨?Ì?Á¨®?Ì?Id¨®Áo</param>

    /// <explain>¦Ì¡ÂêoÌ¡À?ºy¢DÀ¨ªDÌ?¦Ì?a?º¡Àê??¤?¤¡§¨¢º?ª?䨮Ì?¡¤¤?D¨¦¡¥¨¦®?®¨²¬?䨲Ì?¦Ì</explain>

    var parentId = ""; var childId = "";

    function setMenuColor(p_id,c_id) {

        var parentIdString = "parentId";    // ¡§°?¨²Ì?¡¤¤?D¨¦¨°Ì???ID¨¹?

        var childIdString = "childId";      // ¡§°?¨²Ì?¡¤¤?D¨¦¨°Ì?Á¨®?ID¨¹?

 

        var tagParentHead = "parent_";      // ¡§°?°3?D??IDÌ?¡ãÌ?Á?¤?ä?

        var tagChildHead = "child_";        // ¡§°?°3?DÁ¨®?IDÌ?¡ãÌ?Á?¤?ä?

 

        var parentFontColor = "Green";      // ¡§°?®?®¨²¦¨¨?£¤???Ì?Á¨®¬??¦?¦Ì

        var childFontColor = "#F69634";     // ¡§°?®?®¨²¦¨¨?£¤?Á¨®?Ì?Á¨®¬??¦?¦Ì

 

        if (p_id != "" || c_id != "") {

            if (childId == "" && parentId != "") {

                document.getElementById(tagParentHead + parentId).style.color = "";

            }

            else if (childId != "") {

                document.getElementById(tagChildHead + childId).style.color = "";

            }

        }

 

        parentId = p_id;

        childId = c_id;

 

        if (parentId == "" && childId == "") {

            msg = location.href.substring(location.href.lastIndexOf('?') + 1, location.href.length);

            var lsStrAr = msg.toString().split("&");

 

            for (var i = 0; i < lsStrAr.length; i++) {

                if (lsStrAr[i].lastIndexOf(parentIdString + "=") >= 0) {

                    parentId = lsStrAr[i].substring(parentIdString.length + 1, lsStrAr[i].length);

                }

                else if (lsStrAr[i].lastIndexOf(childIdString + "=") >= 0) {

                    childId = lsStrAr[i].substring(childIdString.length + 1, lsStrAr[i].length);

                }

            }

        }

       

        if (childId == "" && parentId != "") {

            document.getElementById(tagParentHead + parentId).style.color = parentFontColor;

        }

        else if (childId != "") {

            document.getElementById(tagChildHead + childId).style.color = childFontColor;

        }

 

    }

 

    setMenuColor("", "");

 

</script>

 

 

 

原创粉丝点击