Footnotes in XHTML and CSS

Just came across a very good link for inserting footnotes in web pages. This is extremely useful pages publishing researches and articles. Take a look: Format Sidenotes with Javascript and CSS.