// =============================================== // Copyright (c) 2006 // SWiSHzone.com Pty Ltd // SWiSH Guide and SWiSHzone.com are trademarks // of SWiSHzone.com Pty. Ltd. // =============================================== function startSync() { setTimeout('setSync()',1000); } function setSync() { self.setInterval('syncTOC()', 1000) } function syncTOC() { var curPage = parent.contentFrame.document.location; parent.navFrame.document.nav.SetVariable("/:pageURL",curPage); parent.navFrame.document.nav.TGotoLabel("/", "updateTOC"); } function gotoBlank() { parent.contentFrame.document.location.href = 'blank.htm'; } function startTOC() { parent.navFrame.document.nav.SetVariable("/:activeURL", "start"); } // Send from Top to LHS - next/prev buttons function gotoPage(cmd) { if (cmd == "next") { parent.navFrame.document.nav.TGotoLabel("/jumpController", "next"); } else if (cmd == "prev") { parent.navFrame.document.nav.TGotoLabel("/jumpController", "prev"); } } // enable buttons in top frame function bttnSetup(n) { // n = display mode // call frame in jsControl movieclip parent.topFrame.document.top.SetVariable("/jsControl:displayMode", n); parent.topFrame.document.top.TCallLabel("/jsControl", "bsetup"); } // activate sections function activateSection(section) { parent.navFrame.document.nav.SetVariable("/bttnController:section", section); parent.navFrame.document.nav.TCallLabel("/bttnController", "activate"); }