<%@ page language="C#" autoeventwireup="true" inherits="admin_iframe_pic, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!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 id="CssName" rel="stylesheet" type="text/css" runat="server" />    
    <script type="text/javascript">
        var api = frameElement.api, W = api.opener;
        function GetImage(name) {
            W.DianCMS_$("txtImages").value = name;
            frameElement.api.close(); 
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:DataList ID="DataList1" runat="server" RepeatColumns="10" CellPadding="4" Width="100%">
        <ItemTemplate>
            <img src='../<%#Eval("Name") %>' style="cursor:pointer" onclick="GetImage('<%#Eval("Name") %>')" />
        </ItemTemplate>
    </asp:DataList>
    </form>
</body>
</html>
