add a new function to the very end of your code -
PHP Code:
// <snipped the previous code for brevity>
}
this.onEnterFrame = function() {
scrollButtons();
}; 
// this line was the end of your code

// now add the new function here
function openLink(mc,iVar){
mc.onRelease = function(){
closeMenu();
mc.gotoAndStop(1);
getURL(menu[iVar]+".html""_blank");
}
}; 
PHP Code:
// completely remove these lines of code -
b.onPress = function() {
closeMenu();
getURL(this.page+".html""_blank"); 
this.gotoAndStop(1);
};

// and in its place, add -
openLink(b,i);