function addInfoEvent(func) {
  if (!document.getElementById | !document.getElementsByTagName) return
  var oldonload=window.onload
  if (typeof window.onload != 'function') { window.onload=func }
  else {
    window.onload=function() { oldonload(); func() }
  }
}


// ------------------------ info clicked therefore show info ----------------------------- //
function showInfo(id){
  if (!document.getElementsByTagName) return
  if (document.getElementById(id).style.display=='block'){
    document.getElementById(id).style.display='none'
  }
  else{
    document.getElementById(id).style.display='block'
  }
  //  focus is moved by the href of the link to the start of the info
}
// ----------------------------------------------------------------------------- //


// ----------------------------- hide info --------------------------------- //
function hideInfo(id){
  if (document.getElementById) {document.getElementById(id).style.display='none'}
}
// ----------------------------------------------------------------------------- //



// Collapsing the info DIV's
function initCollapse(){

  if (!document.getElementsByTagName) return


// JavaScript is available so hide the help divs
hideInfo('info_0')
hideInfo('info_1')
hideInfo('info_2')
hideInfo('info_3')
hideInfo('info_4')

}