def isPageChanging(timeout):
    """
    Has page changed within the given `timeout`, in milliseconds, and are
    there no XMLHTTP requests active?
    """
    return '\nreturn window._gossamerIsPageChanging(%s);\n' % timeout
