function curvyCorners2()
  {
      // Check parameters
      if(typeof(arguments[0]) != "object") throw newCurvyError("First parameter of curvyCorners() must be an object.");
      if(typeof(arguments[1]) != "object" && typeof(arguments[1]) != "string") throw newCurvyError("Second parameter of curvyCorners() must be an object or a class name.");

      // Get object(s)
      if(typeof(arguments[1]) == "string")
      {
          // Get elements by class name
          var startIndex = 0;
          var boxCol = getElementsByClass(arguments[1]);
      }
      else
      {
          // Get objects
          var startIndex = 1;
          var boxCol = arguments;
      }

      // Create return collection/object
      var curvyCornersCol = new Array();

      // Create array of html elements that can have rounded corners
      if(arguments[0].validTags)
        var validElements = arguments[0].validTags;
      else
        var validElements = ["div"]; // Default

      // Loop through each argument
      for(var i = startIndex, j = boxCol.length; i < j; i++)
      {
          // Current element tag name
          var currentTag = boxCol[i].tagName.toLowerCase();

          if(inArray(validElements, currentTag) !== false)
          {
              curvyCornersCol[curvyCornersCol.length] = new curvyObject(arguments[0], boxCol[i]);
          }
      }

      this.objects = curvyCornersCol;

      // Applys the curvyCorners to all objects
      this.applyCornersToAll = function()
      {
          for(var x = 0, k = this.objects.length; x < k; x++)
          {
              this.objects[x].applyCorners();
          }
      }
}

window.onload = function()
  {
    settings1 = {
      tl: { radius: 4 },
      tr: { radius: 4 },
      bl: { radius: 10 },
      br: { radius: 10 },
      antiAlias: true,
      autoPad: false
    } 
  
    settings2 = {
      tl: { radius: 4 },
      tr: { radius: 4 },
      bl: { radius: 4 },
      br: { radius: 4 },
      antiAlias: true,
      autoPad: false
    } 

    var divObj1 = document.getElementById("leftwrapper");
    var divObj2 = document.getElementById("today");
    var divObj3 = document.getElementById("info");
    var divObj4 = document.getElementById("twittert");

    var cornersObj = new curvyCorners(settings1, divObj1);
    var cornersObj2 = new curvyCorners2(settings2, divObj2, divObj3, divObj4);
	
    cornersObj.applyCornersToAll();
    cornersObj2.applyCornersToAll();

/*
 * pager
 */
	$("#infocap").pager("p", {
	navAttach: "append",
	height: "10em",
	linkText: ['new', '-1', '-2', '-3', '-4', '-5', '-6', '-7', '-8', '-9', '-10']
	});
  }
  