var xmlHttp

function showUserBike(str)
{ 

xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var url="getuser_bike.php"
url=url+"?ownMotorcycle="+str
url=url+"&sid="+Math.random()
xmlHttp.onreadystatechange=stateChangedBike 
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
}
/*function showPhone(str)
{ 
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var url="getuser.php"
url=url+"?phone="+str
url=url+"&sid="+Math.random()
xmlHttp.onreadystatechange=stateChanged 
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
}*/


function stateChangedBike() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("txtHintBike").innerHTML=xmlHttp.responseText 
 } 
}


