Highlighting current page in nav

Can anyone help me with this problem. I want to highlight the current page in my navigation.

I have the code below (duplicated for each button on the page) which changes the colour of the text in the nav when you rollover and then back when you rollout. I’d like to have the text stay on the rollover colour if it is the current page.

I’ve been messing around with variables and have added the bit onto the onRelease function which displays the “page” variable in a dynamic text box. This works fine, but I’m now stuck on how to use this variable, everything I’ve tried hasn’t worked.

I can understand the principle of what I want to do as I can do it in PHP or CSS. I need some kind of conditional statement, for example (in laymans terms):

if page equals 1 then make text colour red
or if page equals 2 then make text colour red
and so on…

var up = "0xC5B9B3";
var over = "0xC6006F";

_root.nav.button_1.onRollOut = function() {
    _root.nav.button_1.dyntext_1.textColor = (up);
}
_root.nav.button_1.onRollOver = function() {
    _root.nav.button_1.dyntext_1.textColor = (over);
}
_root.nav.button_1.onRelease = function() {
    var page = "1";
    _root.message_txt.text = page;
    gotoAndPlay("1");
}