var tmpid,am,let,count;
  function tree(letter, amount)
   {
    count=1;
    am=amount;
    let=letter;
    show2();
   }
  function show2()
   {
    if(count<am)
     {
      tmpid = '' + let + count;
      setTimeout('show(tmpid, 1)', 100);
      count++;
     }
      else if(count==am)
       {
        tmpid = '' + let + count;
        setTimeout('show(tmpid, 0)', 100);
       }
   }
  function show(id, flag)
   {
    var el = document.getElementById(id);
    el.style.display = (el.style.display == 'block')?'none':'block';
    if(flag!=0) show2();
   }
   
/* <![CDATA[ */
   function externalLinks() {
    links = document.getElementsByTagName("a");
    for (i=0; i<links.length; i++) {
      link = links[i];
      if (link.getAttribute("href") && link.getAttribute("rel") == "external")
      link.target = "_blank";
    }
   }
   window.onload = externalLinks;
  /* ]]> */ 
