You'd have to look at the code used in either index.php or, better, forumdisplay.php to see how the forumids get handled. In forumdisplay.php, you can see that a forumid is passed and used. So, see how it gets used and see if you can rewrite that section for your own purposes (on another page, of course.... well, or maybe a plugin? Not sure...)