/*window.onload = function()
{*/

function curvcorners()
{
  mainSettings = {
    tl: false,
    tr: false,
    bl: false,
    br: false,
    antiAlias: true,
    autoPad: true
  }

  var divObj = document.getElementById("main");

  var cornersObj = new curvyCorners(mainSettings, divObj);
  cornersObj.applyCornersToAll();


  homeAnchorSettings = {
    tl: false,
    tr: false,
    bl: false,
    br: false,
    antiAlias: true,
    autoPad: true
  }

	var otherCornersObj = new curvyCorners(homeAnchorSettings, "home_anchor");
	otherCornersObj.applyCornersToAll();
	
	featureSettings = {
    tl: false,
    tr: false,
    bl: false,
    br: false,
    antiAlias: true,
    autoPad: true
  }

	var otherCornersObj = new curvyCorners(featureSettings, "home_feature");
	otherCornersObj.applyCornersToAll();
	
	
}

/*addEvent(window, "load", curvcorners);*/