is XService.poll a 'function' and 'XService.pollInterval' a number at that specific time?
Edit: Since you posted the code just now..
setInterval(
function() {
XService.poll();
}, XService.pollInterval
);
meder
2009-09-18 20:35:48