
 function createcurveycorners()
  {
      
      /*
      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.
      */
      settings = {
          tl: { radius: 8 },
          tr: { radius:8 },
          bl: { radius: 8 },
          br: { radius: 8 },
          antiAlias: true,
          autoPad: true,
          validTags: ["div"]
      }
      settingsCurveMore = {
          tl: { radius: 20 },
          tr: { radius:20 },
          bl: { radius: 20 },
          br: { radius: 20 },
          antiAlias: true,
          autoPad: true,
          validTags: ["div"]
      }
      
      settingsCurveMoreTopOnly = {
          tl: { radius: 20 },
          tr: { radius:20 },
          bl: { radius: 3 },
          br: { radius: 3 },
          antiAlias: true,
          autoPad: true,
          validTags: ["div"]
      }
      
      settingsTopOnly = {
          tl: { radius: 13 },
          tr: { radius:13 },
          bl: { radius: 3 },
          br: { radius: 3 },
          antiAlias: true,
          autoPad: true,
          validTags: ["div"]
      }
       settingsHeader = {
          tl: { radius: 5 },
          tr: { radius: 5 },
          bl: { radius: 0 },
          br: { radius: 0 },
          antiAlias: true,
          autoPad: true,
          validTags: ["div"]
      }
      settingsFooter = {
          tl: { radius: 0 },
          tr: { radius: 0 },
          bl: { radius: 5 },
          br: { radius: 5 },
          antiAlias: true,
          autoPad: true,
          validTags: ["div"]
      }

      /*
      Usage:

      newCornersObj = new curvyCorners(settingsObj, classNameStr);
      newCornersObj = new curvyCorners(settingsObj, divObj1[, divObj2[, divObj3[, . . . [, divObjN]]]]);
      */
      var myBoxObject = new curvyCorners(settings, "myBox");
      myBoxObject.applyCornersToAll();
      
      var myBoxHeaderObject = new curvyCorners(settingsHeader, "myBoxHeader");
      myBoxHeaderObject.applyCornersToAll();
      
      var myBoxFooterObject = new curvyCorners(settingsFooter, "myBoxFooter");
      myBoxFooterObject.applyCornersToAll();
      
      var myWhiteBoxTopObject = new curvyCorners(settingsTopOnly, "myWhiteBoxTopOnly");
      myWhiteBoxTopObject.applyCornersToAll();
      
      //myWhiteBoxTopOnlyForFooter
       var myWhiteBoxTopObjectForFooter = new curvyCorners(settingsTopOnly, "myWhiteBoxTopOnlyForFooter");
      myWhiteBoxTopObjectForFooter.applyCornersToAll();
      
      var myWhiteBoxObject = new curvyCorners(settingsTopOnly, "myWhiteBox");
      myWhiteBoxObject.applyCornersToAll();
      
       var myWhiteBox1Object = new curvyCorners(settingsTopOnly, "myWhiteBox1");
      myWhiteBox1Object.applyCornersToAll();
      
      var myBoxWhiteHeaderObject = new curvyCorners(settingsHeader, "myBoxWhiteHeader");
      myBoxWhiteHeaderObject.applyCornersToAll();
      
      //
       var myBoxWhiteCurveMoreObject = new curvyCorners(settingsCurveMoreTopOnly, "myWhiteBoxDH");
      myBoxWhiteCurveMoreObject.applyCornersToAll();
      
      //myBoxWhiteHeader
  }
  

