<!-- $Id: trl.txt,v 7.00 2015/02/12 22:06:44 mr Exp $ -->
%if;(not cancel_links and evar.m != "MOD_DATA_OK" and evar.m != "DEL_IND_OK" and evar.m != "DEL_FAM_OK")
  %if;(evar.em = "R" and (evar.et = "A" or evar.et = "M") and evar.select = "")
    <div class="menu">
      <span>
        <a href="%prefix;em=R;et=%evar.et;;i=%evar.ei;;ei=%evar.i;;image=%evar.image;;spouse=%evar.spouse;">[*relationship] B &harr; A</a>
        %if;(evar.et = "A")
          <a href="%prefix;em=R;et=M;i=%evar.i;;ei=%evar.ei;;image=%evar.image;;spouse=%evar.spouse;"
          >[*relationship by marriage]</a>
        %else;
          <a href="%prefix;em=R;et=A;i=%evar.i;;ei=%evar.ei;;image=%evar.image;;spouse=%evar.spouse;"
          >[*relationship link/relationship links]1</a>
        %end;
      </span>
    </div>
  %end;
  <div id="trl">
    %if;(evar.digest = "")
      <form method="get" action="%action;" onsubmit="return oS3();">
         %hidden;
         <input id="mS" type="hidden" name="m" value="S" %/>
         <input type="search" id="mSn" name="n" accesskey="W" size="40" maxlength="200"
           title="* = [starting with]%nl;Sosa* = Sosa x 2%nl;Sosa/ = Sosa / 2"
           placeholder="[surname/surnames]0*, Sosa*/, [public name], [alias]"
           onkeypress="javascript:return computeSosa(event,'mSn')"
         %/><input type="search" id="mSp" name="p" size="40" maxlength="200"
           placeholder="[first name/first names]0*, N° index"
           title="* = [starting with]"
         %/><input type="submit" value="[*search/case sensitive]0 (W)"%/>
         %if;(bvar.hide_advanced_request != "yes")
           <span class="button nobr"><a href="%prefix;m=H;v=advanced">[*advanced request]</a></span>
         %end;
      </form>
      <div id="templ">
        <a href="%prefix_no_templ;templ=;%suffix;">default</a>
        <a href="%prefix_no_templ;templ=templa;%suffix;">templa</a>
        <a href="%prefix_no_templ;templ=templb;%suffix;">templb</a>
        <a href="%prefix_no_templ;templ=templc;%suffix;">templc</a>
        <a href="%prefix_no_templ;templ=templd;%suffix;">templd</a>
        <a href="%prefix_no_templ;templ=templf;%suffix;">templf</a>
        <a href="%prefix_no_templ;templ=templh;%suffix;">templh</a>
        <a href="%prefix_no_templ;templ=templm;%suffix;">templm</a>
        %if;(wizard or bvar.wizard_passwd = "")
          <strong><a href="%prefix;m=H;v=doc_templm">doc_templm</a></strong>
        %end;
      </div>
    %end;
  </div>
  %if;(wizard)
    <script type="text/javascript">
    <!--
    function reloadClose()
    {
      window.opener.location.reload();
      parent.close();
    }
    var htmlTitle = document.title;
    if
    (
      htmlTitle == "[*person modified]" ||
      htmlTitle == "[*family modified]" ||
      htmlTitle == "[*person added]" ||
      htmlTitle == "[*family added]"
    )
    {
      if (window.opener && !window.opener.closed) 
      {
        document.getElementById("trl").innerHTML = "<p><a id=\"reloadclose\" href=\"javascript:reloadClose()\">[X]</a></p>";
        document.getElementById("reloadclose").focus();
      }
    }
    -->
    </script>
  %end;
%end;%nl;