/* 
 * Javascript code to apply rounded corners to selected
 * CSS selectors
 *
 * Available functions:
 *  Rounded 			=> all corners
 *  RoundedTop		=> only top corners
 *  RoundedBottom	=> only bottom corners
 *
 * Accepted parameters:
 *  1. CSS Selector
 *  2. Which corner to round
 *  3. Outer color (background)
 *  4. Inner color 
 *  5. optional [smooth, small, border]
 *
 * Accepted CSS selectors:
 *  Tag selectors: 
 *    "p", "blockquote", "h2", "div"
 *  Id selectors: 
 *    "div#content", "p#news", "li#home"
 *  Class selectors with specified Tag of the element:
 *    "div.entry", "h2.highlight", "td.odd"
 *  Descendant selectors, with some limitation (have to be composed by
 *  an Id selector followed by a Tag selector:
 *    "div#news div", "ul#menu li"
 */
 
window.onload=function(){
if(!NiftyCheck())
	return;
/* Rounded("div#mainnav","all", "#fff","#eac117", "small" ); */
Rounded("div.box", "all", "#fff", "#e5ecf9");
Rounded("div#mainnav","all", "#fff","#36f", "small" );
Rounded("div#banner","all", "#FFF","#000" );
Rounded("div#simpleform", "all", "#fff", "#c0cdf2", "small" );
/* Rounded("div.table", "all", "#eee", "#fff");*/
Rounded("div.set", "all", "#fff","#e5ecf9");
Rounded("div.gray", "all", "#fff", "#eee");
Rounded("div.gold", "all", "#fff", "#eac117");
Rounded("label", "all", "#e5ecf9","#FFF","small");
Rounded("div#papers div", "all", "#fff", "#e5ecf9");
Rounded("div.controls", "all", "#fff", "#eee");
Rounded("div.graphic", "all", "#eee", "#fff");
Rounded("div#alignment", "all", "#fff", "#eee");
Rounded("div#blast", "all", "#fff", "#eee");
Rounded("div.questions", "all", "#fff", "#e5ecf9");
Rounded("div.answers", "all", "#fff", "#eee");
Rounded("div#news", "all", "#fff", "#e5ecf9");
Rounded("div.warning", "all", "#e5ecf9", "#f49455");
}

/*
 vim:ts=2:number:nowrap
 */
