How to stop flash menu and header to replay every time?

I have bought a flash template on the web. This template includes an animated header and an horizontal menu. I have changed text buttons and assigned links with geturl function. Works fine but I don’t want to replay the full header (except for home) everytime I click on a menu button. How can I do this ? Thanks for your help

on (rollOver)
{
if (_root.link != 1)
{
this.gotoAndPlay(“s1”);
} // end if
}
on (releaseOutside, rollOut)
{
if (_root.link != 1)
{
this.gotoAndPlay(“s2”);
} // end if
}
on (release)
{
if (_root.link != 1)
{
_parent[“item” + _root.link].gotoAndPlay(“s2”);
_root.link = 1;
} // end if
getURL(“index.html”, “”);
}