<html>
<body>
<script language="JavaScript"> function function1() {
history.forward();
}
</script>
<a href="http://www.java2java.com">Open a new document to build the history object</a>
<input type="button" value="Go forward" onclick="function1();">
</body>
</html>