$(document).ready(function() {
	
curvyCorners.addEvent(window, 'load', initCorners);

 function initCorners() {
   var settings = {
     tl: { radius: 4 },
     tr: { radius: 4 },
     bl: { radius: 4 },
     br: { radius: 4 },
     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, ".round");
 }
});
