<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Support_Utility_ImageViewer, App_Web_tysspfsh" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="IncidentLogUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <cc1:ModalPopupExtender ID="ImageExtender" runat="server" TargetControlID="HidenButton"
                PopupControlID="DetailPanel1" BackgroundCssClass="modalBackground" DropShadow="false" />
            <asp:LinkButton runat="server" ID="HidenButton" />
            <asp:Panel ID="IshiharaChartPopUpPanel" runat="server" Width="600px" BorderWidth="0"
                CssClass="confirmationPanel">
                <asp:Panel ID="DetailPanel1" runat="server" Width="600px" meta:resourcekey="DetailPanelResource1">
                    <div class="himssuHeaderconfirmWireBox">
                        <div class="himsBoxHeader">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="fLeft headerText">
                                    Image Viewer
                                </div>
                                <div class="windowcloseButton">
                                    <asp:ImageButton runat="server" ID="CloseButton" ToolTip="Close" ImageUrl="~/Images/closePopup.gif" />
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent">
                            <div class="contentHolder">
                                <asp:Image ID="ImageViewer" runat="server" Visible="false" Width="580" Height="390" />
                                <div class="spacer5">
                                    <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" />
                                </div>
                                <asp:Button runat="server" ID="CancelButton" Text="Cancel" OnClick="CancelButton_Click" />
                            </div>
                        </div>
                    </div>
                </asp:Panel>
            </asp:Panel>
            <div id="divContentPage">
                <div style="width: 100%">
                    <table width="100%" cellpadding="0" cellspacing="0">
                    </table>
                    <div class="spacer5">
                        <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                    </div>
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0"
                        cellspacing="0">
                        <tr>
                            <td valign="top">
                                <div class="himssuHeader2WireBox">
                                    <div class="contentHolder" style="padding-left: 0px; padding-top: 0px; padding-right: 0px">
                                        <div class="himssuHeader1WireBox">
                                            <div class="himsBoxHeader">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                        <asp:Label ID="Label1" runat="server" Text="Image Viewer "></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent">
                                                <asp:Panel ID="DetailPanel" runat="Server">
                                                    <div class="contentHolder">
                                                        <div class="cBoth">
                                                        </div>
                                                        <div class="outerBox pTop5">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="SearchNameLabel" runat="server" Text="Name"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="SearchNameTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                    SkinID="CustomWidthTextBox" Width="150px" onmouseenter="showHideTooltip()" MaxLength="50"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="SearchImageTypeLabel" runat="server" Text="Image Type"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList ID="SearchImageTypeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" Width="154px">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="SearchImageTagLabel" runat="server" Text="Image Tag"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="SearchImageTagTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                                    SkinID="CustomWidthTextBox" Width="150px" onmouseenter="showHideTooltip()" MaxLength="100"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="cBoth">
                                                        </div>
                                                        <div class="alignCenter pTop5">
                                                            <asp:Button ID="SearchButton" Text="Search" runat="Server" OnClick="SearchButton_Click" SkinID="0" CssClass="PrimaryButton" />
                                                            <asp:Button ID="ResetButton" runat="server" Text="Clear" OnClick="ResetButton_Click" />
                                                        </div>
                                                        <div class="cBoth">
                                                        </div>
                                                        <div class="himssuHeader1WireBox">
                                                            <div class="himsBoxHeader" id="Div1" runat="server" visible="True">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="gridHeaderText fLeft">
                                                                        <asp:Label ID="Label2" Text="Custom" runat="server" Font-Bold="True" ForeColor="White" />
                                                                    </div>
                                                                    <div class="fRight">
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="himsBoxContent">
                                                                <div id="EmpGridViewMessageDiv" class="himsBoxContentMsg" runat="server" visible="false">
                                                                </div>
                                                                <asp:DataList ID="dtlist" runat="server" RepeatColumns="4" CellPadding="5">
                                                                    <ItemTemplate>
                                                                        <asp:Panel ID="Panel1" runat="server" Height="100px" Width="100px" CssClass="panel">
                                                                            <asp:ImageButton Width="100" Height="100" ID="ImageButton1" ImageUrl='<%# Bind("Path") %>'
                                                                                runat="server" OnClick="ImageButton1_Click" Style="margin-right: 20px;" />
                                                                            <br />
                                                                        </asp:Panel>
                                                                        <asp:HyperLink ID="HyperLink1" Text='<%# Bind("Name") %>' runat="server" />
                                                                    </ItemTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" VerticalAlign="Bottom" />
                                                                </asp:DataList>
                                                            </div>
                                                        </div>
                                                    </div>
                                            </div>
                                        </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                                <div class="spacer">
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../../JavaScript/rjs/encrypt/view-photo-encrypt" src="../../../JavaScript/rjs/require.js"></script>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>