/* 

1 - the Loader() function is called via the body element's onload event and ensures that all description are hidden as the page loads if the browser understands the DOM.

2 - The Toggle() function takes the following arguments :
  a) id: id name of the container element.
  b) tagname: element that contains the descriptions to be hidden.
  c) state: class name that (!important do not change).
  d) tglid - id name to be used by the show/hide toggle element (not required onload).

*/


function loader()
{
  if (document.getElementById)
  {
    hideall();
  }
}
function hideall()
{
  if (document.getElementById("faq"))
  {
	var dds = document.getElementById("faq").getElementsByTagName("dd");
	for (var i = 0; i < dds.length; i++)
	{
	   dds[i].className = "hide";
    }
  }
}
function show(id)
{
  if (document.getElementById)
  {
    hideall();
	var dd = document.getElementById(id)
	dd.className = "show";
   }
}