var currSub = "";

var diocesanPrayer = "Prayer of the Diocese of Clifton:\n\n\n";
diocesanPrayer += "God our Father\nopen the horizons\nof our minds and hearts\nso that we can see\n";
diocesanPrayer += "what hope your call holds for us.\n\nPour out the overflowing gifts\nof your Spirit\n";
diocesanPrayer += "so that we, your Church,\nmay become a people\nof hope for our world.\n\n";
diocesanPrayer += "We ask you this,\nthrough Jesus Christ Our Lord,\nwho lives and reigns with you\n";
diocesanPrayer += "in the unity of the Holy Spirit,\nGod for ever and ever.\nAmen.\n\n";
diocesanPrayer += "OUR LADY: Woman of Hope, pray for us\n\n"
diocesanPrayer += "ST PETER: Rock of Hope, pray for us\n\n"
diocesanPrayer += "ST PAUL: Apostle of Hope, pray for us"

function subMenu (menuId)
{
  if (currSub != "")
  {
    document.getElementById(currSub).style.visibility = "hidden";
    
  }
  document.getElementById(menuId).style.visibility = "visible";
  currSub = menuId;
  
}

function showChurch (churchId)
{
  subMenu("parishMenu");
  document.getElementById(churchId).className = "highlighted";
}

function hideChurch (churchId)
{
  document.getElementById(churchId).className = "subMenuItem";
}

function randomLink()
{
  alert (diocesanPrayer);
}

