I have tested the class using the function geoGetDistance and it works. I think the problem is near "<body onload=onload()>". I am now trying to get some php_error information.
Do you have another idea?