//addEvent(window, 'load', initCorners);
jQuery(document).ready(function() {
  	initCorners();
		
});

function initCorners() {
	    var settings = {
	      tl: { radius: 0 },
	      tr: { radius: 10 },
	      bl: { radius: 30 },
	      br: { radius: 0 },
	      antiAlias: true
	    }
	
	   /* 
    Usage:

    curvyCorners(settingsObj, selectorStr);
    curvyCorners(settingsObj, Obj1[, Obj2[, Obj3[, . . . [, ObjN]]]]);

    selectorStr ::= complexSelector [, complexSelector]...
    complexSelector ::= singleSelector[ singleSelector]
    singleSelector ::= idType | classType
    idType ::= #id
    classType ::= [tagName].className
    tagName ::= div|p|form|blockquote|frameset // others may work
    className : .name
    selector examples:
      #mydiv p.rounded
      #mypara
      .rounded
    */
    curvyCorners(settings, ".rounded_transparent, .rounded_untransparent");
}    
