function Toggle(item)
{
   obj=document.getElementById(item);
   visible=(obj.style.display!="none");
   key=document.getElementById("x" + item);
   							/* This takes the HMTL link in the document that is being clicked on and assigns it to the variable, "htmlink". */
   htmlink=key.innerHTML
   							/* This statement determines the length of the htmlink variable string so that the next statement knows how long the string is. */
   x=htmlink.length
   							/* This statement takes a snapshot of all characters starting after the first character which should always be a plus or minus sign and then it assigns the new string value back to the_
   							variable htmlink. */
   htmlink=htmlink.substring(1,x);
  							/*alert("This is the obj value: "+htmlink); */
   if (visible)
	{
   		obj.style.display="none";
     			/* This statement puts a plus sign in front of the text string assigned to htmlink. */
	 	key.innerHTML="+"+htmlink;
	}
    else
	{
      obj.style.display="block";
   				/* This statement puts a minus sign in front of the text string assigned to htmlink. */
	  key.innerHTML="-"+htmlink;
	}
}


function Expand()

{
   divs=document.getElementsByTagName("DIV");
   for (i=0;i<divs.length;i++)
    {
	//if (divs[i].id.indexOf("_") >-1) continue;
   		divs[i].style.display="block";
		key=document.getElementById("x" + divs[i].id);
		htmlink=key.innerHTML
		x=htmlink.length
		htmlink=htmlink.substring(1,x);
		key.innerHTML="-"+htmlink;
	}
}
   
   
/*   
   
   obj=document.getElementsById(item);
   for (i=0;i<obj.length;i++) 
   
   {

	 if (obj[i].id.indexOf("_") >-1) continue;
     obj[i].style.display="block";
	 key=document.getElementById("x" + item);
   							// This takes the HMTL link in the document that is being clicked on and assigns it to the variable, "htmlink".
     htmlink=key.innerHTML
   							// This statement determines the length of the htmlink variable string so that the next statement knows how long the string is.
   	 x=htmlink.length
   							// This statement takes a snapshot of all characters starting after the first character which should always be a plus or minus sign and then it assigns the new string value back to the_
   							// variable htmlink. 
     htmlink=htmlink.substring(1,x);
  							//alert("This is the obj value: "+htmlink); 
     obj.style.display="block";
      						// This statement puts a minus sign in front of the text string assigned to htmlink. 
	  key.innerHTML="-"+htmlink;


//	 		alert ("This is the current DIV ID: " + divs[i].id); // This line is only here to help the developer understand what the DIV ID names are.
//	alert("This part works and this is the value of i :" + i + "DIVS.Length = " + divs.length); // This line is only for troubleshooting purposes

//     key="x" + divs[i].id;
//     document.images[key].src="minus.gif";

   }

}


/*
function Collapse(item)
{
   obj=document.getElementsById(item);
   visible=(obj.style.display!="none");
   for (i=0;obj[i]<obj.length;i++)
   {
   		key=obj[i].id("x" + item);
   							// This takes the HMTL link in the document that is being clicked on and assigns it to the variable, "htmlink". 
   		htmlink=key.innerHTML
   							// This statement determines the length of the htmlink variable string so that the next statement knows how long the string is. 
   		x=htmlink.length
   							// This statement takes a snapshot of all characters starting after the first character which should always be a plus or minus sign and then it assigns the new string value back to the_
   							// variable htmlink.
   		htmlink=htmlink.substring(1,x);
  							// alert("This is the obj value: "+htmlink); 
   		if (visible)
			{
   				obj.style.display="none";
     					// This statement puts a plus sign in front of the text string assigned to htmlink. 
	 			key.innerHTML="+"+htmlink;
			}
    		else
			{
      		obj.style.display="block";
   						// This statement puts a minus sign in front of the text string assigned to htmlink. 
	  		key.innerHTML="-"+htmlink;
	}
}

*/




/*


function Collapse(item) {
   divs=document.getElementsByTagName("DIV");
   for (i=0;i<divs.length;i++)
   {
		if (divs[i].id.indexOf("_") >-1) continue;
   			key=divs[i].innerHTML
      							// This takes the HMTL link in the document that is being clicked on and assigns it to the variable, "htmlink". 
   			htmlink=key.innerHTML
   							// This statement determines the length of the htmlink variable string so that the next statement knows how long the string is. 
   			x=htmlink.length
   							// This statement takes a snapshot of all characters starting after the first character which should always be a plus or minus sign and then it assigns the new string value back to the_
   							variable htmlink.
   			htmlink=htmlink.substring(1,x);
  							// alert("This is the obj value: "+htmlink);
			key.innerHTML="+"+htmlink
     		divs[i].style.display="none";
   }
}

*/
