Hi all! Thanks for your answers! I think that the "config.$lastexpanded is undefined"-error might be the problem. But does anyone know why the error survives a pagereload a cacheclear and the closing of the browsertab? I think this is really strange, when the page gets reloaded the script should start working again! eva