/**
* DD_roundies, this adds rounded-corner CSS in standard browsers and VML sublayers in IE that accomplish a similar appearance when comparing said browsers.
* Author: Drew Diller
* Email: drew.diller@gmail.com
* URL: http://www.dillerdesign.com/experiment/DD_roundies/
* Version: 0.0.2a -  preview 2008.12.26
* Licensed under the MIT License: http://dillerdesign.com/experiment/DD_roundies/#license
*
* Usage:
* DD_roundies.addRule('#doc .container', '10px 5px'); // selector and multiple radii
* DD_roundies.addRule('.box', 5, true); // selector, radius, and optional addition of border-radius code for standard browsers.
* 
* Just want the PNG fixing effect for IE6, and don't want to also use the DD_belatedPNG library?  Don't give any additional arguments after the CSS selector.
* DD_roundies.addRule('.your .example img');
**/
//extended DD_roundies to add rules to UI corner classes
$.uicornerfix = function(r){
	DD_roundies.addRule('.ui-corner-all', r);
	DD_roundies.addRule('.ui-corner-top', r+' '+r+' 0 0');
	DD_roundies.addRule('.ui-corner-bottom', '0 0 '+r+' '+r);
	DD_roundies.addRule('.ui-corner-right', '0 '+r+' '+r+' 0');
	DD_roundies.addRule('.ui-corner-left', r+' 0 0 '+r);
	DD_roundies.addRule('.ui-corner-tl', r+' 0 0 0');
	DD_roundies.addRule('.ui-corner-tr', '0 '+r+' 0 0');
	DD_roundies.addRule('.ui-corner-br', '0 0 '+r+' 0');
	DD_roundies.addRule('.ui-corner-bl', '0 0 0 '+r);
};
