
var marthomasabha = new Array(14);
marthomasabha[0] = 'Logo';
marthomasabha[1] = 'Ecumenical Relations';
marthomasabha[2] = 'Missionary Outreach';


marthomasabha[3] = 'Mission Help';
marthomasabha[4] = 'Bishops';
marthomasabha[5] = 'Other Organization';

marthomasabha[6] = 'Sunday Schools';
marthomasabha[7] = 'Evangelistic';
marthomasabha[8] = 'Sevika Sangham';


marthomasabha[9] = 'Yuvajana Sakhyam';
marthomasabha[10] = 'Students Conference';
marthomasabha[11] = 'D.S.M.C.';

marthomasabha[12] = 'Development Dept.';
marthomasabha[13] = 'Maramon Convention';


var links = new Array(14);
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('marthomasabhaText').innerText = '';
      try
      {
         tick1();
      }
      catch(e)
      {
         document.getElementById('marthomasabhaText').innerText = '';
      }
   }
}

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

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


