This solves some common problems with automatic cursor placement. To see the code, "View Source" in your browser.
-- Mitchell Evan -- Evan Media