var xmlHttp
var xmlHttp1

function showuserAvailability(str)
{ 
	xmlHttp1=GetXmlHttpObject()
		document.getElementById("txtHintnew").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp1==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_postcode_result.php"
		url=url+"?q="+str
		url=url+"&sid="+Math.random()
		xmlHttp1.onreadystatechange=stateChanged1
		xmlHttp1.open("GET",url,true)
		xmlHttp1.send(null)
}

function stateChanged1() 
{ 
if (xmlHttp1.readyState==4 || xmlHttp1.readyState=="complete")
{ 
document.getElementById("txtHintnew").innerHTML=xmlHttp1.responseText 
} 
} 


function GetXmlHttpObject()
{ 
var objXMLHttp=null
if (window.XMLHttpRequest)
{
objXMLHttp=new XMLHttpRequest()
}
else if (window.ActiveXObject)
{
objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
}
return objXMLHttp
}


function showemailAvailability(str)
{ 
	xmlHttp2=GetXmlHttpObject()
		document.getElementById("txtHintemail").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp2==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_user_avail_result.php"
		url=url+"?q="+str
		url=url+"&sid="+Math.random()
		xmlHttp2.onreadystatechange=stateChanged2
		xmlHttp2.open("GET",url,true)
		xmlHttp2.send(null)
}

function stateChanged2() 
{ 
if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
{ 
document.getElementById("txtHintemail").innerHTML=xmlHttp2.responseText 
} 
} 


function GetXmlHttpObject()
{ 
var objXMLHttp=null
if (window.XMLHttpRequest)
{
objXMLHttp=new XMLHttpRequest()
}
else if (window.ActiveXObject)
{
objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
}
return objXMLHttp
}

//forgetpassword

function forgetpass()
{ 
var str=document.reg_form.email_f.value;
	xmlHttp3=GetXmlHttpObject()
		document.getElementById("addcomments").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp3==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_forget_result.php"
		url=url+"?q="+str
		url=url+"&sid="+Math.random()
		xmlHttp3.onreadystatechange=stateChanged3
		xmlHttp3.open("GET",url,true)
		xmlHttp3.send(null)
}

function stateChanged3() 
{ 
if (xmlHttp3.readyState==4 || xmlHttp3.readyState=="complete")
{ 
document.getElementById("addcomments").innerHTML=xmlHttp3.responseText 
} 
} 


function GetXmlHttpObject()
{ 
var objXMLHttp=null
if (window.XMLHttpRequest)
{
objXMLHttp=new XMLHttpRequest()
}
else if (window.ActiveXObject)
{
objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
}
return objXMLHttp
}
///reg_vali////

function checkfname(str)
{ 
	xmlHttp1=GetXmlHttpObject()
		document.getElementById("txtfname").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp1==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_reg_validation1.php"
		url=url+"?q="+str
		url=url+"&sid="+Math.random()
		xmlHttp1.onreadystatechange=stateChanged10
		xmlHttp1.open("GET",url,true)
		xmlHttp1.send(null)
}

function stateChanged10() 
{ 
if (xmlHttp1.readyState==4 || xmlHttp1.readyState=="complete")
{ 
document.getElementById("txtfname").innerHTML=xmlHttp1.responseText 
} 
} 


function GetXmlHttpObject()
{ 
var objXMLHttp=null
if (window.XMLHttpRequest)
{
objXMLHttp=new XMLHttpRequest()
}
else if (window.ActiveXObject)
{
objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
}
return objXMLHttp
}


function showemailAvailability3(str,field)
{ 
	xmlHttp2=GetXmlHttpObject()
		document.getElementById("txtHintemail3").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp2==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_reg_validation1.php"
		url=url+"?q="+str+"&fld="+field
		
		url=url+"&sid="+Math.random()
		xmlHttp2.onreadystatechange=stateChanged3
		xmlHttp2.open("GET",url,true)
		xmlHttp2.send(null)
}

function stateChanged3() 
{ 

if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
{ 
document.getElementById("txtHintemail3").innerHTML=xmlHttp2.responseText 
} 

} 


function GetXmlHttpObject()
{ 
var objXMLHttp=null
if (window.XMLHttpRequest)
{
objXMLHttp=new XMLHttpRequest()
}
else if (window.ActiveXObject)
{
objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
}
return objXMLHttp
}

function showemailAvailability4(str,field)
{ 
	xmlHttp2=GetXmlHttpObject()
		document.getElementById("txtHintemail4").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp2==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_reg_validation1.php"
		url=url+"?q="+str+"&fld="+field
		//alert(field);
		url=url+"&sid="+Math.random()
		xmlHttp2.onreadystatechange=stateChanged4
		xmlHttp2.open("GET",url,true)
		xmlHttp2.send(null)
}

function stateChanged4() 
{

if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
{ 
document.getElementById("txtHintemail4").innerHTML=xmlHttp2.responseText 
} 

} 
//////
function showemailAvailability5(str,field)
{ 
	xmlHttp2=GetXmlHttpObject()
		document.getElementById("txtHintemail5").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp2==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_reg_validation1.php"
		url=url+"?q="+str+"&fld="+field
		//alert(field);
		url=url+"&sid="+Math.random()
		xmlHttp2.onreadystatechange=stateChanged5
		xmlHttp2.open("GET",url,true)
		xmlHttp2.send(null)
}

function stateChanged5() 
{ 

if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
{ 
document.getElementById("txtHintemail5").innerHTML=xmlHttp2.responseText 
} 
} 
/////////
function showemailAvailability6(str,field)
{ 
	xmlHttp2=GetXmlHttpObject()
		document.getElementById("txtHintemail6").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp2==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_reg_validation1.php"
		url=url+"?q="+str+"&fld="+field
		//alert(field);
		url=url+"&sid="+Math.random()
		xmlHttp2.onreadystatechange=stateChanged6
		xmlHttp2.open("GET",url,true)
		xmlHttp2.send(null)
}

function stateChanged6() 
{ 

if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
{ 
document.getElementById("txtHintemail6").innerHTML=xmlHttp2.responseText 
} 
} 
/////
function showemailAvailability7(str,field)
{ 
	xmlHttp2=GetXmlHttpObject()
		document.getElementById("txtHintemail7").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp2==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_reg_validation1.php"
		url=url+"?q="+str+"&fld="+field
		//alert(field);
		url=url+"&sid="+Math.random()
		xmlHttp2.onreadystatechange=stateChanged7
		xmlHttp2.open("GET",url,true)
		xmlHttp2.send(null)
}

function stateChanged7() 
{ 

	
if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
{ 
document.getElementById("txtHintemail7").innerHTML=xmlHttp2.responseText 
} 
} 

//////

function showemailAvailability8(str,field)
{ 
	xmlHttp2=GetXmlHttpObject()
		document.getElementById("txtHintemail8").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp2==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_reg_validation1.php"
		url=url+"?q="+str+"&fld="+field
		//alert(field);
		url=url+"&sid="+Math.random()
		xmlHttp2.onreadystatechange=stateChanged8
		xmlHttp2.open("GET",url,true)
		xmlHttp2.send(null)
}

function stateChanged8() 
{ 

if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
{ 
document.getElementById("txtHintemail8").innerHTML=xmlHttp2.responseText 
} 
} 
////
function showemailAvailability9(str,field)
{ 
	xmlHttp2=GetXmlHttpObject()
		document.getElementById("txtHintemail9").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp2==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_reg_validation1.php"
		url=url+"?q="+str+"&fld="+field
		//alert(field);
		url=url+"&sid="+Math.random()
		xmlHttp2.onreadystatechange=stateChanged9
		xmlHttp2.open("GET",url,true)
		xmlHttp2.send(null)
}

function stateChanged9() 
{ 

	
if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
{ 
document.getElementById("txtHintemail9").innerHTML=xmlHttp2.responseText 
} 
} 

////////////
function showemailAvailability21(str,field)
{ 
	xmlHttp2=GetXmlHttpObject()
		document.getElementById("txtHintemail21").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp2==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_reg_validation1.php"
		url=url+"?q="+str+"&fld="+field
		//alert(field);
		url=url+"&sid="+Math.random()
		xmlHttp2.onreadystatechange=stateChanged21
		xmlHttp2.open("GET",url,true)
		xmlHttp2.send(null)
}

function stateChanged21() 
{ 
	
if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
{ 
document.getElementById("txtHintemail21").innerHTML=xmlHttp2.responseText 
} 
} 
////

function showemailAvailability22(str,field)
{ 
	xmlHttp2=GetXmlHttpObject()
		document.getElementById("txtHintemail21").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp2==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_reg_validation1.php"
		url=url+"?q="+str+"&fld="+field
		//alert(field);
		url=url+"&sid="+Math.random()
		xmlHttp2.onreadystatechange=stateChanged22
		xmlHttp2.open("GET",url,true)
		xmlHttp2.send(null)
}

function stateChanged22() 
{ 

	
if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
{ 
document.getElementById("txtHintemail21").innerHTML=xmlHttp2.responseText 
} 
} 
///
function showemailAvailability23(str,field)
{ 
	xmlHttp2=GetXmlHttpObject()
		document.getElementById("txtHintemail23").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp2==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_reg_validation1.php"
		url=url+"?q="+str+"&fld="+field
		//alert(field);
		url=url+"&sid="+Math.random()
		xmlHttp2.onreadystatechange=stateChanged23
		xmlHttp2.open("GET",url,true)
		xmlHttp2.send(null)
}

function stateChanged23() 
{ 

	
if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
{ 
document.getElementById("txtHintemail23").innerHTML=xmlHttp2.responseText 
} 
} 

//////

function showemailAvailability24(str,field)
{ 
	xmlHttp2=GetXmlHttpObject()
		document.getElementById("txtHintemai24").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp2==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_reg_validation1.php"
		url=url+"?q="+str+"&fld="+field
		//alert(field);
		url=url+"&sid="+Math.random()
		xmlHttp2.onreadystatechange=stateChanged24
		xmlHttp2.open("GET",url,true)
		xmlHttp2.send(null)
}

function stateChanged24() 
{ 

	
if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
{ 
document.getElementById("txtHintemai24").innerHTML=xmlHttp2.responseText 
} 
} 

/////
function showemailAvailability25(str,field)
{ 
	xmlHttp2=GetXmlHttpObject()
		document.getElementById("txtHintemai25").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp2==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_reg_validation1.php"
		url=url+"?q="+str+"&fld="+field
		//alert(field);
		url=url+"&sid="+Math.random()
		xmlHttp2.onreadystatechange=stateChanged25
		xmlHttp2.open("GET",url,true)
		xmlHttp2.send(null)
}

function stateChanged25() 
{ 

	
if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
{ 
document.getElementById("txtHintemai25").innerHTML=xmlHttp2.responseText 
} 
} 

////
function showemailAvailability26(str,field)
{ 
	xmlHttp2=GetXmlHttpObject()
		document.getElementById("txtHintemail26").innerHTML = "<img src='images/loading-animation_blau.gif'>";
		if (xmlHttp2==null)
		{
		alert ("Browser does not support HTTP Request")
		return
		} 
		var url="check_reg_validation1.php"
		url=url+"?q="+str+"&fld="+field
		//alert(field);
		url=url+"&sid="+Math.random()
		xmlHttp2.onreadystatechange=stateChanged26
		xmlHttp2.open("GET",url,true)
		xmlHttp2.send(null)
}

function stateChanged26() 
{ 

if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
{ 
document.getElementById("txtHintemail26").innerHTML=xmlHttp2.responseText 
} 
} 