
var lookfor = new Array(21);
lookfor[0] = 'Administration';
lookfor[1] = 'Achens';
lookfor[2] = 'Sunday Schools';


lookfor[3] = 'Youth Fellowship';
lookfor[4] = 'Exiles for Him';
lookfor[5] = 'Yuvajana Sakhyam';

lookfor[6] = 'Sevika Sangham';
lookfor[7] = 'Evangelistic Assoc.';
lookfor[8] = 'Physicians Assoc.';


lookfor[9] = 'Publication Board';
lookfor[10] = 'Young Families';
lookfor[11] = 'Business People';

lookfor[12] = 'Messenger';
lookfor[13] = 'Misson Board';
lookfor[14] = 'Nurses Fellowship';

lookfor[15] = 'Educators';
lookfor[16] = 'Senior Citizens';
lookfor[17] = 'Council Members';

lookfor[18] = 'Directory';
lookfor[19] = 'History';
lookfor[20] = 'Contact Us';

var links = new Array(21);
links[0] = '';
links[1] = '';
links[2] = '';


var itemNumber1 = 0;
var cycle1 = 0;
window.onload = window_onload1;
function window_onload1()
{ 
   if(navigator.appName.indexOf('Microsoft') != -1)
   {
      document.getElementById('lookforText').innerText = '';
      try
      {
         tick1();
      }
      catch(e)
      {
         document.getElementById('lookforText').innerText = '';
      }
   }
}

function tick1()
{
   document.getElementById('lookforText').href = '';
   
   if(cycle1 == 0)
   {
      cycle1 = 1;
      document.getElementById('lookforText').innerText += ' ';
      setTimeout('tick1()', 100);
   }
   else
   {
      cycle1 = 0;
   
      document.getElementById('lookforText').innerText = document.getElementById('lookforText').innerText.substring(0, document.getElementById('lookforText').innerText.length - 1);
      document.getElementById('lookforText').innerText += lookfor[itemNumber1].charAt(document.getElementById('lookforText').innerText.length);
   
      if(document.getElementById('lookforText').innerText.length <lookfor[itemNumber1].toString().length)
         setTimeout('tick1()', 100);
      else
      {
         if(itemNumber1 + 1 < lookfor.length)
            itemNumber1++;
         else
            itemNumber1 = 0;
   
         setTimeout('resettick1er1()', 2000);
      }
   }
}

function resettick1er1()
{
   document.getElementById('lookforText').innerText = '';
   setTimeout('tick1()', 1000);
}

