Main functions for emacs-w3 on all platforms/versions