function ajaxHelper(functionName, which_inputs, which_div) {
  alert ('Function Name: '+functionName + 'which_div: '+which_div);
  var xmlHttp; // Firefox, Opera 8.0+, Safari, SeaMonkey
  try {
    xmlHttp=new XMLHttpRequest();
  }
  catch (e) { // Internet Explorer
    try {
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
    catch (e) {
      try {
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
      catch (e) {
        alert("Sorry, your browser does not support AJAX.");
        return false;
      }
    }
  }	
  xmlHttp.onreadystatechange=function() {
    //The request is complete == state 4
    if (xmlHttp.readyState==4) {
      var response=xmlHttp.responseText;
      //Send reponse to _ajax hook of passed function name
			alert (response);
			eval (functionName + '_ajax'+ '(\'' + response + '\',\'' + which_inputs + '\',\'' + which_div+ '\' )');
    }
  }
  //Get request string from _setup hook of passed function name
  //if (additionalArgs !== undefined && additionalArgs.length > 0) {
    var requestString = eval(functionName+"_init"+'("'+which_inputs+'","'+which_div+'")');
  //}
  //else {
    //var requestString = eval(functionName+"_init" + '()');
  //} 
 
  if (requestString) {
    xmlHttp.open("GET", requestString, true);
    xmlHttp.send(null);
  }
}

 function doClear(theText) {
     if (theText.value == theText.defaultValue) {
         theText.value = ""
     }
 }
