Javacript to hide/show Lectora button87

Hi,We always used to call a small customised JavaScript in order to hide and show Lectora's back and next button (which are button87 and button88). We then triggered th eJavaScript from Flash.The way the navigation is coded in Lectora 2005 seems slightly different to Lectora 2004 and our JavaScript doesn't work anymore.Could anyone help me how to adapt the below script, so that it still triggers the Lectora buttons in the 2005 code? Thanks!function hideButton(num) { switch(num){ case "1": document.getElementById("butto n88").style.display = "block"; document.getElementById("butto n87").style.display = "block"; break; case "2": document.getElementById("butto n88").style.display = "block"; document.getElementById("butto n87").style.display = "none"; break; case "3": document.getElementById("butto n88").style.display = "none"; document.getElementById("butto n87").style.display = "block"; break; case "4": document.getElementById("butto n88").style.display = "none"; document.getElementById("butto n87").style.display = "none"; break; }

Discussions have been disabled for this post