var candeias = Class.create();

candeias.prototype =({
    initialize : function(){
        this.elem = '';
        this.pass = true;
    },
    
    toogleplans : function(show){
        if(show != this.elem && this.pass){
            this.pass = false;
            
            if(this.elem != '')
                $(this.elem).hide();
                
            $(show).show();
            /*new Effect.Fade(this.elem, {duration: 0.4, afterFinish : function(){ 
                new Effect.Appear(show, {duration: 0.4})
                cass.pass = true;    
            }}); */
            this.elem = show;
            this.pass = true;
        }
    }    
})