/* 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; font-family: Arial; font-size: 12px; font-weight: normal; color: #333333; vertical-align: top; line-height: 18px; margin-top: 12px; background-color: #f9f6ef; padding: 10px; }</style>') }

 var divNum = new Array("a1","a2","a3","a4","a5","a6");  // 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"; }
 }
}