  
  /*addLoadEvent Function here*/
  
  function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      oldonload();
      func();
    }
  }
}
  
  
  function curvyGo()
  {
      /*
      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: 5 },
          tr: { radius: 5 },
          bl: { radius: 5 },
          br: { radius: 5 },
          antiAlias: true,
          autoPad: false,
          validTags: ["div"]
      }
	  
	  var myClasses = new Array("curvyCorners");
	  for (var i=0; i<myClasses.length; i++) {
	  	var myBoxObject = new curvyCorners(settings, myClasses[i]);
		myBoxObject.applyCornersToAll();
	  }
	  
	  /*var dviname = document.getElementById("");
	  var dviname2 = document.getElementById("");
	  var dviname3 = document.getElementById("");
	  
      newCornersObj = new curvyCorners(settings, dviname, dviname2, dviname3);
      newCornersObj.applyCornersToAll();*/
}
 
 addLoadEvent(curvyGo);