Focused is a project mainly written in JavaScript, it's free.
jQuery Plugin to track the currently focused element
NOTE - this plugin is for DEMONSTRATION PURPOSES ONLY
Based on Lars Gersman's work, http://plugins.jquery.com/project/focused, but updated now that jQuery 1.4 has ".live"
Uses a simplifed version of the ":focusable" selector from jQuery UI