 window.onload = function() {
    if (!NiftyCheck()) {
      return;
    }

       RoundedTop("div#menu li","#660000","#FFFFFF",5,5);
       Rounded("div#operation_name","#FFFFFF","#660000",10,10);
       
   
  }

  function adjustRadius() {
    d = getElementsBySelector("div.rounded");
    for (var i = 0; i < d.length; ++i) {
      d[i].parentNode.removeChild(d[i]);
    }
    var x = document.getElementById("radiusx").value;
    var y = document.getElementById("radiusy").value;

    return false;
  }
  function adjustLayout(container,left,right)
{
  // Get natural heights
  var cHeight = xHeight(container);
  var lHeight = xHeight(left);
  var rHeight = xHeight(right);

  // Find the maximum height
  var maxHeight =
    Math.max(cHeight, Math.max(lHeight, rHeight));

  // Assign maximum height to all columns
  xHeight(container, maxHeight);
  xHeight(left, maxHeight);
  xHeight(right, maxHeight);
 
}
