blueprints: AJAX FAQ for the Java Developer: «function checkForMessage() {
// start AJAX interaction with processCallback as the callback function
}
// callback for the request
function processCallback() {
// do post processing
setTimeout(‘checkForMessage()’, 10000);
}»