/* 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/ */
if (document.getElementById) {
  document.write('<style type="text/css">.texter {display:none; border-left:white 20px solid; color:#404040; font: .9em verdana, arial, helvetica, sans-serif; margin-bottom: 12px;}</style>') }

  var divNum = new Array("a1","a2","a3","a4","a5","a6","a7","a8","a9","a10","a11");  // 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
 //var titleid;
    										  
function openClose(theID) {
  for(var i=0; i < divNum.length; i++) {
	
	titleid = divNum[i] + "1";
	
    if (divNum[i] == theID) {
      if (document.getElementById(divNum[i]).style.display == "block") { 
	  	document.getElementById(divNum[i]).style.display = "none";
		//document.getElementById(titleid).style.color = "#2E6383";
	  }
      else {
        document.getElementById(divNum[i]).style.display = "block";
		//document.getElementById(titleid).style.color = "#000000";
      }
  } else {
    document.getElementById(divNum[i]).style.display = "none";
	//document.getElementById(titleid).style.color = "#2E6383";
	 }
  }
}

