jsfiddle/OpenLayers.debug.js
function(theDiv, options) {

        var topRico = theDiv.parentNode.childNodes[0];
        //theDiv would be theDiv.parentNode.childNodes[1]
        var bottomRico = theDiv.parentNode.childNodes[2];
       
        theDiv.parentNode.removeChild(topRico);
        theDiv.parentNode.removeChild(bottomRico); 

        this.round(theDiv.parentNode, options);
    }
function(theDiv, options) {

        var topRico = theDiv.parentNode.childNodes[0];
        //theDiv would be theDiv.parentNode.childNodes[1]
        var bottomRico = theDiv.parentNode.childNodes[2];
       
        theDiv.parentNode.removeChild(topRico);
        theDiv.parentNode.removeChild(bottomRico); 

        this.round(theDiv.parentNode, options);
    }
function ( theDiv , options ) { var topRico = theDiv . parentNode . childNodes [ 0 ] ; //theDiv would be theDiv.parentNode.childNodes[1] var bottomRico = theDiv . parentNode . childNodes [ 2 ] ; theDiv . parentNode . removeChild ( topRico ) ; theDiv . parentNode . removeChild ( bottomRico ) ; this . round ( theDiv . parentNode , options ) ; }
this function takes care of redoing the rico cornering

you can't just call updateRicoCorners() again and pass it a
new options string. you have to first remove the divs that
rico puts on top and below the content div.

@param {DOM} theDiv - A child of the outer <div> that was
supplied to the `round` method.

@param {Object} options - list of options
this function takes care of redoing the rico cornering