// JavaScript Document
var counter = 0;
var comCount = 7;
var dyk = new Array(comCount);

dyk[0] = "The Society was formed in 1837 by Mr John Hunt, the Cathedral Organist, from the Cathedral choir plus the addition of adult male singers, who were not members of the Cathedral choir."
dyk[1] = "In 1853, a programme notice read, \"It is requested that the audience will abstain from applause or censure.\""
dyk[2] = "In the early 1880's, Edward Elgar played violin in the orchestra for Hereford Choral Society."
dyk[3] = "During his time at Plas Gwyn, not infrequently Elgar used to slip in during the Choral Society's practices."
dyk[4] = "In 1901, the Society had 155 members, but more tenors and basses were required to, \"balance properly the sopranos and altos&hellip;\" (not much changes - would you like to <a href=\"membership.html\">sing with us</a>?)."
dyk[5] = "Dr H Watkins Shaw played the continuo in the Society's performance of Handel's Messiah in March 1950 - eight years prior to editing his now definitive edition of the oratorio."
dyk[6] = "December 12 1981, since known as \"The Freezing Messiah\", outside temperatures were -13&deg;C and only -3&deg;C inside the Cathedral!"


function displayDYK() {
  if(counter > parseFloat(comCount-1))
   counter = 0;
		document.getElementById('dykDIV').innerHTML="<span class=\"bluetext\">["+parseInt(counter+1)+"]</span> "+dyk[counter]
  counter++;
}

function showMenu() {
document.getElementById('menu1').className="btmborder"
document.getElementById('subMenu1').style.visibility='visible'
}

function showMenu2() {
document.getElementById('menu2').className="btmborder"
document.getElementById('subMenu2').style.visibility='visible'
}

function hideMenu() {
document.getElementById('menu1').className=""
document.getElementById('subMenu1').style.visibility='hidden'
document.getElementById('menu2').className=""
document.getElementById('subMenu2').style.visibility='hidden'
}