Jumping Frames! YAY!

Hey! How do I write a path for this code from about_us.html to nav.html:

<script language = "JavaScript"><!--
function PassFlash(){
    window.document.ani_header.SetVariable("movie", "3");
}
//-->
</script>

about_us.html is on “mainframe” while nav.html is on “navframe”.

Thanks in advance!