function ajaxFunction(divID)
{
	var xmlHttp;
	try
  {
  	// Firefox, Opera 8.0+, Safari
  	xmlHttp=new XMLHttpRequest();
  }
	catch (e)
  {
  	// Internet Explorer
  	try
    {
    	xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  	catch (e)
    {
    	try
      {
      	xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    	catch (e)
      {
      	alert("Your browser does not support AJAX!");
      	return false;
      }
    }
  }
  xmlHttp.onreadystatechange=function()
  {
  	if(xmlHttp.readyState==4)
    {
			document.getElementById("from_faq_gen").innerHTML = xmlHttp.responseText;
			document.getElementById(divID).style.display = "block";
			scrollToQuestion(divID)
    }
  }
  xmlHttp.open("GET","/faq_gen.html",true);
  xmlHttp.send(null);
}




function scrollToQuestion(divID) {

	var question
	here = window.location.href
	findScroll = here.split("#")
	if (findScroll.length > 1)
		question = findScroll[1]
	
	var allLinks = document.getElementById(divID).getElementsByTagName('a');
	var destinationLink = null;
  for (var i=0;i<allLinks.length;i++) {
    var lnk = allLinks[i];
    if (lnk.name && (lnk.name == question)) {
      destinationLink = lnk;
      break;
    }
  }
	
	var theElement = destinationLink
	var selectedPosX = 0;
  var selectedPosY = 0;
	
	while(theElement != null){
    selectedPosX += theElement.offsetLeft;
    selectedPosY += theElement.offsetTop;
    theElement = theElement.offsetParent;
  }
                        		      
 window.scrollTo(selectedPosX,selectedPosY);

}