<!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" xml:lang="en" lang="en" id="page_no_referer">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
    <title>עבור לדף המבוקש</title>
  	<style type="text/css">
      a {display:none;}
  	</style>
  </head>
  <body style='text-align: center;' class='limit_no_referer'>
    <a id='redirect_to_link' href="javascript:window.location.reload(true)">עבור לדף המבוקש</a>
    <script type='text/javascript'>
      function goto_link() {
        window.location.reload(true);
      }
      // Convert to 32bit integer
      function stringToHash(string) {              
        var hash = 0;
        if (string.length == 0) return hash;
          for (i = 0; i < string.length; i++) {
              char = string.charCodeAt(i);
              hash = ((hash << 5) - hash) + char;
              hash = hash & hash;
          }
          return hash;
        }
// auto redirect if these stores:
      var current_key = stringToHash(window.location.href);
      if (document.referrer.length == 0 && localStorage.getItem("checkedEmptyReferrer" + current_key) != "true") {
        localStorage.setItem('checkedEmptyReferrer' + current_key, "true");
        window.onload = goto_link;
      }
      else {
        localStorage.setItem("checkedEmptyReferrer" + current_key, "false");
        var a_link = document.getElementById('redirect_to_link');
        a_link.setAttribute("style", "display:block;");
      }
   </script>
  </body>
</html>