/* CREATES HTTP OBJECT */
function getHTTPObject() { var xmlhttp; /*@cc_on @if (@_jscript_version >= 5) try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (E) { xmlhttp = false; } } @else xmlhttp = false; @end @*/  if (!xmlhttp && typeof XMLHttpRequest != 'undefined') { try { xmlhttp = new XMLHttpRequest(); } catch (e) { xmlhttp = false; } } return xmlhttp; } var http = getHTTPObject(); // We create the HTTP Object 

var undefMatch;

function readAJAX(theData,readURL,theResponse)
{
	http.open("GET", readURL+theData, true);
	http.onreadystatechange = theResponse;
	http.send(null);
}
/***********************************************************************/

// the onClick functions
function getVerificationImage(theValue)
{
	if (document.getElementById("formImage"))
	{
		readAJAX("",formImageURL,verificationImageResult);
	}
}
// the functions that deal witht he results that come back from the AJAX get

function verificationImageResult()
{
	if (http.readyState == 4)
	{
		document.getElementById("formImage").innerHTML  = http.responseText;
	}
}
