<?php wp_head(); ?>
Once that is done, all you need to do is to drop the plugin into the plugins folder and enable it. Download the plugin here.
I'd be very grateful if anyone has any critism about it, or how it could be improved. If not please raise a beer to my first wordpress plugin (and my 100th post).