<%@ Page Language="C#" AutoEventWireup="true" Inherits="System_Info_SetSpecialInfo, QianboCMS" EnableEventValidation="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>内容所属专题设置</title>
    <link href="../Css/layout.css" rel="Stylesheet" type="text/css" />
    <script type="text/javascript">
        var api = frameElement.api, W = api.opener, D = W.document;
    </script>
</head>

<body>
    <form id="form1" runat="server">
        <table cellpadding="0" cellspacing="1" class="border" align="center">
            <tr class="tdbg">
                <td>
                    <asp:ListBox ID="lsBoxSpeacil" runat="server" Height="234px" Rows="5" SelectionMode="Multiple" Width="335px"></asp:ListBox>
				</td>
            </tr>
            <tr class="tdbg">
                <td>
                    <asp:Button ID="btnSubmit" runat="server" CssClass="btn" OnClick="btnSubmit_Click" Text="设置所属专题" Width="119px" />
                    <input id="btnClear" type="button" value="清除选择" style="width: 56px;" class="btn" onclick="ClearSelected()" />
                    <input id="btnClose" type="button" value="关闭" style="width: 56px;" class="btn" onclick="CloseWindow()" />
				</td>
            </tr>
        </table>
    </form>
</body>
</html>
<script type="text/javascript">
    function CloseWindow() {
        /*
            window.opener = null;
            window.close();
            dialogArguments.location.reload();
        */
        api.close();
    }
    function ClearSelected() {
        document.getElementById("lsBoxSpeacil").selectedIndex = -1;
    }
</script>