Hello everybody.

I have this code to activate and deactivate buttons in a menu.
The code works fine but there's one little thing.

When you click on a button it changes it colors and other things, and also it deactivates itself so can't click on it again. But I want to be able to click on the active button so it can take back to it's main page.

The reason why I need this is because this buttons are inside an HTML site and I need to be able to refresh the site by re-clicking on the button...

Here's the code I have:

PHP Code:
var myButtons = [this.b1this.b2this.b3];
var 
myColors = [colorB1colorB2colorB3];
var 
myUrls = [url1url2url3];

for (var 
i=0i<myButtons.lengthi++){
    
myButtons[i].onRollOver = function() {
        
this.btnIZQ.colorTo(myColors[substring(this._name2,1) -1], .5);
        
this.btnCTR.colorTo(myColors[substring(this._name2,1) -1], .5);
        
this.btnDER.colorTo(myColors[substring(this._name2,1) -1], .5);
    };
    
myButtons[i].onRollOut = function() {
        
this.btnIZQ.colorTo(colorBase1);    
        
this.btnCTR.colorTo(colorBase1);    
        
this.btnDER.colorTo(colorBase1);    
    };
    
myButtons[i].onPress = function() {
        
this._parent.activateItem(this);
        
this.getURL(myUrls[substring(this._name2,1) -1], "_self");
    }
}
        
this.activateItem = function(item) {
    for (var 
i=0i<myButtons.lengthi++){
        
this.currentItem.enabled false;
        
myButtons[i].btnIZQ.colorTo(colorBase0);
        
myButtons[i].btnCTR.colorTo(colorBase0);
        
myButtons[i].btnDER.colorTo(colorBase0);
    }
    if (
this.currentItem != falsethis.deActivateItem();
    
this.currentItem item;
    var 
numColor substring(this.currentItem._name2,1) -1;
    
_global.lastClickedColor myColors[numColor];
    
myButtons[numColor].btnIZQ.colorTo(lastClickedColor1);
    
myButtons[numColor].btnCTR.colorTo(lastClickedColor1);
    
myButtons[numColor].btnDER.colorTo(lastClickedColor1);
    
this.currentItem.enabled false;
    }
    
    
this.deActivateItem = function() {
    
this.currentItem.enabled true
    
this.currentItem undefined;
};


activateItem(b1); 
Anyone?
Thanks in advance