code samples to the service-entrance protocol used spidering for web2.0/ajax applications