Have

JS changeContent script in index.html:

<SCRIPT LANGUAGE="JavaScript">
<!--
function changeContent(menu){
if(menu==1){
document.getElementById('main').style.display='blo ck';
document.getElementById('about').style.display='no ne';
document.getElementById('course').style.display='n one';
document.getElementById('contacts').style.display= 'none';
}else if(menu==2){
document.getElementById('main').style.display='non e';
document.getElementById('about').style.display='bl ock';
document.getElementById('course').style.display='n one';
document.getElementById('contacts').style.display= 'none';
}else if(menu==3){
document.getElementById('main').style.display='non e';
document.getElementById('about').style.display='no ne';
document.getElementById('course').style.display='b lock';
document.getElementById('contacts').style.display= 'none';
}else if(menu==4){
document.getElementById('main').style.display='non e';
document.getElementById('about').style.display='no ne';
document.getElementById('course').style.display='n one';
document.getElementById('contacts').style.display= 'block';
}
}
//-->
</SCRIPT>
how correct put changecontent link in Flash menu Action, at the moment in my template i have this, but it linked to new page:

on (release) {
if (_root.link<>num) {
_parent["item"+_root.link].gotoAndPlay("s2");
_root.link = num;
getURL("index-3.html");
}