<%@ page language="C#" autoeventwireup="true" inherits="License_Activation, App_Web_22v0mpnm" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="TA_uc_Header.ascx" TagName="TA_uc_Header" TagPrefix="uc1" %>
<%@ Register Src="TA_uc_FooterForgotPwd.ascx" TagName="TA_uc_Footer" TagPrefix="uc3" %>
<!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>License Activation</title>
    <link rel="stylesheet" href="css/stylesheet.css" />
    <style type="text/css">
    
.ModalPopup
{
	position: absolute !important;
	background-color: #7CA0DC;
	top: 0;
	bottom: 0px;
	left: 0px;
	right: 0px;
	padding: 0;
	filter: alpha(opacity=75);
	opacity: 0.5;
	z-index: 999999998;
}

.LeaveInsideProgressBar
{
	position: absolute !important;
	z-index: 999999999;
	background-color: #eaeaea;
	border: solid 1px #105da4;
	top: 310px;
	margin-left: 450px;
}
    </style>
</head>
<body oncontextmenu="return false" style="top: 0px; left: 0px; margin-top: 0px; margin-left: 0px;
    margin-right: 0px; margin-bottom: 0px;">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="scLic" runat="server" AsyncPostBackTimeout="300">
        </asp:ScriptManager>
        <div style="top: 0px; left: 0px" align="center">
            <table border="0" cellspacing="0" cellpadding="0" align="center" width="1003" style="height: 100%">
                <tr>
                    <td>
                        <uc1:TA_uc_Header ID="TA_uc_Header1" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td height="490" bgcolor="#eaeaea" class="bdBackRound">
                        <table border="0" cellspacing="0" cellpadding="0" align="center" width="300">
                            <tr>
                                <td valign="top" style="height: 15px">
                                    <img src="Images/corner1.gif" width="15" height="15" /></td>
                                <td valign="top" background="Images/sideline.gif" bgcolor="#EAEAEA" style="height: 15px">
                                    <img src="Images/spacer.gif" width="1" height="1" /></td>
                                <td valign="top" style="height: 15px">
                                    <img src="Images/corner2.gif" width="15" height="15" /></td>
                            </tr>
                            <tr>
                                <td background="Images/line.gif">
                                </td>
                                <td valign="top" bgcolor="#eaeaea">
                                    <table border="0" align="center" cellpadding="0" cellspacing="1" width="500">
                                        <tr>
                                            <td valign="top" colspan="3" align="left" class="ModuleTitle">
                                                <asp:Label ID="lbl_Header" runat="server" Text="License Activation"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td align="center" valign="bottom" colspan="3" class="td">
                                                <table width="20%" border="0" align="center" cellpadding="5" cellspacing="0">
                                                    <tr>
                                                        <td align="center" valign="middle" style="width: 158px" runat="server" id="trActive">
                                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                                                <ContentTemplate>
                                                                    <asp:Panel ID="pnlActiveProgress" runat="server" Style="display: none;">
                                                                        <asp:Panel ID="pnlActiveLoading" runat="server" HorizontalAlign="center">
                                                                            <div class="InsideProgressBar">
                                                                                <div class="row" style="margin-top: 10px">
                                                                                    <img src="../dist/img/logo-Progress.png" />
                                                                                </div>
                                                                                <div class="row" style="min-width: 280px">
                                                                                    <img src="../dist/img/default.gif" style="width: 100px" />
                                                                                </div>
                                                                                <div class="row" style="margin-bottom: 10px">
                                                                                    <asp:Label ID="Label1" runat="server" ForeColor="black" Style="text-align: center"
                                                                                        Font-Bold="true" Font-Size="12px" Font-Italic="true" Font-Family="Arial"></asp:Label>
                                                                                </div>
                                                                                <div class="clear clearfix">
                                                                                </div>
                                                                            </div>
                                                                        </asp:Panel>
                                                                    </asp:Panel>
                                                                    <asp:HiddenField ID="hdnActiveProgress" runat="server" />
                                                                    <cc1:ModalPopupExtender ID="popupActiveProgress" runat="server" TargetControlID="hdnActiveProgress"
                                                                        BackgroundCssClass="ModalPopup" PopupControlID="pnlActiveProgress" BehaviorID="popupActiveProgress">
                                                                    </cc1:ModalPopupExtender>
                                                                </ContentTemplate>
                                                                <Triggers>
                                                                    <asp:PostBackTrigger ControlID="btnActivation" />
                                                                </Triggers>
                                                            </asp:UpdatePanel>
                                                            <asp:Button ID="btnActivation" OnClick="btnActivation_Click" CssClass="but" runat="server"
                                                                Text="Activate Now" Width="110px" OnClientClick="javascript:if(confirm('Are you sure internet connection is available and proceed?')) $find('popupProgress').show();else return false;" />
                                                        </td>
                                                        <td align="center" valign="middle" style="width: 158px" runat="server" id="trReActive">
                                                            <asp:UpdatePanel ID="upLeave" runat="server">
                                                                <ContentTemplate>
                                                                    <asp:Panel ID="pnlProgress" runat="server" Style="display: none;">
                                                                        <asp:Panel ID="pnlLoading" runat="server" HorizontalAlign="center">
                                                                            <div class="InsideProgressBar">
                                                                                <div class="row" style="margin-top: 10px">
                                                                                    <img src="../dist/img/logo-Progress.png" />
                                                                                </div>
                                                                                <div class="row" style="min-width: 280px">
                                                                                    <img src="../dist/img/default.gif" style="width: 100px" />
                                                                                </div>
                                                                                <div class="row" style="margin-bottom: 10px">
                                                                                    <asp:Label ID="Label3" runat="server" ForeColor="black" Style="text-align: center"
                                                                                        Text="Please Wait..." Font-Bold="true" Font-Size="12px" Font-Italic="true" Font-Family="Arial"></asp:Label>
                                                                                </div>
                                                                                <div class="clear clearfix">
                                                                                </div>
                                                                            </div>
                                                                        </asp:Panel>
                                                                    </asp:Panel>
                                                                    <asp:HiddenField ID="hdnProgress" runat="server" />
                                                                    <cc1:ModalPopupExtender ID="popupProgress" runat="server" TargetControlID="hdnProgress"
                                                                        BackgroundCssClass="ModalPopup" PopupControlID="pnlProgress" BehaviorID="popupProgress">
                                                                    </cc1:ModalPopupExtender>
                                                                </ContentTemplate>
                                                                <Triggers>
                                                                    <asp:PostBackTrigger ControlID="btnReactivation" />
                                                                </Triggers>
                                                            </asp:UpdatePanel>
                                                            <asp:Button ID="btnReactivation" OnClick="btnReactivation_Click" CssClass="but" runat="server"
                                                                Text="Reactivation Now" Width="125px" OnClientClick="javascript:if(confirm('Are you sure internet connection is available and proceed?')) $find('popupProgress').show();else return false;" />
                                                        </td>
                                                        <td align="center" valign="middle" style="width: 158px">
                                                            <asp:Button ID="btnback" CssClass="but" runat="server" Text="Back" Width="70px" OnClick="btnback_Click" />
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td background="Images/line1.gif">
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td valign="bottom">
                                    <img src="Images/corner3.gif" width="15" height="16" /></td>
                                <td valign="bottom" background="Images/sideline1.gif" bgcolor="#EAEAEA">
                                    <img src="Images/spacer.gif" width="1" height="1" /></td>
                                <td valign="bottom">
                                    <img src="Images/corner4.gif" width="15" height="16" /></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td align="center" class="FooterTd">
                        <uc3:TA_uc_Footer ID="TA_uc_Footer1" runat="server" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
