// Common

			
// FAQ list.
	
var lastSel = "";	
// Number of FAQ questions //
var numFaqs = 27;	
// Expands out the selected FAQ item, and hides the others. //
function expand(sel)
{
  // If the item is clicked on again, clear the selection to hide it. //
  if (sel == lastSel) {
	sel = "";
  }	
  // For each id name in the FAQs list... //
  for (var i=1; i<=numFaqs; i++) {
	var id  = i;
	var li  = document.getElementById("li"+id);
	var div = document.getElementById("div"+id);	
	if (!id) continue;	
	// Change the class of the li and div elements to display or hide each: //
	if (id == sel) {
	  li.className  = "selected";
	  div.className = "openItem";
	} else {
	  li.className  = "";
	  div.className = "hide";
	}
  }	
  // Return false to prevent browser from trying to follow links. //
  lastSel = sel;
  return false;
}
// Fix for Internet Explorer DOM incompatibility: //
if ((!document.getElementById) && (document.all)) {
  document.getElementId = function(id)
  {
	return document.all[id];
  }
}