function setCorners() { /* The new 'validTags' setting is optional and allows you to specify other HTML elements that curvyCorners can attempt to round. The value is comma separated list of html elements in lowercase. validTags: ["div", "form"] The above example would enable curvyCorners on FORM elements. */ settings1 = { tl: { radius: 7 }, tr: { radius: 7 }, bl: { radius: 7 }, br: { radius: 7 }, antiAlias: true, autoPad: false, validTags: ["div"] } bottomRound = { tl: { radius: 1 }, tr: { radius: 1 }, bl: { radius: 7 }, br: { radius: 7 }, antiAlias: true, autoPad: false, validTags: ["div"] } /* Usage: newCornersObj = new curvyCorners(settingsObj, classNameStr); newCornersObj = new curvyCorners(settingsObj, divObj1[, divObj2[, divObj3[, . . . [, divObjN]]]]); */ var myBoxObject1 = new curvyCorners(settings1, "podWhite"); myBoxObject1.applyCornersToAll(); var myBoxObject2 = new curvyCorners(settings1, "podItem"); myBoxObject2.applyCornersToAll(); var myBoxObject3 = new curvyCorners(settings1, "podNav"); myBoxObject3.applyCornersToAll(); var myBoxObject5 = new curvyCorners(bottomRound, "panel"); myBoxObject5.applyCornersToAll(); }