/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Sandeep Gangadharan :: http://www.sivamdesign.com/scripts/
Licensed under: U.S. Copyright */

 if (document.getElementById) {
  document.write('<style type="text/css">.texter {display:none; border-left:white 10px solid; color:#000000; font: 12px Tahoma, Verdana, Arial; margin-bottom: 12px;}</style>') }

  var divNum = new Array("a1","a2","a3","a4","a5","a6","a7","a8");  // at the left you should add a1, a2 etc. for each header you wish to include
                                          // so if you want 4 headers you should add a1, a2, a3, a4 in the format shown
                                          // enclosed in double quotes
function openClose(theID) {
  for(var i=0; i < divNum.length; i++) {
    if (divNum[i] == theID) {
      if (document.getElementById(divNum[i]).style.display == "block") { document.getElementById(divNum[i]).style.display = "none" }
      else {
        document.getElementById(divNum[i]).style.display = "block"
      }
  } else {
    document.getElementById(divNum[i]).style.display = "none"; }
  }
}
