Note: Updated to work on IE6. Dries pointed me to a nifty article which shows how to add rounded corners dynamically through JavaScript, without requiring images. While the idea is cool, the implementation was rather limited, as the corners still had to be specified in CSS by hand. So I modified it so the widths are calculated in the JavaScript instead. It now accepts any radius parameter and even